/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 646 ASTUnit &AST, bool CaptureDiagnostics) { in ConfigureDiags() argument 649 Diags->setClient(new StoredDiagnosticConsumer(AST.StoredDiagnostics)); in ConfigureDiags() 659 std::unique_ptr<ASTUnit> AST(new ASTUnit(true)); in LoadFromASTFile() local 663 ASTUnitCleanup(AST.get()); in LoadFromASTFile() 668 ConfigureDiags(Diags, *AST, CaptureDiagnostics); in LoadFromASTFile() 670 AST->OnlyLocalDecls = OnlyLocalDecls; in LoadFromASTFile() 671 AST->CaptureDiagnostics = CaptureDiagnostics; in LoadFromASTFile() 672 AST->Diagnostics = Diags; in LoadFromASTFile() 674 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile() 675 AST->UserFilesAreVolatile = UserFilesAreVolatile; in LoadFromASTFile() [all …]
|
/external/clang/ |
D | clang-tblgen-rules.mk | 25 LOCAL_GENERATED_SOURCES += $(generated_sources)/include/clang/AST/AttrDump.inc 26 $(generated_sources)/include/clang/AST/AttrDump.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) 27 $(generated_sources)/include/clang/AST/AttrDump.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td… 32 LOCAL_GENERATED_SOURCES += $(generated_sources)/include/clang/AST/AttrImpl.inc 33 $(generated_sources)/include/clang/AST/AttrImpl.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) 34 $(generated_sources)/include/clang/AST/AttrImpl.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td… 74 LOCAL_GENERATED_SOURCES += $(generated_sources)/include/clang/AST/Attrs.inc 75 $(generated_sources)/include/clang/AST/Attrs.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) 76 $(generated_sources)/include/clang/AST/Attrs.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(… 88 LOCAL_GENERATED_SOURCES += $(generated_sources)/include/clang/AST/AttrVisitor.inc [all …]
|
/external/clang/docs/ |
D | IntroductionToTheClangAST.rst | 2 Introduction to the Clang AST 6 AST. It is targeted at developers who either want to contribute to 7 Clang, or use tools that work based on Clang's AST, like the AST 19 Clang's AST is different from ASTs produced by some other compilers in 22 constants are available in an unreduced form in the AST. This makes 23 Clang's AST a good fit for refactoring tools. 25 Documentation for all Clang AST nodes is available via the generated 28 make a search for clang and the AST node's class name usually turn up 32 Examining the AST 35 A good way to familarize yourself with the Clang AST is to actually look [all …]
|
D | PCHInternals.rst | 60 headers to save a serialized AST file (one per module) and use those AST 65 AST file format required for modules are discussed in the section on 68 Clang's AST files are designed with a compact on-disk representation, which 69 minimizes both creation time and the time required to initially load the AST 70 file. The AST file itself contains a serialized representation of Clang's 75 Clang's AST files are loaded "lazily" from disk. When an AST file is initially 76 loaded, Clang reads only a small amount of data from the AST file to establish 78 this initial load is independent of the size of the AST file, such that a 79 larger AST file does not lead to longer AST load times. The actual header data 80 in the AST file --- macros, functions, variables, types, etc. --- is loaded [all …]
|
D | LibASTMatchers.rst | 2 Matching the Clang AST 6 nodes of the AST and execute code that uses the matched nodes. Combined with 10 We assume basic knowledge about the Clang AST. See the :doc:`Introduction 11 to the Clang AST <IntroductionToTheClangAST>` if you want to learn more 12 about how the AST is structured. 20 Clang's AST. This DSL is written in and can be used from C++, allowing users 21 to write a single program to both match AST nodes and access the node's C++ 23 provided on the AST level. 25 AST matchers are predicates on nodes in the AST. Matchers are created by 30 in the AST of a translation unit, you can call `recordDecl() [all …]
|
D | RAVFrontendAction.rst | 9 a RecursiveASTVisitor to find CXXRecordDecl AST nodes with a specified 18 actions as part of the compilation. To run tools over the AST clang 38 ASTConsumer is an interface used to write generic actions on an AST, 39 regardless of how the AST was produced. ASTConsumer provides many 50 // will visit all nodes in the AST. 62 RecursiveASTVisitor to extract the relevant information from the AST. 65 VisitNodeType(NodeType \*) for most AST nodes; the exception are TypeLoc 78 // For debugging, dumping the AST nodes will show which nodes are already 83 // Return false to stop the traversal of the AST. 89 of the Clang AST to drill through to the parts that are interesting for [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | AliasSetTracker.h | 84 AliasSet *getAliasSet(AliasSetTracker &AST) { in getAliasSet() argument 88 AS = OldAS->getForwardedTarget(AST); in getAliasSet() 90 OldAS->dropRef(AST); in getAliasSet() 150 void dropRef(AliasSetTracker &AST) { in dropRef() argument 153 removeFromTracker(AST); in dropRef() 178 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST); 242 AliasSet *getForwardedTarget(AliasSetTracker &AST) { 245 AliasSet *Dest = Forward->getForwardedTarget(AST); 248 Forward->dropRef(AST); 254 void removeFromTracker(AliasSetTracker &AST); [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | PromoteMemoryToRegister.cpp | 229 AliasSetTracker *AST; member 272 AliasSetTracker *AST, AssumptionCache *AC) in PromoteMem2Reg() 275 AST(AST), AC(AC) {} in PromoteMem2Reg() 339 AliasSetTracker *AST) { in rewriteSingleStoreAlloca() argument 391 if (AST && LI->getType()->isPointerTy()) in rewriteSingleStoreAlloca() 392 AST->deleteValue(LI); in rewriteSingleStoreAlloca() 413 if (AST) in rewriteSingleStoreAlloca() 414 AST->deleteValue(AI); in rewriteSingleStoreAlloca() 438 AliasSetTracker *AST) { in promoteSingleBlockAlloca() argument 484 if (AST && LI->getType()->isPointerTy()) in promoteSingleBlockAlloca() [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/ |
D | LangParser.m | 46 /* AST returnScope.synthesize */ 59 /* AST returnScope.methods */ 86 /* AST returnScope.synthesize */ 99 /* AST returnScope.methods */ 126 /* AST returnScope.synthesize */ 139 /* AST returnScope.methods */ 181 /* AST genericParser.synthesize */ 182 /* AST parserProperties */ 214 /* AST genericParser.init */ 222 /* AST genericParser.dealloc */ [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | AST.stg | 29 /* AST parserHeaderFile.memVars */ 32 <@super.memVars()> /* AST super.memVars */ 33 <parserMemVars()> /* AST parserMemVars */ 37 /* AST parserHeaderFile.properties */ 38 <@super.properties()> /* AST super.properties */ 39 <parserProperties()> /* AST parserproperties */ 43 /* AST parserHeaderFile.methodsDecl */ 44 <@super.methodsDecl()> /* AST super.methodsDecl */ 45 <parserMethodsDecl()> /* AST parsermethodsDecl */ 49 /* AST genericParser.synthesize */ [all …]
|
D | ASTParser.stg | 46 // TOKEN AST STUFF 48 /** ID and output=AST */ 58 /* ID! and output=AST (same as plain tokenRef) */ 62 /** ID^ and output=AST */ 71 /** ids+=ID! and output=AST */ 78 /** label+=TOKEN when output=AST but not rewrite alt */ 85 /** Match label+=TOKEN^ when output=AST but not rewrite alt */ 92 // SET AST 130 // RULE REF AST 132 /** rule when output=AST */ [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/ |
D | TreeRewriteParser.m | 44 /* AST returnScope.synthesize */ 57 /* AST returnScope.methods */ 84 /* AST returnScope.synthesize */ 97 /* AST returnScope.methods */ 139 /* AST genericParser.synthesize */ 140 /* AST parserProperties */ 171 /* AST genericParser.init */ 179 /* AST genericParser.dealloc */ 190 /* AST genericParser.methods */ 191 /* AST parserMethods */ [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | ASTParser.stg | 18 // TOKEN AST STUFF 20 /** ID and output=AST */ 29 /** ID! and output=AST (same as plain tokenRef) */ 32 /** ID^ and output=AST */ 41 /** ids+=ID! and output=AST */ 47 /** label+=TOKEN when output=AST but not rewrite alt */ 53 /** Match label+=TOKEN^ when output=AST but not rewrite alt */ 59 // SET AST 92 // RULE REF AST 94 /** rule when output=AST */ [all …]
|
/external/clang/include/clang/ |
D | module.modulemap | 12 umbrella "AST" 14 textual header "AST/BuiltinTypes.def" 15 textual header "AST/TypeLocNodes.def" 16 textual header "AST/TypeNodes.def" 62 module AST { header "AST/ASTDiagnostic.h" export * } 63 module Comment { header "AST/CommentDiagnostic.h" export * } 129 // FIXME: Exclude this header to avoid pulling all of the AST matchers 131 // importing the AST matchers library gives a link dependency on the AST 132 // matchers (and thus the AST), which clang-format should not have.
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/ |
D | ReplaceIcuTags.java | 22 import org.eclipse.jdt.core.dom.AST; 38 AST ast = tag.getAST(); in visitTagElement() 70 private static TagElement createIcuEnhancementText(AST ast, IDocElement fragment) { in createIcuEnhancementText() 76 private static TagElement createIcuUsageText(AST ast) { in createIcuUsageText() 83 private static TagElement createIcuNoteText(AST ast) { in createIcuNoteText() 87 private static TagElement createIcuMarker(AST ast) { in createIcuMarker()
|
/external/clang/include/clang/Basic/ |
D | DiagnosticSerializationKinds.td | 11 let CategoryName = "AST Deserialization Issue" in { 18 "malformed or corrupted AST file: '%0'">, DefaultFatal; 35 "%select{AST file|current translation unit}0 was compiled with the target " 36 "feature'%1' but the %select{current translation unit is|AST file was}0 " 59 "%select{PCH|module|AST}0 file '%1' not found%select{|: %3}2">, DefaultFatal; 61 "%select{PCH|module|AST}0 file '%1' is out of date and " 64 "file '%1' is not a valid precompiled %select{PCH|module|AST}0 file">, DefaultFatal; 68 "AST file '%0' was not built as a module">, DefaultFatal; 71 "module '%0' in AST file '%1' (imported by AST file '%2') " 75 "module '%0' imported by AST file '%1' found in a different module map file" [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | ASTParser.stg | 54 // TOKEN AST STUFF 56 /** ID and output=AST */ 65 /** ID! and output=AST (same as plain tokenRef) */ 68 /** ID^ and output=AST */ 77 /** ids+=ID! and output=AST */ 83 /** label+=TOKEN when output=AST but not rewrite alt */ 89 /** Match label+=TOKEN^ when output=AST but not rewrite alt */ 95 // SET AST 128 // RULE REF AST 130 /** rule when output=AST */ [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
D | SimpleCParser.m | 233 /* AST returnScope.synthesize */ 246 /* AST returnScope.methods */ 273 /* AST returnScope.synthesize */ 286 /* AST returnScope.methods */ 313 /* AST returnScope.synthesize */ 326 /* AST returnScope.methods */ 353 /* AST returnScope.synthesize */ 366 /* AST returnScope.methods */ 393 /* AST returnScope.synthesize */ 406 /* AST returnScope.methods */ [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | ASTParser.stg | 47 // TOKEN AST STUFF 49 /** ID and output=AST */ 58 /** ID! and output=AST (same as plain tokenRef) */ 61 /** ID^ and output=AST */ 70 /** ids+=ID! and output=AST */ 76 /** label+=TOKEN when output=AST but not rewrite alt */ 82 /** Match label+=TOKEN^ when output=AST but not rewrite alt */ 88 // SET AST 121 // RULE REF AST 123 /** rule when output=AST */ [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | ASTParser.stg | 46 // TOKEN AST STUFF 48 /** ID and output=AST */ 57 /** ID! and output=AST (same as plain tokenRef) */ 60 /** ID^ and output=AST */ 69 /** ids+=ID! and output=AST */ 75 /** label+=TOKEN when output=AST but not rewrite alt */ 81 /** Match label+=TOKEN^ when output=AST but not rewrite alt */ 87 // SET AST 120 // RULE REF AST 122 /** rule when output=AST */ [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | ASTParser.stg | 48 // TOKEN AST STUFF 50 /** ID and output=AST */ 59 /** ID! and output=AST (same as plain tokenRef) */ 62 /** ID^ and output=AST */ 71 /** ids+=ID! and output=AST */ 78 /** label+=TOKEN when output=AST but not rewrite alt */ 85 /** Match label+=TOKEN^ when output=AST but not rewrite alt */ 91 // SET AST 124 // RULE REF AST 126 /** rule when output=AST */ [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
D | ASTParser.stg | 50 // TOKEN AST STUFF 52 /** ID and output=AST */ 66 /** ID! and output=AST (same as plain tokenRef) */ 69 /** ID^ and output=AST */ 83 /** ids+=ID! and output=AST */ 89 /** label+=TOKEN when output=AST but not rewrite alt */ 95 /** Match label+=TOKEN^ when output=AST but not rewrite alt */ 101 // SET AST 134 // RULE REF AST 136 /** rule when output=AST */ [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | ASTParser.stg | 49 // TOKEN AST STUFF 51 /** ID and output=AST */ 60 /** ID! and output=AST (same as plain tokenRef) */ 63 /** ID^ and output=AST */ 72 /** ids+=ID! and output=AST */ 78 /** label+=TOKEN when output=AST but not rewrite alt */ 84 /** Match label+=TOKEN^ when output=AST but not rewrite alt */ 90 // SET AST 123 // RULE REF AST 125 /** rule when output=AST */ [all …]
|
/external/llvm/lib/Analysis/ |
D | AliasSetTracker.cpp | 31 void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST) { in mergeSetIn() argument 44 AliasAnalysis &AA = AST.getAliasAnalysis(); in mergeSetIn() 80 AS.dropRef(AST); in mergeSetIn() 91 void AliasSet::removeFromTracker(AliasSetTracker &AST) { in removeFromTracker() argument 93 AST.removeAliasSet(this); in removeFromTracker() 96 void AliasSet::addPointer(AliasSetTracker &AST, PointerRec &Entry, in addPointer() argument 104 AliasAnalysis &AA = AST.getAliasAnalysis(); in addPointer() 379 void AliasSetTracker::add(const AliasSetTracker &AST) { in add() argument 380 assert(&AA == &AST.AA && in add() 386 for (const_iterator I = AST.begin(), E = AST.end(); I != E; ++I) { in add() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | ASTParser.stg | 50 // TOKEN AST STUFF 52 /** ID and output=AST */ 63 /** ID! and output=AST (same as plain tokenRef) */ 66 /** ID^ and output=AST */ 77 /** ids+=ID! and output=AST */ 83 /** label+=TOKEN when output=AST but not rewrite alt */ 89 /** Match label+=TOKEN^ when output=AST but not rewrite alt */ 95 // SET AST 128 // RULE REF AST 130 /** rule when output=AST */ [all …]
|