Home
last modified time | relevance | path

Searched refs:isFileID (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/unittests/Basic/
DSourceManagerTest.cpp111 ASSERT_TRUE(macroExpStartLoc.isFileID()); in TEST_F()
112 ASSERT_TRUE(macroExpEndLoc.isFileID()); in TEST_F()
234 EXPECT_TRUE(defLoc.isFileID()); in TEST_F()
235 EXPECT_TRUE(loc1.isFileID()); in TEST_F()
240 EXPECT_TRUE(defLoc2.isFileID()); in TEST_F()
/external/clang/lib/Lex/
DTokenLexer.cpp52 assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) && in Init()
596 assert(ResultTokLoc.isFileID() && in PasteTokens()
677 if (StartLoc.isFileID()) in PasteTokens()
679 if (EndLoc.isFileID()) in PasteTokens()
742 assert(loc.isValid() && loc.isFileID()); in getExpansionLocForMacroDefLoc()
784 if (CurLoc.isFileID() != NextLoc.isFileID()) in updateConsecutiveMacroArgTokens()
DMacroInfo.cpp48 assert((macroStart.isFileID() || firstToken.is(tok::comment)) && in getDefinitionLengthSlow()
50 assert((macroEnd.isFileID() || lastToken.is(tok::comment)) && in getDefinitionLengthSlow()
DLexer.cpp452 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()
DModuleMap.cpp925 if (!ExpansionLoc.isFileID()) in inferModuleFromLocation()
/external/clang/lib/Basic/
DSourceManager.cpp901 } 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()
1822 if (ExpInfo.getExpansionLocStart().isFileID()) { in computeMacroArgsCache()
[all …]
DSourceLocation.cpp44 if (isFileID()) { in print()
/external/clang/include/clang/Basic/
DSourceManager.h1051 if (Loc.isFileID()) return Loc; in getExpansionLoc()
1059 if (Loc.isFileID()) return Loc; in getFileLoc()
1090 if (Loc.isFileID()) return Loc; in getSpellingLoc()
1128 if (Loc.isFileID()) in getDecomposedExpansionLoc()
1147 if (Loc.isFileID()) in getDecomposedSpellingLoc()
DSourceLocation.h100 bool isFileID() const { return (ID & MacroIDBit) == 0; } in isFileID() function
/external/clang/lib/Edit/
DCommit.cpp22 assert(Loc.isFileID()); in getFileLocation()
34 assert(Loc.isFileID()); in getInsertFromRange()
DEditedSource.cpp370 assert(Loc.isFileID()); in applyRewrite()
438 assert(BLoc.isFileID()); in getSourceText()
/external/clang/include/clang/Rewrite/Core/
DRewriter.h70 return Loc.isFileID(); in isRewritable()
/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp52 assert(AfterMacroLoc.isFileID()); in isEmptyARCMTMacroStatement()
DTransformActions.cpp390 if (loc.isFileID()) in canInsert()
403 if (loc.isFileID()) in canInsertAfterToken()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp489 assert(L.isFileID()); in HandlePiece()
DPathDiagnostic.cpp235 if (!L.isFileID() || SMgr.getFileID(L) != FID) in HandlePathDiagnostic()
238 if (!L.isFileID() || SMgr.getFileID(L) != FID) in HandlePathDiagnostic()
DBugReporter.cpp981 if (!CLocs.back().isDead() && CLocs.back().asLocation().isFileID()) { in popLocation()
2990 if (Loc.isFileID()) { in CompactPathDiagnostic()
3036 assert(InstantiationLoc.isFileID()); in CompactPathDiagnostic()
DExprEngine.cpp2482 if (SLoc.isFileID()) { in printLocation()
2587 if (SLoc.isFileID()) { in getNodeLabel()
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp770 if (Tok.is(tok::eof) || !Tok.getLocation().isFileID()) in DoPrintPreprocessedInput()
DDiagnosticRenderer.cpp587 if (Loc.isFileID()) in emitMacroExpansions()
DTextDiagnostic.cpp1064 assert(Loc.isFileID() && "must have a file location here"); in emitSnippetAndCaret()
/external/clang/tools/libclang/
DIndexing.cpp219 assert(RegionLoc.isFileID());
/external/clang/lib/Parse/
DParseExpr.cpp319 if (FILoc.isFileID() || PP.isAtStartOfMacroExpansion(FILoc, &FILoc)) { in ParseRHSOfBinaryExpression()
320 assert(FILoc.isFileID()); in ParseRHSOfBinaryExpression()
DParser.cpp111 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
/external/clang/lib/Sema/
DSemaExpr.cpp6505 if (ParenRange.getBegin().isFileID() && ParenRange.getEnd().isFileID() && in SuggestParentheses()
9562 Loc.isFileID() && UO->getOperatorLoc().isFileID() && in CheckAssignmentOperands()
9568 UO->getSubExpr()->getLocStart().isFileID()) { in CheckAssignmentOperands()

12