Lines Matching refs:AST
11 #include "clang/AST/ASTConsumer.h"
12 #include "clang/AST/ASTContext.h"
13 #include "clang/AST/DeclGroup.h"
120 ASTUnit *AST) {
122 CurrentASTUnit.reset(AST);
135 // modifiy the AST.
168 // AST files follow a very different path, since they share objects via the
169 // AST unit.
172 "Attempt to pass AST file to preprocessor only action!");
174 "This action does not have AST file support!");
178 ASTUnit *AST = ASTUnit::LoadFromASTFile(Input.File, Diags,
180 if (!AST)
183 setCurrentInput(Input, AST);
187 CI.setFileManager(&AST->getFileManager());
188 CI.setSourceManager(&AST->getSourceManager());
189 CI.setPreprocessor(&AST->getPreprocessor());
190 CI.setASTContext(&AST->getASTContext());
196 /// Create the AST consumer.
236 /// Create the AST context and consumer unless this is a preprocessor only
282 // Initialize built-in info as long as we aren't using an external AST
290 // If there is a layout overrides file, attach an external AST source that
347 // Release the consumer and the AST, in that order since the consumer may