Home
last modified time | relevance | path

Searched refs:getASTUnit (Results 1 – 15 of 15) 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()
503 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_findIncludesInFile()
DCXType.cpp104 ASTContext &Ctx = cxtu::getASTUnit(TU)->getASTContext(); in MakeCXType()
147 ASTContext &Context = cxtu::getASTUnit(TU)->getASTContext(); in clang_getCursorType()
229 PrintingPolicy PP(cxtu::getASTUnit(TU)->getASTContext().getLangOpts()); in clang_getTypeSpelling()
329 return MakeCXType(cxtu::getASTUnit(TU)->getASTContext() in clang_getCanonicalType()
598 return T.isPODType(cxtu::getASTUnit(TU)->getASTContext()) ? 1 : 0; in clang_isPODType()
699 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext(); in clang_Type_getAlignOf()
730 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext(); in clang_Type_getSizeOf()
801 ASTContext &Ctx = cxtu::getASTUnit(GetTU(PT))->getASTContext(); in clang_Type_getOffsetOf()
DCXComment.h53 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext(); in getASTContext()
DCXTranslationUnit.h43 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) { in getASTUnit() function
DCXComment.cpp376 HTC, Text, cxtu::getASTUnit(TU)->getASTContext()); in clang_HTMLTagComment_getAsString()
391 ->convertCommentToHTML(FC, HTML, cxtu::getASTUnit(TU)->getASTContext()); in clang_FullComment_getAsHTML()
406 ->convertCommentToXML(FC, XML, cxtu::getASTUnit(TU)->getASTContext()); in clang_FullComment_getAsXML()
DCIndexInclusionStack.cpp32 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getInclusions()
DCIndexDiagnostic.cpp163 ASTUnit *AU = cxtu::getASTUnit(TU); in lazyCreateDiags()
218 if (!cxtu::getASTUnit(Unit)) in clang_getNumDiagnostics()
245 if (!cxtu::getASTUnit(Unit)) in clang_getDiagnosticSetFromTU()
DCursorVisitor.h151 : TU(TU), AU(cxtu::getASTUnit(TU)), in TU()
175 ASTUnit *getASTUnit() const { return AU; } in getASTUnit() function
DCIndex.cpp228 SourceManager &SM = Visitor.getASTUnit()->getSourceManager(); in visitPreprocessedEntitiesInRange()
249 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitFileRegion()
298 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitDeclsFromFileRegion()
515 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren()
2971 bool hadError = cxtu::getASTUnit(STUI->TU)->Save(STUI->FileName); in clang_saveTranslationUnit_Impl()
2986 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_saveTranslationUnit()
3027 ASTUnit *Unit = cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()
3031 delete cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()
3073 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_reparseTranslationUnit_Impl()
3120 cxtu::getASTUnit(TU)->setUnsafeToFree(true); in clang_reparseTranslationUnit()
[all …]
DCXSourceLocation.cpp135 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocation()
165 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocationForOffset()
DCIndexUSRs.cpp79 cxtu::getASTUnit(TU)->getSourceManager(), in clang_getCursorUSR()
DCIndexCodeCompletion.cpp681 ASTUnit *AST = cxtu::getASTUnit(TU); in clang_codeCompleteAt_Impl()
838 cxtu::getASTUnit(TU)->setUnsafeToFree(true); in clang_codeCompleteAt()
DIndexingContext.cpp198 cxtu::getASTUnit(CXTU)->setASTContext(&ctx); in setASTContext()
202 cxtu::getASTUnit(CXTU)->setPreprocessor(&PP); in setPreprocessor()
DIndexing.cpp789 ASTUnit *Unit = cxtu::getASTUnit(TU); in clang_indexTranslationUnit_Impl()
DCXCursor.cpp858 return cxtu::getASTUnit(TU); in getCursorASTUnit()