Home
last modified time | relevance | path

Searched refs:astUnit (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp2234 auto astUnit = tooling::buildASTFromCode(SourceCode); in TEST() local
2236 auto GlobalBoundNodes = matchDynamic(Matcher, astUnit->getASTContext()); in TEST()
2245 matchDynamic(Matcher, *GlobalMethodNode, astUnit->getASTContext()); in TEST()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp8676 ASTUnit *astUnit = cxtu::getASTUnit(TU); in clang_getCXTUResourceUsage() local
8678 ASTContext &astContext = astUnit->getASTContext(); in clang_getCXTUResourceUsage()
8703 astUnit->getCachedCompletionAllocator().get()) { in clang_getCXTUResourceUsage()
8716 astUnit->getSourceManager().getMemoryBufferSizes(); in clang_getCXTUResourceUsage()
8742 Preprocessor &pp = astUnit->getPreprocessor(); in clang_getCXTUResourceUsage()
8780 ASTUnit *astUnit = cxtu::getASTUnit(TU); in clang_getSkippedRanges() local
8782 astUnit->getPreprocessor().getPreprocessingRecord(); in clang_getSkippedRanges()
8786 ASTContext &Ctx = astUnit->getASTContext(); in clang_getSkippedRanges()
8800 else if (isMainFile && (astUnit->isInPreambleFileID(i->getBegin()) || in clang_getSkippedRanges()
8801 astUnit->isInPreambleFileID(i->getEnd()))) in clang_getSkippedRanges()
[all …]
/external/clang/tools/libclang/
DCIndex.cpp7626 ASTUnit *astUnit = cxtu::getASTUnit(TU); in clang_getCXTUResourceUsage() local
7628 ASTContext &astContext = astUnit->getASTContext(); in clang_getCXTUResourceUsage()
7649 astUnit->getCachedCompletionAllocator().get()) { in clang_getCXTUResourceUsage()
7663 astUnit->getSourceManager().getMemoryBufferSizes(); in clang_getCXTUResourceUsage()
7690 Preprocessor &pp = astUnit->getPreprocessor(); in clang_getCXTUResourceUsage()
7730 ASTUnit *astUnit = cxtu::getASTUnit(TU); in clang_getSkippedRanges() local
7731 PreprocessingRecord *ppRec = astUnit->getPreprocessor().getPreprocessingRecord(); in clang_getSkippedRanges()
7735 ASTContext &Ctx = astUnit->getASTContext(); in clang_getSkippedRanges()