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

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h320 /// the token was ultimately expanded, and the SpellingLoc - where the actual
326 unsigned SpellingLoc; member in class:clang::SrcMgr::ExpansionInfo
341 SourceLocation SpellLoc = SourceLocation::getFromRawEncoding(SpellingLoc);
384 /// expanded), and SpellingLoc specifies the spelling location (where
387 static ExpansionInfo create(SourceLocation SpellingLoc, argument
391 X.SpellingLoc = SpellingLoc.getRawEncoding();
404 /// always exactly one token. SpellingLoc specifies the spelling location
406 /// SpellingLoc can both refer to normal File SLocs or expansion locations.
415 /// SpellingLoc pointin
417 createForMacroArg(SourceLocation SpellingLoc, SourceLocation ExpansionLoc) argument
430 createForTokenSplit(SourceLocation SpellingLoc, SourceLocation Start, SourceLocation End) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp433 FullSourceLoc SpellingLoc = Loc.getSpellingLoc(); local
448 emitDiagnostic(SpellingLoc, DiagnosticsEngine::Note, Message.str(),
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h161 static Lexer *Create_PragmaLexer(SourceLocation SpellingLoc,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp187 Lexer *Lexer::Create_PragmaLexer(SourceLocation SpellingLoc, argument
194 FileID SpellingFID = SM.getFileID(SpellingLoc);
201 const char *StrData = SM.getCharacterData(SpellingLoc);
1115 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); local
1116 SpellingLoc = SpellingLoc.getLocWithOffset(CharNo);
1122 return SM.createExpansionLoc(SpellingLoc, II.getBegin(), II.getEnd(), TokLen);
H A DPreprocessor.cpp509 SourceLocation SpellingLoc = SM.getSpellingLoc(Loc); local
510 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SpellingLoc);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp672 SourceManager::createMacroArgExpansionLoc(SourceLocation SpellingLoc, argument
675 ExpansionInfo Info = ExpansionInfo::createForMacroArg(SpellingLoc,
681 SourceManager::createExpansionLoc(SourceLocation SpellingLoc, argument
689 SpellingLoc, ExpansionLocStart, ExpansionLocEnd, ExpansionIsTokenRange);
1068 StringRef SourceManager::getFilename(SourceLocation SpellingLoc) const {
1069 if (const FileEntry *F = getFileEntryForID(getFileID(SpellingLoc)))
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DTextNodeDumper.cpp580 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); local
584 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp4001 SourceLocation SpellingLoc = local
4003 StringRef Spelling = PP.getSpelling(SpellingLoc, SpellingBuf);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp3056 SourceLocation SpellingLoc = Loc;
3058 SpellingLoc = getSourceManager().getImmediateExpansionRange(Loc).getBegin();
3059 SpellingLoc = getSourceManager().getSpellingLoc(SpellingLoc);
3060 if (SpellingLoc.isValid() && getSourceManager().isInSystemHeader(SpellingLoc))
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp1572 SourceLocation SpellingLoc = ReadSourceLocation(*F, Record[1]); local
1573 SourceMgr.createExpansionLoc(SpellingLoc,

Completed in 385 milliseconds