/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 | 331 SourceLocation SpellLoc = SM.getFileLoc(Loc); in clang_getSpellingLocation() local 332 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SpellLoc); in clang_getSpellingLocation()
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndexHigh.cpp | 136 SourceLocation SpellLoc = SM.getImmediateSpellingLoc(Loc); in getFileSpellingLoc() local 137 if (SpellLoc.isMacroID()) in getFileSpellingLoc() 138 return getFileSpellingLoc(SM, SpellLoc, isMacroArg); in getFileSpellingLoc() 141 return SpellLoc; in getFileSpellingLoc()
|
D | CXSourceLocation.cpp | 322 SourceLocation SpellLoc = SM.getFileLoc(Loc); in clang_getSpellingLocation() local 323 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 | 978 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() local 979 if (SpellLoc.isFileID()) in getImmediateMacroName() 985 if (SM.isInFileID(SpellLoc, MacroFID)) in getImmediateMacroName() 989 Loc = SpellLoc; in getImmediateMacroName()
|
/external/llvm-project/clang/lib/Lex/ |
D | TokenConcatenation.cpp | 173 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat() local 174 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
|
D | Lexer.cpp | 998 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() local 999 if (SpellLoc.isFileID()) in getImmediateMacroName() 1005 if (SM.isInFileID(SpellLoc, MacroFID)) in getImmediateMacroName() 1009 Loc = SpellLoc; in getImmediateMacroName()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | SourceManager.h | 366 SourceLocation SpellLoc = SourceLocation::getFromRawEncoding(SpellingLoc); in getSpellingLoc() local 367 return SpellLoc.isInvalid() ? getExpansionLocStart() : SpellLoc; in getSpellingLoc() 1853 SourceLocation SpellLoc,
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1847 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument 1850 if (!SpellLoc.isFileID()) { in associateFileChunkWithMacroArgExp() 1851 unsigned SpellBeginOffs = SpellLoc.getOffset(); in associateFileChunkWithMacroArgExp() 1861 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp() 1892 assert(SpellLoc.isFileID()); in associateFileChunkWithMacroArgExp() 1895 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
|
/external/llvm-project/clang/lib/Basic/ |
D | SourceManager.cpp | 1772 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument 1775 if (!SpellLoc.isFileID()) { in associateFileChunkWithMacroArgExp() 1776 unsigned SpellBeginOffs = SpellLoc.getOffset(); in associateFileChunkWithMacroArgExp() 1786 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp() 1816 assert(SpellLoc.isFileID()); in associateFileChunkWithMacroArgExp() 1819 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 1679 SourceLocation SpellLoc,
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 226 SourceLocation SpellLoc = Loc; in DiagnoseUnusedExprResult() local 227 if (findMacroSpelling(SpellLoc, "UNREFERENCED_PARAMETER")) in DiagnoseUnusedExprResult()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmt.cpp | 258 SourceLocation SpellLoc = Loc; in DiagnoseUnusedExprResult() local 259 if (findMacroSpelling(SpellLoc, "UNREFERENCED_PARAMETER")) in DiagnoseUnusedExprResult()
|