Home | History | Annotate | Download | only in libclang

Lines Matching defs:AU

69 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU) {
70 if (!AU)
75 D->TheASTUnit = AU;
83 bool cxtu::isASTReadError(ASTUnit *AU) {
84 for (ASTUnit::stored_diag_iterator D = AU->stored_diag_begin(),
85 DEnd = AU->stored_diag_end();
168 return RangeCompare(AU->getSourceManager(), R, RegionOfInterest);
392 if (!AU->getPreprocessor().getPreprocessingRecord())
396 = *AU->getPreprocessor().getPreprocessingRecord();
397 SourceManager &SM = AU->getSourceManager();
400 SourceRange MappedRange = AU->mapRangeToPreamble(RegionOfInterest);
404 if (AU->isInPreambleFileID(B)) {
417 SourceRange(B, AU->getEndOfPreambleFileID()),
421 SourceRange(AU->getStartOfMainFileID(), E),
429 = !AU->isMainFileAST() && AU->getOnlyLocalDecls();
565 SourceLocation Loc = AU->mapLocationToPreamble(BeginLoc);
590 SourceRange Range = getFullCursorExtent(Cursor, AU->getSourceManager());
968 SourceManager &SM = AU->getSourceManager();
1406 ASTContext &Context = AU->getASTContext();
2709 ASTUnit *AU = ASTUnit::LoadFromASTFile(ast_filename, Diags, FileSystemOpts,
2714 *out_TU = MakeCXTranslationUnit(CXXIdx, AU);