Searched refs:SpellLoc (Results 1 – 7 of 7) sorted by relevance
/external/clang/tools/libclang/ |
D | CIndexHigh.cpp | 139 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()
|
D | CXSourceLocation.cpp | 336 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/ |
D | TokenConcatenation.cpp | 165 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat() local 166 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
|
D | Lexer.cpp | 976 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/ |
D | SourceManager.cpp | 1840 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/ |
D | SourceManager.h | 1671 SourceLocation SpellLoc,
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 225 SourceLocation SpellLoc = Loc; in DiagnoseUnusedExprResult() local 226 if (findMacroSpelling(SpellLoc, "UNREFERENCED_PARAMETER")) in DiagnoseUnusedExprResult()
|