/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SourceManager.h | 365 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 D | DiagnosticRenderer.cpp | 439 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 D | SourceManager.cpp | 640 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 D | Lexer.cpp | 243 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 D | Preprocessor.cpp | 513 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 D | TextNodeDumper.cpp | 765 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 D | ParseDeclCXX.cpp | 4511 SourceLocation SpellingLoc = in TryParseCXX11AttributeIdentifier() local 4513 StringRef Spelling = PP.getSpelling(SpellingLoc, SpellingBuf); in TryParseCXX11AttributeIdentifier()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDeclCXX.cpp | 3216 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 D | ASTReader.cpp | 1746 SourceLocation SpellingLoc = ReadSourceLocation(*F, Record[1], Seq); in ReadSLocEntry() local 1749 SourceMgr.createExpansionLoc(SpellingLoc, ExpansionBegin, ExpansionEnd, in ReadSLocEntry()
|