Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/tools/libclang/
DCIndexInclusionStack.cpp24 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in getInclusions()
76 SourceManager &SM = cxtu::getASTUnit(TU)->getSourceManager(); in clang_getInclusions()
DCIndexHigh.cpp64 return cxtu::getASTUnit(TU)->getASTContext(); in getASTContext()
216 SourceManager &SM = cxtu::getASTUnit(TU)->getSourceManager(); in findIdRefsInFile()
313 ASTUnit *Unit = cxtu::getASTUnit(TU); in findMacroRefsInFile()
385 ASTUnit *Unit = cxtu::getASTUnit(TU); in findIncludesInFile()
500 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_findIncludesInFile()
DCXType.cpp143 ASTContext &Ctx = cxtu::getASTUnit(TU)->getASTContext(); in MakeCXType()
223 ASTContext &Context = cxtu::getASTUnit(TU)->getASTContext(); in clang_getCursorType()
299 PrintingPolicy PP(cxtu::getASTUnit(TU)->getASTContext().getLangOpts()); in clang_getTypeSpelling()
399 return MakeCXType(cxtu::getASTUnit(TU)->getASTContext() in clang_getCanonicalType()
789 return T.isPODType(cxtu::getASTUnit(TU)->getASTContext()) ? 1 : 0; in clang_isPODType()
900 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext(); in clang_Type_getAlignOf()
934 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext(); in clang_Type_getSizeOf()
1021 ASTContext &Ctx = cxtu::getASTUnit(GetTU(PT))->getASTContext(); in clang_Type_getOffsetOf()
1311 ASTContext &Ctx = cxtu::getASTUnit(GetTU(CT))->getASTContext(); in clang_Type_getNullability()
DCXComment.h52 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext(); in getASTContext()
DCXComment.cpp375 HTC, Text, cxtu::getASTUnit(TU)->getASTContext()); in clang_HTMLTagComment_getAsString()
390 ->convertCommentToHTML(FC, HTML, cxtu::getASTUnit(TU)->getASTContext()); in clang_FullComment_getAsHTML()
405 ->convertCommentToXML(FC, XML, cxtu::getASTUnit(TU)->getASTContext()); in clang_FullComment_getAsXML()
DCXTranslationUnit.h49 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) { in getASTUnit() function
DCIndexDiagnostic.cpp151 ASTUnit *AU = cxtu::getASTUnit(TU); in lazyCreateDiags()
204 if (!cxtu::getASTUnit(Unit)) in clang_getNumDiagnostics()
231 if (!cxtu::getASTUnit(Unit)) in clang_getDiagnosticSetFromTU()
DCursorVisitor.h156 : TU(TU), AU(cxtu::getASTUnit(TU)), Visitor(Visitor), in TU()
178 ASTUnit *getASTUnit() const { return AU; } in getASTUnit() function
DRewrite.cpp21 clang::ASTUnit *AU = clang::cxtu::getASTUnit(TU); in clang_CXRewriter_create()
DCXSourceLocation.cpp129 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocation()
160 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocationForOffset()
DCIndex.cpp241 SourceManager &SM = Visitor.getASTUnit()->getSourceManager(); in visitPreprocessedEntitiesInRange()
262 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitFileRegion()
312 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitDeclsFromFileRegion()
527 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren()
3750 ASTContext &Ctx = getASTUnit(tu)->getASTContext(); in clang_Type_getObjCEncoding()
4103 bool hadError = cxtu::getASTUnit(TU)->Save(FileName); in clang_saveTranslationUnit_Impl()
4116 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_saveTranslationUnit()
4159 ASTUnit *Unit = cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()
4163 delete cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()
4174 ASTUnit *Unit = cxtu::getASTUnit(CTUnit); in clang_suspendTranslationUnit()
[all …]
DCIndexUSRs.cpp76 cxtu::getASTUnit(TU)->getSourceManager(), in clang_getCursorUSR()
DCIndexCodeCompletion.cpp711 ASTUnit *AST = cxtu::getASTUnit(TU); in clang_codeCompleteAt_Impl()
877 cxtu::getASTUnit(TU)->setUnsafeToFree(true); in clang_codeCompleteAt()
/external/clang/tools/libclang/
DCIndexInclusionStack.cpp28 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in getInclusions()
81 SourceManager &SM = cxtu::getASTUnit(TU)->getSourceManager(); in clang_getInclusions()
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.cpp112 ASTContext &Ctx = cxtu::getASTUnit(TU)->getASTContext(); in MakeCXType()
155 ASTContext &Context = cxtu::getASTUnit(TU)->getASTContext(); in clang_getCursorType()
231 PrintingPolicy PP(cxtu::getASTUnit(TU)->getASTContext().getLangOpts()); in clang_getTypeSpelling()
331 return MakeCXType(cxtu::getASTUnit(TU)->getASTContext() in clang_getCanonicalType()
615 return T.isPODType(cxtu::getASTUnit(TU)->getASTContext()) ? 1 : 0; in clang_isPODType()
716 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext(); in clang_Type_getAlignOf()
747 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext(); in clang_Type_getSizeOf()
827 ASTContext &Ctx = cxtu::getASTUnit(GetTU(PT))->getASTContext(); in clang_Type_getOffsetOf()
DCXComment.h53 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext(); in getASTContext()
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()
DCXTranslationUnit.h43 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) { in getASTUnit() function
DCIndexDiagnostic.cpp162 ASTUnit *AU = cxtu::getASTUnit(TU); in lazyCreateDiags()
217 if (!cxtu::getASTUnit(Unit)) in clang_getNumDiagnostics()
244 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.cpp230 SourceManager &SM = Visitor.getASTUnit()->getSourceManager(); in visitPreprocessedEntitiesInRange()
250 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitFileRegion()
299 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitDeclsFromFileRegion()
516 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren()
3392 ASTContext &Ctx = getASTUnit(tu)->getASTContext(); in clang_Type_getObjCEncoding()
3708 bool hadError = cxtu::getASTUnit(TU)->Save(FileName); in clang_saveTranslationUnit_Impl()
3723 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_saveTranslationUnit()
3767 ASTUnit *Unit = cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()
3771 delete cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()
3802 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_reparseTranslationUnit_Impl()
[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.cpp669 ASTUnit *AST = cxtu::getASTUnit(TU); in clang_codeCompleteAt_Impl()
829 cxtu::getASTUnit(TU)->setUnsafeToFree(true); in clang_codeCompleteAt()

12