Home
last modified time | relevance | path

Searched refs:SpellingLoc (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h365 SourceLocation SpellingLoc; variable
380 return SpellingLoc.isInvalid() ? getExpansionLocStart() : SpellingLoc; in getSpellingLoc()
420 static ExpansionInfo create(SourceLocation SpellingLoc, SourceLocation Start,
424 X.SpellingLoc = SpellingLoc;
450 static ExpansionInfo createForMacroArg(SourceLocation SpellingLoc, in createForMacroArg() argument
455 return create(SpellingLoc, ExpansionLoc, SourceLocation()); in createForMacroArg()
463 static ExpansionInfo createForTokenSplit(SourceLocation SpellingLoc, in createForTokenSplit() argument
466 return create(SpellingLoc, Start, End, false); in createForTokenSplit()
948 SourceLocation createMacroArgExpansionLoc(SourceLocation SpellingLoc,
956 SourceLocation createExpansionLoc(SourceLocation SpellingLoc,
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp439 FullSourceLoc SpellingLoc = Loc.getSpellingLoc(); in emitSingleMacroExpansion() local
454 emitDiagnostic(SpellingLoc, DiagnosticsEngine::Note, Message.str(), in emitSingleMacroExpansion()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp640 SourceLocation SpellingLoc, SourceLocation ExpansionLoc, unsigned Length) { in createMacroArgExpansionLoc() argument
641 ExpansionInfo Info = ExpansionInfo::createForMacroArg(SpellingLoc, in createMacroArgExpansionLoc()
647 SourceLocation SpellingLoc, SourceLocation ExpansionLocStart, in createExpansionLoc() argument
652 SpellingLoc, ExpansionLocStart, ExpansionLocEnd, ExpansionIsTokenRange); in createExpansionLoc()
970 StringRef SourceManager::getFilename(SourceLocation SpellingLoc) const { in getFilename()
971 if (OptionalFileEntryRef F = getFileEntryRefForID(getFileID(SpellingLoc))) in getFilename()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp243 Lexer *Lexer::Create_PragmaLexer(SourceLocation SpellingLoc, in Create_PragmaLexer() argument
250 FileID SpellingFID = SM.getFileID(SpellingLoc); in Create_PragmaLexer()
257 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer()
1201 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc() local
1202 SpellingLoc = SpellingLoc.getLocWithOffset(CharNo); in GetMappedTokenLoc()
1208 return SM.createExpansionLoc(SpellingLoc, II.getBegin(), II.getEnd(), TokLen); in GetMappedTokenLoc()
H A DPreprocessor.cpp513 SourceLocation SpellingLoc = SM.getSpellingLoc(Loc); in SplitToken() local
514 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SpellingLoc); in SplitToken()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTextNodeDumper.cpp765 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); in dumpLocation() local
769 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); in dumpLocation()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp4511 SourceLocation SpellingLoc = in TryParseCXX11AttributeIdentifier() local
4513 StringRef Spelling = PP.getSpelling(SpellingLoc, SpellingBuf); in TryParseCXX11AttributeIdentifier()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp3216 SourceLocation SpellingLoc = Loc; in DiagnoseAbsenceOfOverrideControl() local
3218 SpellingLoc = getSourceManager().getImmediateExpansionRange(Loc).getBegin(); in DiagnoseAbsenceOfOverrideControl()
3219 SpellingLoc = getSourceManager().getSpellingLoc(SpellingLoc); in DiagnoseAbsenceOfOverrideControl()
3220 if (SpellingLoc.isValid() && getSourceManager().isInSystemHeader(SpellingLoc)) in DiagnoseAbsenceOfOverrideControl()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp1746 SourceLocation SpellingLoc = ReadSourceLocation(*F, Record[1], Seq); in ReadSLocEntry() local
1749 SourceMgr.createExpansionLoc(SpellingLoc, ExpansionBegin, ExpansionEnd, in ReadSLocEntry()