Searched refs:SpellLoc (Results 1 – 5 of 5) sorted by relevance
177 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat() local178 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
1076 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() local1077 if (SpellLoc.isFileID()) in getImmediateMacroName()1083 if (SM.isInFileID(SpellLoc, MacroFID)) in getImmediateMacroName()1087 Loc = SpellLoc; in getImmediateMacroName()1113 SourceLocation SpellLoc = SM.getSpellingLoc(Loc); in getImmediateMacroNameForDiagnostics() local1114 if (!SpellLoc.isFileID() || SM.isWrittenInScratchSpace(SpellLoc)) in getImmediateMacroNameForDiagnostics()
1786 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument1789 if (!SpellLoc.isFileID()) { in associateFileChunkWithMacroArgExp()1790 SourceLocation::UIntTy SpellBeginOffs = SpellLoc.getOffset(); in associateFileChunkWithMacroArgExp()1799 auto [SpellFID, SpellRelativeOffs] = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()1829 assert(SpellLoc.isFileID()); in associateFileChunkWithMacroArgExp()1832 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1989 SourceLocation SpellLoc,
269 SourceLocation SpellLoc = Loc; in DiagnoseUnused() local270 if (S.findMacroSpelling(SpellLoc, "UNREFERENCED_PARAMETER")) in DiagnoseUnused()