HomeSort by: relevance | last modified time | path
    Searched refs:ASTUnit (Results 1 - 25 of 31) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/tools/libclang/
CXType.h 21 class ASTUnit;
CXTranslationUnit.h 21 class ASTUnit;
30 clang::ASTUnit *TheASTUnit;
47 std::unique_ptr<ASTUnit> AU);
49 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) {
55 /// \returns true if the ASTUnit has a diagnostic about the AST file being
57 bool isASTReadError(ASTUnit *AU);
CIndexHigh.cpp 15 #include "clang/Frontend/ASTUnit.h"
245 ASTUnit &Unit;
250 FindFileMacroRefVisitData(ASTUnit &Unit, const FileEntry *File,
313 ASTUnit *Unit = cxtu::getASTUnit(TU);
339 ASTUnit &Unit;
343 FindFileIncludesVisitor(ASTUnit &Unit, const FileEntry *File,
385 ASTUnit *Unit = cxtu::getASTUnit(TU);
437 ASTUnit *CXXUnit = cxcursor::getCursorASTUnit(cursor);
441 ASTUnit::ConcurrencyCheck Check(*CXXUnit);
500 ASTUnit *CXXUnit = cxtu::getASTUnit(TU)
    [all...]
CIndexer.h 27 class ASTUnit;
126 void printDiagsToStderr(ASTUnit *Unit);
Rewrite.cpp 13 #include "clang/Frontend/ASTUnit.h"
21 clang::ASTUnit *AU = clang::cxtu::getASTUnit(TU);
CIndexInclusionStack.cpp 18 #include "clang/Frontend/ASTUnit.h"
24 ASTUnit *CXXUnit = cxtu::getASTUnit(TU);
CursorVisitor.h 20 class ASTUnit;
74 ASTUnit *AU;
178 ASTUnit *getASTUnit() const { return AU; }
CXSourceLocation.cpp 20 #include "clang/Frontend/ASTUnit.h"
129 ASTUnit *CXXUnit = cxtu::getASTUnit(TU);
130 ASTUnit::ConcurrencyCheck Check(*CXXUnit);
160 ASTUnit *CXXUnit = cxtu::getASTUnit(TU);
CXCursor.h 24 class ASTUnit;
243 ASTUnit *getCursorASTUnit(CXCursor Cursor);
  /src/external/apache2/llvm/dist/clang/include/clang/CrossTU/
CrossTranslationUnit.h 31 class ASTUnit;
160 /// \return Returns a pointer to the ASTUnit that contains the definition of
165 llvm::Expected<ASTUnit *> loadExternalAST(StringRef LookupName,
176 ASTUnit *Unit);
178 ASTUnit *Unit);
199 ASTImporter &getOrCreateASTImporter(ASTUnit *Unit);
209 llvm::Expected<const T *> importDefinitionImpl(const T *D, ASTUnit *Unit);
219 using LoadResultTy = llvm::Expected<std::unique_ptr<ASTUnit>>;
227 /// Load the ASTUnit by its identifier found in the index file. If the
282 /// Loads an ASTUnit for a function
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
ASTUnit.cpp 1 //===- ASTUnit.cpp - ASTUnit utility --------------------------------------===//
9 // ASTUnit Implementation.
13 #include "clang/Frontend/ASTUnit.h"
218 struct ASTUnit::ASTWriterData {
227 void ASTUnit::clearFileLevelDecls() {
237 /// Tracks the number of ASTUnit objects that are currently active.
242 ASTUnit::ASTUnit(bool _MainFileIsAST)
251 ASTUnit::~ASTUnit()
    [all...]
ASTMerge.cpp 8 #include "clang/Frontend/ASTUnit.h"
49 std::unique_ptr<ASTUnit> Unit = ASTUnit::LoadFromASTFile(
50 ASTFiles[I], CI.getPCHContainerReader(), ASTUnit::LoadEverything, Diags,
FrontendAction.cpp 15 #include "clang/Frontend/ASTUnit.h"
138 std::unique_ptr<ASTUnit> AST) {
578 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile(
580 ASTUnit::LoadPreprocessorOnly, ASTDiags, CI.getFileSystemOpts(),
646 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile(
648 ASTUnit::LoadEverything, Diags, CI.getFileSystemOpts(),
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
ModelInjector.h 32 class ASTUnit;
  /src/external/apache2/llvm/dist/clang/include/clang/Index/
IndexingAction.h 24 class ASTUnit;
54 void indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer,
  /src/external/apache2/llvm/dist/clang/include/clang/Frontend/
ASTUnit.h 1 //===- ASTUnit.h - ASTUnit utility ------------------------------*- C++ -*-===//
9 // ASTUnit utility class.
89 class ASTUnit {
161 /// Whether the ASTUnit should delete the remapped buffers.
164 /// Track the top-level decls which appeared in an ASTUnit which was loaded
168 // of a PCH file when using the Index library on an ASTUnit loaded from
181 /// The name of the original source file used to generate this ASTUnit.
256 ASTUnit &AST, CaptureDiagsKind CaptureDiagnostics);
368 explicit ASTUnit(bool MainFileIsAST)
    [all...]
FrontendAction.h 23 #include "clang/Frontend/ASTUnit.h"
38 std::unique_ptr<ASTUnit> CurrentASTUnit;
156 ASTUnit &getCurrentASTUnit() const {
163 std::unique_ptr<ASTUnit> takeCurrentASTUnit() {
168 std::unique_ptr<ASTUnit> AST = nullptr);
  /src/external/apache2/llvm/dist/clang/lib/CrossTU/
CrossTranslationUnit.cpp 18 #include "clang/Frontend/ASTUnit.h"
262 llvm::Expected<ASTUnit *> ASTUnitOrError =
266 ASTUnit *Unit = *ASTUnitOrError;
373 llvm::Expected<ASTUnit *>
392 std::unique_ptr<ASTUnit> LoadedUnit = std::move(LoadAttempt.get());
395 ASTUnit *Unit = LoadedUnit.get();
413 llvm::Expected<ASTUnit *>
420 // Load the ASTUnit from the pre-dumped AST file specified by ASTFileName.
435 if (llvm::Expected<ASTUnit *> FoundForFile =
482 llvm::Expected<ASTUnit *> CrossTranslationUnitContext::loadExternalAST
    [all...]
  /src/external/apache2/llvm/lib/libclangFrontend/
Makefile 11 ASTUnit.cpp \
  /src/external/apache2/llvm/dist/clang/lib/Tooling/
Tooling.cpp 27 #include "clang/Frontend/ASTUnit.h"
575 std::vector<std::unique_ptr<ASTUnit>> &ASTs;
578 ASTBuilderAction(std::vector<std::unique_ptr<ASTUnit>> &ASTs) : ASTs(ASTs) {}
584 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation(
600 int ClangTool::buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs) {
616 std::unique_ptr<ASTUnit>
623 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs(
628 std::vector<std::unique_ptr<ASTUnit>> ASTs;
  /src/external/apache2/llvm/dist/clang/tools/c-index-test/
core_main.cpp 12 #include "clang/Frontend/ASTUnit.h"
237 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction(
271 std::unique_ptr<ASTUnit> AU = ASTUnit::LoadFromASTFile(
272 std::string(modulePath), *pchRdr, ASTUnit::LoadASTOnly, Diags,
  /src/external/apache2/llvm/dist/clang/tools/clang-diff/
ClangDiff.cpp 86 static std::unique_ptr<ASTUnit>
107 std::vector<std::unique_ptr<ASTUnit>> ASTs;
462 std::unique_ptr<ASTUnit> AST = getAST(CommonCompilations, SourcePath);
483 std::unique_ptr<ASTUnit> Src = getAST(CommonCompilations, SourcePath);
484 std::unique_ptr<ASTUnit> Dst = getAST(CommonCompilations, DestinationPath);
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/
Tooling.h 204 std::unique_ptr<ASTUnit>
222 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs(
348 int buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs);
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
ARCMT.cpp 13 #include "clang/Frontend/ASTUnit.h"
271 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction(
549 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction(
  /src/external/apache2/llvm/dist/clang/lib/Index/
IndexingAction.cpp 187 static void indexTranslationUnit(ASTUnit &Unit, IndexingContext &IndexCtx) {
241 void index::indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer,

Completed in 33 milliseconds

1 2