Home
last modified time | relevance | path

Searched refs:isFileID (Results 1 – 25 of 30) 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()
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/
DTokenLexer.cpp52 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()
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()
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()
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()
1829 if (ExpInfo.getExpansionLocStart().isFileID()) { in computeMacroArgsCache()
[all …]
DSourceLocation.cpp44 if (isFileID()) { in print()
/external/clang/include/clang/Basic/
DSourceManager.h1059 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()
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.cpp233 if (!L.isFileID() || SMgr.getFileID(L) != FID) in HandlePathDiagnostic()
236 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.cpp2544 if (SLoc.isFileID()) { in printLocation()
2649 if (SLoc.isFileID()) { in getNodeLabel()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp547 if (Loc.isFileID()) in emitMacroExpansions()
DPrintPreprocessedOutput.cpp791 if (Tok.is(tok::eof) || !Tok.getLocation().isFileID()) in DoPrintPreprocessedInput()
DTextDiagnostic.cpp1072 assert(Loc.isFileID() && "must have a file location here"); in emitSnippetAndCaret()
/external/clang/tools/libclang/
DIndexing.cpp199 assert(RegionLoc.isFileID()); in getRegion()
/external/clang/lib/Parse/
DParseExpr.cpp322 if (FILoc.isFileID() || PP.isAtStartOfMacroExpansion(FILoc, &FILoc)) { in ParseRHSOfBinaryExpression()
323 assert(FILoc.isFileID()); in ParseRHSOfBinaryExpression()
DParser.cpp111 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
/external/clang/lib/Sema/
DSemaExpr.cpp6893 if (ParenRange.getBegin().isFileID() && ParenRange.getEnd().isFileID() && in SuggestParentheses()
10011 Loc.isFileID() && UO->getOperatorLoc().isFileID() && in CheckAssignmentOperands()
10017 UO->getSubExpr()->getLocStart().isFileID()) { in CheckAssignmentOperands()

12