Home | History | Annotate | Download | only in Frontend

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);
201 // AST files follow a very different path, since they share objects via the
202 // AST unit.
205 "Attempt to pass AST file to preprocessor only action!");
207 "This action does not have AST file support!");
211 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile(
215 if (!AST)
224 CI.setFileManager(&AST->getFileManager());
225 CI.setSourceManager(&AST->getSourceManager());
226 CI.setPreprocessor(&AST->getPreprocessor());
227 CI.setASTContext(&AST->getASTContext());
229 setCurrentInput(Input, std::move(AST));
235 // Create the AST consumer.
292 // Check whether this is an acceptable AST file.
329 // Create the AST context and consumer unless this is a preprocessor only
385 // Initialize built-in info as long as we aren't using an external AST
420 // If there is a layout overrides file, attach an external AST source that
486 // Sema references the ast consumer, so reset sema first.