Searched refs:astUnit (Results 1 – 3 of 3) sorted by relevance
2234 auto astUnit = tooling::buildASTFromCode(SourceCode); in TEST() local2236 auto GlobalBoundNodes = matchDynamic(Matcher, astUnit->getASTContext()); in TEST()2245 matchDynamic(Matcher, *GlobalMethodNode, astUnit->getASTContext()); in TEST()
8676 ASTUnit *astUnit = cxtu::getASTUnit(TU); in clang_getCXTUResourceUsage() local8678 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() local8782 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 …]
7626 ASTUnit *astUnit = cxtu::getASTUnit(TU); in clang_getCXTUResourceUsage() local7628 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() local7731 PreprocessingRecord *ppRec = astUnit->getPreprocessor().getPreprocessingRecord(); in clang_getSkippedRanges()7735 ASTContext &Ctx = astUnit->getASTContext(); in clang_getSkippedRanges()