Searched refs:DecompLoc (Results 1 – 4 of 4) sorted by relevance
487 auto DecompLoc = SM.getDecomposedLoc(TranslatedLoc); in TEST() local488 EXPECT_EQ(DecompLoc.first, SM.getMainFileID()); in TEST()489 EXPECT_EQ(SM.getLineNumber(DecompLoc.first, DecompLoc.second), 3U); in TEST()
159 auto DecompLoc = SM.getDecomposedLoc(DirectiveRange.getBegin()); in spellDirective() local160 DirectiveLine = SM.getLineNumber(DecompLoc.first, DecompLoc.second); in spellDirective()161 auto TargetColumn = SM.getColumnNumber(DecompLoc.first, DecompLoc.second) - 1; in spellDirective()
1026 std::pair<FileID, unsigned> DecompLoc = getDecomposedLoc(Loc); in isAtStartOfImmediateMacroExpansion() local1027 if (DecompLoc.second > 0) in isAtStartOfImmediateMacroExpansion()1032 getSLocEntry(DecompLoc.first, &Invalid).getExpansion(); in isAtStartOfImmediateMacroExpansion()1041 FileID PrevFID = getPreviousFileID(DecompLoc.first); in isAtStartOfImmediateMacroExpansion()1971 DecompTy &DecompLoc = InsertOp.first->second; in getDecomposedIncludedLoc() local1973 return DecompLoc; // already in map. in getDecomposedIncludedLoc()1986 DecompLoc = getDecomposedLoc(UpperLoc); in getDecomposedIncludedLoc()1988 return DecompLoc; in getDecomposedIncludedLoc()
1074 std::pair<FileID, unsigned> DecompLoc = getDecomposedLoc(Loc); in isAtStartOfImmediateMacroExpansion() local1075 if (DecompLoc.second > 0) in isAtStartOfImmediateMacroExpansion()1080 getSLocEntry(DecompLoc.first, &Invalid).getExpansion(); in isAtStartOfImmediateMacroExpansion()1089 FileID PrevFID = getPreviousFileID(DecompLoc.first); in isAtStartOfImmediateMacroExpansion()1900 DecompTy &DecompLoc = InsertOp.first->second; in getDecomposedIncludedLoc() local1902 return DecompLoc; // already in map. in getDecomposedIncludedLoc()1915 DecompLoc = getDecomposedLoc(UpperLoc); in getDecomposedIncludedLoc()1917 return DecompLoc; in getDecomposedIncludedLoc()