Home
last modified time | relevance | path

Searched refs:SpellLoc (Results 1 – 14 of 14) 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.cpp331 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/
DCIndexHigh.cpp136 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()
DCXSourceLocation.cpp322 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/
DTokenConcatenation.cpp165 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat() local
166 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
DLexer.cpp978 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/
DTokenConcatenation.cpp173 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat() local
174 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
DLexer.cpp998 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/
DSourceManager.h366 SourceLocation SpellLoc = SourceLocation::getFromRawEncoding(SpellingLoc); in getSpellingLoc() local
367 return SpellLoc.isInvalid() ? getExpansionLocStart() : SpellLoc; in getSpellingLoc()
1853 SourceLocation SpellLoc,
/external/clang/lib/Basic/
DSourceManager.cpp1847 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/
DSourceManager.cpp1772 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/
DSourceManager.h1679 SourceLocation SpellLoc,
/external/clang/lib/Sema/
DSemaStmt.cpp226 SourceLocation SpellLoc = Loc; in DiagnoseUnusedExprResult() local
227 if (findMacroSpelling(SpellLoc, "UNREFERENCED_PARAMETER")) in DiagnoseUnusedExprResult()
/external/llvm-project/clang/lib/Sema/
DSemaStmt.cpp258 SourceLocation SpellLoc = Loc; in DiagnoseUnusedExprResult() local
259 if (findMacroSpelling(SpellLoc, "UNREFERENCED_PARAMETER")) in DiagnoseUnusedExprResult()