Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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.cpp1016 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() local
1017 if (SpellLoc.isFileID()) in getImmediateMacroName()
1023 if (SM.isInFileID(SpellLoc, MacroFID)) in getImmediateMacroName()
1027 Loc = SpellLoc; in getImmediateMacroName()
1053 SourceLocation SpellLoc = SM.getSpellingLoc(Loc); in getImmediateMacroNameForDiagnostics() local
1054 if (!SpellLoc.isFileID() || SM.isWrittenInScratchSpace(SpellLoc)) in getImmediateMacroNameForDiagnostics()
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DSourceManager.cpp1832 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument
1835 if (!SpellLoc.isFileID()) { in associateFileChunkWithMacroArgExp()
1836 SourceLocation::UIntTy SpellBeginOffs = SpellLoc.getOffset(); in associateFileChunkWithMacroArgExp()
1846 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()
1876 assert(SpellLoc.isFileID()); in associateFileChunkWithMacroArgExp()
1879 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DSourceManager.h1911 SourceLocation SpellLoc,
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp259 SourceLocation SpellLoc = Loc; in DiagnoseUnusedExprResult() local
260 if (findMacroSpelling(SpellLoc, "UNREFERENCED_PARAMETER")) in DiagnoseUnusedExprResult()