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()
161 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat() local162 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
982 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() local983 if (SpellLoc.isFileID()) in getImmediateMacroName()989 if (SM.isInFileID(SpellLoc, MacroFID)) in getImmediateMacroName()993 Loc = SpellLoc; in getImmediateMacroName()
1841 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument1844 if (!SpellLoc.isFileID()) { in associateFileChunkWithMacroArgExp()1845 unsigned SpellBeginOffs = SpellLoc.getOffset(); in associateFileChunkWithMacroArgExp()1855 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()1886 assert(SpellLoc.isFileID()); in associateFileChunkWithMacroArgExp()1889 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1644 SourceLocation SpellLoc,