Home
last modified time | relevance | path

Searched refs:SpellLoc (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A 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()
H A DCXSourceLocation.cpp322 SourceLocation SpellLoc = SM.getFileLoc(Loc); in clang_getSpellingLocation() local
323 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SpellLoc); in clang_getSpellingLocation()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DTokenConcatenation.cpp173 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat() local
174 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
H A 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DSourceManager.cpp1826 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument
1829 if (!SpellLoc.isFileID()) { in associateFileChunkWithMacroArgExp()
1830 unsigned SpellBeginOffs = SpellLoc.getOffset(); in associateFileChunkWithMacroArgExp()
1840 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()
1870 assert(SpellLoc.isFileID()); in associateFileChunkWithMacroArgExp()
1873 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSourceManager.h1864 SourceLocation SpellLoc,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp259 SourceLocation SpellLoc = Loc; in DiagnoseUnusedExprResult() local
260 if (findMacroSpelling(SpellLoc, "UNREFERENCED_PARAMETER")) in DiagnoseUnusedExprResult()