Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DTokenConcatenation.cpp169 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat() local
170 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
H A DLexer.cpp988 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() local
989 if (SpellLoc.isFileID()) in getImmediateMacroName()
995 if (SM.isInFileID(SpellLoc, MacroFID)) in getImmediateMacroName()
999 Loc = SpellLoc; in getImmediateMacroName()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceManager.h325 SourceLocation SpellLoc = SourceLocation::getFromRawEncoding(SpellingLoc); in getSpellingLoc() local
326 return SpellLoc.isInvalid() ? getExpansionLocStart() : SpellLoc; in getSpellingLoc()
1796 SourceLocation SpellLoc,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DSourceManager.cpp1802 SourceLocation SpellLoc, in associateFileChunkWithMacroArgExp() argument
1805 if (!SpellLoc.isFileID()) { in associateFileChunkWithMacroArgExp()
1806 unsigned SpellBeginOffs = SpellLoc.getOffset(); in associateFileChunkWithMacroArgExp()
1816 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()
1846 assert(SpellLoc.isFileID()); in associateFileChunkWithMacroArgExp()
1849 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp240 SourceLocation SpellLoc = Loc; in DiagnoseUnusedExprResult() local
241 if (findMacroSpelling(SpellLoc, "UNREFERENCED_PARAMETER")) in DiagnoseUnusedExprResult()