Home
last modified time | relevance | path

Searched refs:SpellLoc (Results 1 – 7 of 7) 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.cpp1840 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument
1843 if (!SpellLoc.isFileID()) { in associateFileChunkWithMacroArgExp()
1844 unsigned SpellBeginOffs = SpellLoc.getOffset(); in associateFileChunkWithMacroArgExp()
1854 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()
1885 assert(SpellLoc.isFileID()); in associateFileChunkWithMacroArgExp()
1888 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
/external/clang/include/clang/Basic/
DSourceManager.h1671 SourceLocation SpellLoc,
/external/clang/lib/Sema/
DSemaStmt.cpp225 SourceLocation SpellLoc = Loc; in DiagnoseUnusedExprResult() local
226 if (findMacroSpelling(SpellLoc, "UNREFERENCED_PARAMETER")) in DiagnoseUnusedExprResult()