Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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.cpp1017 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() local
1018 if (SpellLoc.isFileID()) in getImmediateMacroName()
1024 if (SM.isInFileID(SpellLoc, MacroFID)) in getImmediateMacroName()
1028 Loc = SpellLoc; in getImmediateMacroName()
/llvm-project-15.0.7/clang/lib/Basic/
H A DSourceManager.cpp1823 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument
1826 if (!SpellLoc.isFileID()) { in associateFileChunkWithMacroArgExp()
1827 SourceLocation::UIntTy SpellBeginOffs = SpellLoc.getOffset(); in associateFileChunkWithMacroArgExp()
1837 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()
1867 assert(SpellLoc.isFileID()); in associateFileChunkWithMacroArgExp()
1870 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceManager.h1886 SourceLocation SpellLoc,
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp259 SourceLocation SpellLoc = Loc; in DiagnoseUnusedExprResult() local
260 if (findMacroSpelling(SpellLoc, "UNREFERENCED_PARAMETER")) in DiagnoseUnusedExprResult()