~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/ASTCache.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2013-10-03 20:30:16 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131003203016-d4ug6l0xgosasumq
Tags: 8.2.1-1
* New upstream release.
* Updated autotools documentation sources.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        private static final boolean DEBUG= "true".equalsIgnoreCase(Platform.getDebugOption("org.eclipse.cdt.core/debug/ASTCache"));  //$NON-NLS-1$//$NON-NLS-2$
40
40
        private static final String DEBUG_PREFIX= "[ASTCache] "; //$NON-NLS-1$
41
41
 
42
 
        /** Full parse mode (no PDOM) */
43
 
        public static int PARSE_MODE_FULL = ITranslationUnit.AST_CONFIGURE_USING_SOURCE_CONTEXT
44
 
                        | ITranslationUnit.AST_SKIP_TRIVIAL_EXPRESSIONS_IN_AGGREGATE_INITIALIZERS
45
 
                        | ITranslationUnit.AST_PARSE_INACTIVE_CODE;
46
 
 
47
42
        /** Fast parse mode (use PDOM) */
48
 
        public static int PARSE_MODE_FAST = ITranslationUnit.AST_SKIP_ALL_HEADERS
 
43
        public static int PARSE_MODE = ITranslationUnit.AST_SKIP_ALL_HEADERS
49
44
                        | ITranslationUnit.AST_CONFIGURE_USING_SOURCE_CONTEXT
50
45
                        | ITranslationUnit.AST_SKIP_TRIVIAL_EXPRESSIONS_IN_AGGREGATE_INITIALIZERS
51
46
                        | ITranslationUnit.AST_PARSE_INACTIVE_CODE;
86
81
         * Create a new AST cache.
87
82
         */
88
83
        public ASTCache() {
89
 
                fParseMode= PARSE_MODE_FAST;
 
84
                fParseMode= PARSE_MODE;
90
85
        }
91
86
 
92
87
        /**