Searched refs:SpellLoc (Results 1 – 5 of 5) sorted by relevance
173 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat() local174 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
1035 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() local1036 if (SpellLoc.isFileID()) in getImmediateMacroName()1042 if (SM.isInFileID(SpellLoc, MacroFID)) in getImmediateMacroName()1046 Loc = SpellLoc; in getImmediateMacroName()1072 SourceLocation SpellLoc = SM.getSpellingLoc(Loc); in getImmediateMacroNameForDiagnostics() local1073 if (!SpellLoc.isFileID() || SM.isWrittenInScratchSpace(SpellLoc)) in getImmediateMacroNameForDiagnostics()
1766 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument1769 if (!SpellLoc.isFileID()) { in associateFileChunkWithMacroArgExp()1770 SourceLocation::UIntTy SpellBeginOffs = SpellLoc.getOffset(); in associateFileChunkWithMacroArgExp()1780 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()1810 assert(SpellLoc.isFileID()); in associateFileChunkWithMacroArgExp()1813 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1938 SourceLocation SpellLoc,
260 SourceLocation SpellLoc = Loc; in DiagnoseUnusedExprResult() local261 if (findMacroSpelling(SpellLoc, "UNREFERENCED_PARAMETER")) in DiagnoseUnusedExprResult()