Lines Matching refs:ASTUnit

73 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU) {  in MakeCXTranslationUnit()
87 bool cxtu::isASTReadError(ASTUnit *AU) { in isASTReadError()
88 for (ASTUnit::stored_diag_iterator D = AU->stored_diag_begin(), in isASTReadError()
252 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitFileRegion()
301 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitDeclsFromFileRegion()
518 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren()
525 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), in VisitChildren()
2884 std::unique_ptr<ASTUnit> AU = ASTUnit::LoadFromASTFile( in clang_createTranslationUnit2()
2967 std::unique_ptr<std::vector<ASTUnit::RemappedFile>> RemappedFiles( in clang_parseTranslationUnit_Impl()
2968 new std::vector<ASTUnit::RemappedFile>()); in clang_parseTranslationUnit_Impl()
2972 std::vector<ASTUnit::RemappedFile> > RemappedCleanup(RemappedFiles.get()); in clang_parseTranslationUnit_Impl()
3021 std::unique_ptr<ASTUnit> ErrUnit; in clang_parseTranslationUnit_Impl()
3022 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCommandLine( in clang_parseTranslationUnit_Impl()
3161 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_saveTranslationUnit()
3162 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_saveTranslationUnit()
3202 ASTUnit *Unit = cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()
3248 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_reparseTranslationUnit_Impl()
3249 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_reparseTranslationUnit_Impl()
3251 std::unique_ptr<std::vector<ASTUnit::RemappedFile>> RemappedFiles( in clang_reparseTranslationUnit_Impl()
3252 new std::vector<ASTUnit::RemappedFile>()); in clang_reparseTranslationUnit_Impl()
3256 std::vector<ASTUnit::RemappedFile> > RemappedCleanup(RemappedFiles.get()); in clang_reparseTranslationUnit_Impl()
3310 ASTUnit *CXXUnit = cxtu::getASTUnit(CTUnit); in clang_getTranslationUnitSpelling()
3320 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getTranslationUnitCursor()
3353 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getFile()
3369 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_isFileMultipleIncludeGuarded()
4395 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getCursor()
4396 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_getCursor()
4675 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in getCursor()
4750 ASTUnit *TU = getCursorASTUnit(C); in getRawCursorExtent()
4756 ASTUnit *TU = getCursorASTUnit(C); in getRawCursorExtent()
4762 ASTUnit *TU = getCursorASTUnit(C); in getRawCursorExtent()
4768 ASTUnit *TU = getCursorASTUnit(C); in getRawCursorExtent()
5362 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getTokenSpelling()
5384 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getTokenLocation()
5398 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getTokenExtent()
5406 static void getTokens(ASTUnit *CXXUnit, SourceRange Range, in getTokens()
5494 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_tokenize()
5498 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_tokenize()
5968 ASTUnit *CXXUnit;
5995 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in annotatePreprocessorTokens()
6095 ASTUnit *CXXUnit = ((clang_annotateTokens_Data*)UserData)->CXXUnit; in clang_annotateTokensImpl()
6230 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_annotateTokens()
6234 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_annotateTokens()
6720 ASTUnit &Unit = *cxtu::getASTUnit(TU); in clang_getModuleForFile()
6929 ASTUnit *astUnit = cxtu::getASTUnit(TU); in clang_getCXTUResourceUsage()
7033 ASTUnit *astUnit = cxtu::getASTUnit(TU); in clang_getSkippedRanges()
7116 void cxindex::printDiagsToStderr(ASTUnit *Unit) { in printDiagsToStderr()
7120 for (ASTUnit::stored_diag_iterator D = Unit->stored_diag_begin(), in printDiagsToStderr()
7145 ASTUnit *Unit = cxtu::getASTUnit(TU); in getMacroInfo()
7182 ASTUnit *Unit = cxtu::getASTUnit(TU); in checkForMacroInMacroDefinition()
7219 ASTUnit *Unit = cxtu::getASTUnit(TU); in checkForMacroInMacroDefinition()
7241 if (ASTUnit *Unit = cxtu::getASTUnit(TU)) { in operator <<()