Home
last modified time | relevance | path

Searched refs:CXXUnit (Results 1 – 4 of 4) sorted by relevance

/openbsd/gnu/llvm/clang/tools/libclang/
H A DCIndexInclusionStack.cpp24 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in getInclusions() local
25 SourceManager &SM = CXXUnit->getSourceManager(); in getInclusions()
26 ASTContext &Ctx = CXXUnit->getASTContext(); in getInclusions()
44 if (HasPreamble && CXXUnit->isInMainFileID(L)) in getInclusions()
H A DCXSourceLocation.cpp129 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocation() local
130 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_getLocation()
132 SourceLocation SLoc = CXXUnit->getLocation(File, line, column); in clang_getLocation()
141 cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocation()
160 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocationForOffset() local
163 = CXXUnit->getLocation(static_cast<const FileEntry *>(file), offset); in clang_getLocationForOffset()
168 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocationForOffset()
H A DCIndexHigh.cpp437 ASTUnit *CXXUnit = cxcursor::getCursorASTUnit(cursor); in clang_findReferencesInFile() local
438 if (!CXXUnit) in clang_findReferencesInFile()
441 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_findReferencesInFile()
500 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_findIncludesInFile() local
501 if (!CXXUnit) in clang_findIncludesInFile()
504 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_findIncludesInFile()
H A DCIndex.cpp533 if (!CXXUnit->isMainFileAST() && CXXUnit->getOnlyLocalDecls() && in VisitChildren()
4385 if (!CXXUnit->hasSema()) in clang_saveTranslationUnit()
4494 if (isASTReadError(CXXUnit)) in clang_reparseTranslationUnit_Impl()
7088 if (!CXXUnit) in clang_getTokenSpelling()
7110 if (!CXXUnit) in clang_getTokenLocation()
7114 CXXUnit->getASTContext(), in clang_getTokenLocation()
7125 if (!CXXUnit) in clang_getTokenExtent()
7129 CXXUnit->getASTContext(), in clang_getTokenExtent()
7210 if (!CXXUnit) in clang_getToken()
7262 getTokens(CXXUnit, R, CXTokens); in clang_tokenize()
[all …]