Home
last modified time | relevance | path

Searched refs:SpellLoc (Results 1 – 6 of 6) sorted by relevance

/external/clang/tools/libclang/
DCIndexHigh.cpp139 SourceLocation SpellLoc = SM.getImmediateSpellingLoc(Loc); in getFileSpellingLoc() local
140 if (SpellLoc.isMacroID()) in getFileSpellingLoc()
141 return getFileSpellingLoc(SM, SpellLoc, isMacroArg); in getFileSpellingLoc()
144 return SpellLoc; in getFileSpellingLoc()
DCXSourceLocation.cpp336 SourceLocation SpellLoc = SM.getFileLoc(Loc); in clang_getSpellingLocation() local
337 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SpellLoc); in clang_getSpellingLocation()
/external/clang/lib/Lex/
DTokenConcatenation.cpp165 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat() local
166 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
DLexer.cpp976 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() local
977 if (SpellLoc.isFileID()) in getImmediateMacroName()
983 if (SM.isInFileID(SpellLoc, MacroFID)) in getImmediateMacroName()
987 Loc = SpellLoc; in getImmediateMacroName()
/external/clang/lib/Basic/
DSourceManager.cpp1832 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument
1835 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()
/external/clang/include/clang/Basic/
DSourceManager.h1640 SourceLocation SpellLoc,