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.cpp161 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat() local
162 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
DLexer.cpp982 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() local
983 if (SpellLoc.isFileID()) in getImmediateMacroName()
989 if (SM.isInFileID(SpellLoc, MacroFID)) in getImmediateMacroName()
993 Loc = SpellLoc; in getImmediateMacroName()
/external/clang/lib/Basic/
DSourceManager.cpp1841 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument
1844 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()
/external/clang/include/clang/Basic/
DSourceManager.h1644 SourceLocation SpellLoc,