Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DSourceManager.h359 SourceLocation SpellingLoc; variable
374 return SpellingLoc.isInvalid() ? getExpansionLocStart() : SpellingLoc; in getSpellingLoc()
418 X.SpellingLoc = SpellingLoc;
449 return create(SpellingLoc, ExpansionLoc, SourceLocation()); in createForMacroArg()
460 return create(SpellingLoc, Start, End, false); in createForTokenSplit()
927 SourceLocation createExpansionLoc(SourceLocation SpellingLoc,
1119 FileID getFileID(SourceLocation SpellingLoc) const { in getFileID() argument
1120 return getFileID(SpellingLoc.getOffset()); in getFileID()
1124 StringRef getFilename(SourceLocation SpellingLoc) const;
1297 unsigned getFileOffset(SourceLocation SpellingLoc) const { in getFileOffset() argument
[all …]
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp439 FullSourceLoc SpellingLoc = Loc.getSpellingLoc(); in emitSingleMacroExpansion() local
454 emitDiagnostic(SpellingLoc, DiagnosticsEngine::Note, Message.str(), in emitSingleMacroExpansion()
/openbsd/gnu/llvm/clang/lib/Basic/
H A DSourceManager.cpp635 SourceLocation SpellingLoc, SourceLocation ExpansionLoc, unsigned Length) { in createMacroArgExpansionLoc() argument
636 ExpansionInfo Info = ExpansionInfo::createForMacroArg(SpellingLoc, in createMacroArgExpansionLoc()
642 SourceLocation SpellingLoc, SourceLocation ExpansionLocStart, in createExpansionLoc() argument
647 SpellingLoc, ExpansionLocStart, ExpansionLocEnd, ExpansionIsTokenRange); in createExpansionLoc()
1020 StringRef SourceManager::getFilename(SourceLocation SpellingLoc) const { in getFilename()
1021 if (const FileEntry *F = getFileEntryForID(getFileID(SpellingLoc))) in getFilename()
/openbsd/gnu/llvm/clang/include/clang/Lex/
H A DLexer.h190 static Lexer *Create_PragmaLexer(SourceLocation SpellingLoc,
/openbsd/gnu/llvm/clang/lib/Lex/
H A DLexer.cpp194 Lexer *Lexer::Create_PragmaLexer(SourceLocation SpellingLoc, in Create_PragmaLexer() argument
201 FileID SpellingFID = SM.getFileID(SpellingLoc); in Create_PragmaLexer()
208 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer()
1137 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc() local
1138 SpellingLoc = SpellingLoc.getLocWithOffset(CharNo); in GetMappedTokenLoc()
1144 return SM.createExpansionLoc(SpellingLoc, II.getBegin(), II.getEnd(), TokLen); in GetMappedTokenLoc()
H A DPreprocessor.cpp506 SourceLocation SpellingLoc = SM.getSpellingLoc(Loc); in SplitToken() local
507 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SpellingLoc); in SplitToken()
/openbsd/gnu/llvm/clang/lib/AST/
H A DTextNodeDumper.cpp623 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); in dumpLocation() local
627 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); in dumpLocation()
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseDeclCXX.cpp4244 SourceLocation SpellingLoc = in TryParseCXX11AttributeIdentifier() local
4246 StringRef Spelling = PP.getSpelling(SpellingLoc, SpellingBuf); in TryParseCXX11AttributeIdentifier()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaDeclCXX.cpp3180 SourceLocation SpellingLoc = Loc; in DiagnoseAbsenceOfOverrideControl() local
3182 SpellingLoc = getSourceManager().getImmediateExpansionRange(Loc).getBegin(); in DiagnoseAbsenceOfOverrideControl()
3183 SpellingLoc = getSourceManager().getSpellingLoc(SpellingLoc); in DiagnoseAbsenceOfOverrideControl()
3184 if (SpellingLoc.isValid() && getSourceManager().isInSystemHeader(SpellingLoc)) in DiagnoseAbsenceOfOverrideControl()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTReader.cpp1589 SourceLocation SpellingLoc = ReadSourceLocation(*F, Record[1], Seq); in ReadSLocEntry() local
1592 SourceMgr.createExpansionLoc(SpellingLoc, ExpansionBegin, ExpansionEnd, in ReadSLocEntry()