Home | History | Annotate | Download | only in libclang

Lines Matching defs:AU

73 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU) {
74 if (!AU)
79 D->TheASTUnit = AU;
87 bool cxtu::isASTReadError(ASTUnit *AU) {
88 for (ASTUnit::stored_diag_iterator D = AU->stored_diag_begin(),
89 DEnd = AU->stored_diag_end();
172 return RangeCompare(AU->getSourceManager(), R, RegionOfInterest);
395 if (!AU->getPreprocessor().getPreprocessingRecord())
399 = *AU->getPreprocessor().getPreprocessingRecord();
400 SourceManager &SM = AU->getSourceManager();
403 SourceRange MappedRange = AU->mapRangeToPreamble(RegionOfInterest);
407 if (AU->isInPreambleFileID(B)) {
420 SourceRange(B, AU->getEndOfPreambleFileID()),
424 SourceRange(AU->getStartOfMainFileID(), E),
432 = !AU->isMainFileAST() && AU->getOnlyLocalDecls();
568 SourceLocation Loc = AU->mapLocationToPreamble(BeginLoc);
593 SourceRange Range = getFullCursorExtent(Cursor, AU->getSourceManager());
971 SourceManager &SM = AU->getSourceManager();
1411 ASTContext &Context = AU->getASTContext();
2884 std::unique_ptr<ASTUnit> AU = ASTUnit::LoadFromASTFile(
2889 *out_TU = MakeCXTranslationUnit(CXXIdx, AU.release());