Home
last modified time | relevance | path

Searched refs:getASTUnit (Results 1 – 14 of 14) sorted by relevance

/external/clang/tools/libclang/
DCIndexHigh.cpp65 return cxtu::getASTUnit(TU)->getASTContext(); in getASTContext()
219 SourceManager &SM = cxtu::getASTUnit(TU)->getSourceManager(); in findIdRefsInFile()
316 ASTUnit *Unit = cxtu::getASTUnit(TU); in findMacroRefsInFile()
388 ASTUnit *Unit = cxtu::getASTUnit(TU); in findIncludesInFile()
504 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_findIncludesInFile()
DCXType.cpp103 ASTContext &Ctx = cxtu::getASTUnit(TU)->getASTContext(); in MakeCXType()
140 ASTContext &Context = cxtu::getASTUnit(TU)->getASTContext(); in clang_getCursorType()
222 PrintingPolicy PP(cxtu::getASTUnit(TU)->getASTContext().getLangOpts()); in clang_getTypeSpelling()
322 return MakeCXType(cxtu::getASTUnit(TU)->getASTContext() in clang_getCanonicalType()
586 return T.isPODType(cxtu::getASTUnit(TU)->getASTContext()) ? 1 : 0; in clang_isPODType()
687 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext(); in clang_Type_getAlignOf()
707 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext(); in clang_Type_getSizeOf()
779 ASTContext &Ctx = cxtu::getASTUnit(GetTU(PT))->getASTContext(); in clang_Type_getOffsetOf()
DCXTranslationUnit.h41 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) { in getASTUnit() function
DCXComment.h52 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext(); in getASTContext()
DCIndexDiagnostic.cpp160 ASTUnit *AU = cxtu::getASTUnit(TU); in lazyCreateDiags()
211 if (!cxtu::getASTUnit(Unit)) in clang_getNumDiagnostics()
229 if (!cxtu::getASTUnit(Unit)) in clang_getDiagnosticSetFromTU()
DCIndexInclusionStack.cpp28 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getInclusions()
DCursorVisitor.h151 : TU(TU), AU(cxtu::getASTUnit(TU)), in TU()
175 ASTUnit *getASTUnit() const { return AU; } in getASTUnit() function
DCIndex.cpp209 SourceManager &SM = Visitor.getASTUnit()->getSourceManager(); in visitPreprocessedEntitiesInRange()
230 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitFileRegion()
279 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitDeclsFromFileRegion()
496 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren()
2846 bool hadError = cxtu::getASTUnit(STUI->TU)->Save(STUI->FileName); in clang_saveTranslationUnit_Impl()
2859 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_saveTranslationUnit()
2900 if (cxtu::getASTUnit(CTUnit)->isUnsafeToFree()) in clang_disposeTranslationUnit()
2903 delete cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()
2945 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_reparseTranslationUnit_Impl()
2988 cxtu::getASTUnit(TU)->setUnsafeToFree(true); in clang_reparseTranslationUnit()
[all …]
DCXSourceLocation.cpp129 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocation()
155 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocationForOffset()
DCIndexCodeCompletion.cpp683 ASTUnit *AST = cxtu::getASTUnit(TU); in clang_codeCompleteAt_Impl()
836 cxtu::getASTUnit(TU)->setUnsafeToFree(true); in clang_codeCompleteAt()
DIndexingContext.cpp199 cxtu::getASTUnit(CXTU)->setASTContext(&ctx); in setASTContext()
203 cxtu::getASTUnit(CXTU)->setPreprocessor(&PP); in setPreprocessor()
DIndexing.cpp787 ASTUnit *Unit = cxtu::getASTUnit(TU); in clang_indexTranslationUnit_Impl()
DCXComment.cpp1452 SourceManager &SM = cxtu::getASTUnit(TU)->getSourceManager(); in clang_FullComment_getAsXML()
DCXCursor.cpp826 return cxtu::getASTUnit(TU); in getCursorASTUnit()