Lines Matching defs:AST
11 #include "clang/AST/ASTConsumer.h"
12 #include "clang/AST/ASTContext.h"
13 #include "clang/AST/DeclGroup.h"
132 std::unique_ptr<ASTUnit> AST) {
134 CurrentASTUnit = std::move(AST);
148 // modifiy the AST.
183 // AST files follow a very different path, since they share objects via the
184 // AST unit.
187 "Attempt to pass AST file to preprocessor only action!");
189 "This action does not have AST file support!");
193 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile(
197 if (!AST)
206 CI.setFileManager(&AST->getFileManager());
207 CI.setSourceManager(&AST->getSourceManager());
208 CI.setPreprocessor(&AST->getPreprocessor());
209 CI.setASTContext(&AST->getASTContext());
211 setCurrentInput(Input, std::move(AST));
217 // Create the AST consumer.
274 // Check whether this is an acceptable AST file.
311 // Create the AST context and consumer unless this is a preprocessor only
367 // Initialize built-in info as long as we aren't using an external AST
402 // If there is a layout overrides file, attach an external AST source that