/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 112 ASSERT_TRUE(macroExpStartLoc.isFileID()); in TEST_F() 113 ASSERT_TRUE(macroExpEndLoc.isFileID()); in TEST_F() 235 EXPECT_TRUE(defLoc.isFileID()); in TEST_F() 236 EXPECT_TRUE(loc1.isFileID()); in TEST_F() 241 EXPECT_TRUE(defLoc2.isFileID()); in TEST_F()
|
/external/clang/lib/Lex/ |
D | TokenLexer.cpp | 52 assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) && in Init() 589 assert(ResultTokLoc.isFileID() && in PasteTokens() 670 if (StartLoc.isFileID()) in PasteTokens() 672 if (EndLoc.isFileID()) in PasteTokens() 735 assert(loc.isValid() && loc.isFileID()); in getExpansionLocForMacroDefLoc() 777 if (CurLoc.isFileID() != NextLoc.isFileID()) in updateConsecutiveMacroArgTokens()
|
D | MacroInfo.cpp | 48 assert((macroStart.isFileID() || firstToken.is(tok::comment)) && in getDefinitionLengthSlow() 50 assert((macroEnd.isFileID() || lastToken.is(tok::comment)) && in getDefinitionLengthSlow()
|
D | Lexer.cpp | 452 assert(Loc.isFileID()); in getBeginningOfFileToken() 512 if (Loc.isFileID()) in GetBeginningOfToken() 791 if (expansionLoc.isFileID()) { in isAtStartOfMacroExpansion() 819 if (expansionLoc.isFileID()) { in isAtEndOfMacroExpansion() 834 assert(Begin.isFileID() && End.isFileID()); in makeRangeFromFileLocs() 864 if (Begin.isFileID() && End.isFileID()) in makeFileCharRange() 867 if (Begin.isMacroID() && End.isFileID()) { in makeFileCharRange() 874 if (Begin.isFileID() && End.isMacroID()) { in makeFileCharRange() 977 if (SpellLoc.isFileID()) in getImmediateMacroName() 1051 if (FileLoc.isFileID()) in getSourceLocation()
|
D | ModuleMap.cpp | 919 if (!ExpansionLoc.isFileID()) in inferModuleFromLocation()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 898 } while (!Loc.isFileID()); in getExpansionLocSlowCase() 908 } while (!Loc.isFileID()); in getSpellingLocSlowCase() 918 } while (!Loc.isFileID()); in getFileLocSlowCase() 936 } while (!Loc.isFileID()); in getDecomposedExpansionLocSlowCase() 954 } while (!Loc.isFileID()); in getDecomposedSpellingLocSlowCase() 964 if (Loc.isFileID()) return Loc; in getImmediateSpellingLoc() 984 if (Loc.isFileID()) return std::make_pair(Loc, Loc); in getExpansionRange() 991 while (!Res.first.isFileID()) in getExpansionRange() 993 while (!Res.second.isFileID()) in getExpansionRange() 1814 if (ExpInfo.getExpansionLocStart().isFileID()) { in computeMacroArgsCache() [all …]
|
D | SourceLocation.cpp | 44 if (isFileID()) { in print()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 1026 if (Loc.isFileID()) return Loc; in getExpansionLoc() 1034 if (Loc.isFileID()) return Loc; in getFileLoc() 1065 if (Loc.isFileID()) return Loc; in getSpellingLoc() 1103 if (Loc.isFileID()) in getDecomposedExpansionLoc() 1122 if (Loc.isFileID()) in getDecomposedSpellingLoc()
|
D | SourceLocation.h | 99 bool isFileID() const { return (ID & MacroIDBit) == 0; } in isFileID() function
|
/external/clang/lib/Edit/ |
D | Commit.cpp | 22 assert(Loc.isFileID()); in getFileLocation() 34 assert(Loc.isFileID()); in getInsertFromRange()
|
D | EditedSource.cpp | 318 assert(Loc.isFileID()); in applyRewrite() 386 assert(BLoc.isFileID()); in getSourceText()
|
/external/clang/include/clang/Rewrite/Core/ |
D | Rewriter.h | 70 return Loc.isFileID(); in isRewritable()
|
/external/clang/lib/ARCMigrate/ |
D | TransEmptyStatementsAndDealloc.cpp | 52 assert(AfterMacroLoc.isFileID()); in isEmptyARCMTMacroStatement()
|
D | TransformActions.cpp | 390 if (loc.isFileID()) in canInsert() 403 if (loc.isFileID()) in canInsertAfterToken()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 471 assert(L.isFileID()); in HandlePiece()
|
D | PathDiagnostic.cpp | 237 if (!L.isFileID() || SMgr.getFileID(L) != FID) in HandlePathDiagnostic() 240 if (!L.isFileID() || SMgr.getFileID(L) != FID) in HandlePathDiagnostic()
|
D | BugReporter.cpp | 981 if (!CLocs.back().isDead() && CLocs.back().asLocation().isFileID()) { in popLocation() 2995 if (Loc.isFileID()) { in CompactPathDiagnostic() 3041 assert(InstantiationLoc.isFileID()); in CompactPathDiagnostic()
|
D | ExprEngine.cpp | 2430 if (SLoc.isFileID()) { in printLocation() 2535 if (SLoc.isFileID()) { in getNodeLabel()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 738 if (Tok.is(tok::eof) || !Tok.getLocation().isFileID()) in DoPrintPreprocessedInput()
|
D | TextDiagnostic.cpp | 1064 assert(Loc.isFileID() && "must have a file location here"); in emitSnippetAndCaret()
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 219 assert(RegionLoc.isFileID());
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 299 if (FILoc.isFileID() || PP.isAtStartOfMacroExpansion(FILoc, &FILoc)) { in ParseRHSOfBinaryExpression() 300 assert(FILoc.isFileID()); in ParseRHSOfBinaryExpression()
|
D | Parser.cpp | 91 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 6338 if (ParenRange.getBegin().isFileID() && ParenRange.getEnd().isFileID() && in SuggestParentheses() 9298 Loc.isFileID() && UO->getOperatorLoc().isFileID() && in CheckAssignmentOperands() 9304 UO->getSubExpr()->getLocStart().isFileID()) { in CheckAssignmentOperands()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 1644 if (Loc.isFileID() && GenerateLineInfo) { in ConvertSourceLocationToLineDirective() 3098 if (Location.isFileID() && GenerateLineInfo) { in RewriteLineDirective()
|