/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 111 ASSERT_TRUE(macroExpStartLoc.isFileID()); in TEST_F() 112 ASSERT_TRUE(macroExpEndLoc.isFileID()); in TEST_F() 237 EXPECT_TRUE(defLoc.isFileID()); in TEST_F() 238 EXPECT_TRUE(loc1.isFileID()); in TEST_F() 243 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() 596 assert(ResultTokLoc.isFileID() && in PasteTokens() 678 if (StartLoc.isFileID()) in PasteTokens() 680 if (EndLoc.isFileID()) in PasteTokens() 745 assert(loc.isValid() && loc.isFileID()); in getExpansionLocForMacroDefLoc() 787 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() 793 if (expansionLoc.isFileID()) { in isAtStartOfMacroExpansion() 821 if (expansionLoc.isFileID()) { in isAtEndOfMacroExpansion() 836 assert(Begin.isFileID() && End.isFileID()); in makeRangeFromFileLocs() 866 if (Begin.isFileID() && End.isFileID()) in makeFileCharRange() 869 if (Begin.isMacroID() && End.isFileID()) { in makeFileCharRange() 876 if (Begin.isFileID() && End.isMacroID()) { in makeFileCharRange() 979 if (SpellLoc.isFileID()) in getImmediateMacroName() 1078 if (FileLoc.isFileID()) in getSourceLocation()
|
D | ModuleMap.cpp | 925 if (!ExpansionLoc.isFileID()) in inferModuleFromLocation()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 901 } while (!Loc.isFileID()); in getExpansionLocSlowCase() 911 } while (!Loc.isFileID()); in getSpellingLocSlowCase() 921 } while (!Loc.isFileID()); in getFileLocSlowCase() 939 } while (!Loc.isFileID()); in getDecomposedExpansionLocSlowCase() 957 } while (!Loc.isFileID()); in getDecomposedSpellingLocSlowCase() 967 if (Loc.isFileID()) return Loc; in getImmediateSpellingLoc() 987 if (Loc.isFileID()) return std::make_pair(Loc, Loc); in getExpansionRange() 994 while (!Res.first.isFileID()) in getExpansionRange() 996 while (!Res.second.isFileID()) in getExpansionRange() 1829 if (ExpInfo.getExpansionLocStart().isFileID()) { in computeMacroArgsCache() [all …]
|
D | SourceLocation.cpp | 44 if (isFileID()) { in print()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 1059 if (Loc.isFileID()) return Loc; in getExpansionLoc() 1067 if (Loc.isFileID()) return Loc; in getFileLoc() 1098 if (Loc.isFileID()) return Loc; in getSpellingLoc() 1136 if (Loc.isFileID()) in getDecomposedExpansionLoc() 1155 if (Loc.isFileID()) in getDecomposedSpellingLoc()
|
D | SourceLocation.h | 100 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 | 370 assert(Loc.isFileID()); in applyRewrite() 438 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 | 489 assert(L.isFileID()); in HandlePiece()
|
D | PathDiagnostic.cpp | 233 if (!L.isFileID() || SMgr.getFileID(L) != FID) in HandlePathDiagnostic() 236 if (!L.isFileID() || SMgr.getFileID(L) != FID) in HandlePathDiagnostic()
|
D | BugReporter.cpp | 981 if (!CLocs.back().isDead() && CLocs.back().asLocation().isFileID()) { in popLocation() 2990 if (Loc.isFileID()) { in CompactPathDiagnostic() 3036 assert(InstantiationLoc.isFileID()); in CompactPathDiagnostic()
|
D | ExprEngine.cpp | 2544 if (SLoc.isFileID()) { in printLocation() 2649 if (SLoc.isFileID()) { in getNodeLabel()
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 547 if (Loc.isFileID()) in emitMacroExpansions()
|
D | PrintPreprocessedOutput.cpp | 791 if (Tok.is(tok::eof) || !Tok.getLocation().isFileID()) in DoPrintPreprocessedInput()
|
D | TextDiagnostic.cpp | 1072 assert(Loc.isFileID() && "must have a file location here"); in emitSnippetAndCaret()
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 199 assert(RegionLoc.isFileID()); in getRegion()
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 322 if (FILoc.isFileID() || PP.isAtStartOfMacroExpansion(FILoc, &FILoc)) { in ParseRHSOfBinaryExpression() 323 assert(FILoc.isFileID()); in ParseRHSOfBinaryExpression()
|
D | Parser.cpp | 111 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 6893 if (ParenRange.getBegin().isFileID() && ParenRange.getEnd().isFileID() && in SuggestParentheses() 10011 Loc.isFileID() && UO->getOperatorLoc().isFileID() && in CheckAssignmentOperands() 10017 UO->getSubExpr()->getLocStart().isFileID()) { in CheckAssignmentOperands()
|