Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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.cpp1035 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() local
1036 if (SpellLoc.isFileID()) in getImmediateMacroName()
1042 if (SM.isInFileID(SpellLoc, MacroFID)) in getImmediateMacroName()
1046 Loc = SpellLoc; in getImmediateMacroName()
1072 SourceLocation SpellLoc = SM.getSpellingLoc(Loc); in getImmediateMacroNameForDiagnostics() local
1073 if (!SpellLoc.isFileID() || SM.isWrittenInScratchSpace(SpellLoc)) in getImmediateMacroNameForDiagnostics()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp1766 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument
1769 if (!SpellLoc.isFileID()) { in associateFileChunkWithMacroArgExp()
1770 SourceLocation::UIntTy SpellBeginOffs = SpellLoc.getOffset(); in associateFileChunkWithMacroArgExp()
1780 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()
1810 assert(SpellLoc.isFileID()); in associateFileChunkWithMacroArgExp()
1813 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1938 SourceLocation SpellLoc,
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp260 SourceLocation SpellLoc = Loc; in DiagnoseUnusedExprResult() local
261 if (findMacroSpelling(SpellLoc, "UNREFERENCED_PARAMETER")) in DiagnoseUnusedExprResult()