Searched refs:SpellLoc (Results 1 – 6 of 6) sorted by relevance
139 SourceLocation SpellLoc = SM.getImmediateSpellingLoc(Loc); in getFileSpellingLoc() local140 if (SpellLoc.isMacroID()) in getFileSpellingLoc()141 return getFileSpellingLoc(SM, SpellLoc, isMacroArg); in getFileSpellingLoc()144 return SpellLoc; in getFileSpellingLoc()
336 SourceLocation SpellLoc = SM.getFileLoc(Loc); in clang_getSpellingLocation() local337 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SpellLoc); in clang_getSpellingLocation()
165 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat() local166 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
976 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() local977 if (SpellLoc.isFileID()) in getImmediateMacroName()983 if (SM.isInFileID(SpellLoc, MacroFID)) in getImmediateMacroName()987 Loc = SpellLoc; in getImmediateMacroName()
1832 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument1835 if (!SpellLoc.isFileID()) { in associateFileChunkWithMacroArgExp()1836 unsigned SpellBeginOffs = SpellLoc.getOffset(); in associateFileChunkWithMacroArgExp()1846 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()1877 assert(SpellLoc.isFileID()); in associateFileChunkWithMacroArgExp()1880 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1640 SourceLocation SpellLoc,