Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/
DSourceManager.h299 unsigned SpellingLoc; variable
311 return SourceLocation::getFromRawEncoding(SpellingLoc); in getSpellingLoc()
348 static ExpansionInfo create(SourceLocation SpellingLoc, in create() argument
351 X.SpellingLoc = SpellingLoc.getRawEncoding(); in create()
376 static ExpansionInfo createForMacroArg(SourceLocation SpellingLoc, in createForMacroArg() argument
381 return create(SpellingLoc, ExpansionLoc, SourceLocation()); in createForMacroArg()
970 FileID getFileID(SourceLocation SpellingLoc) const { in getFileID() argument
971 unsigned SLocOffset = SpellingLoc.getOffset(); in getFileID()
981 StringRef getFilename(SourceLocation SpellingLoc) const { in getFilename() argument
982 if (const FileEntry *F = getFileEntryForID(getFileID(SpellingLoc))) in getFilename()
[all …]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/
DDiagnosticRenderer.cpp447 SourceLocation SpellingLoc = Loc; in emitMacroExpansions() local
451 SpellingLoc = SM.getImmediateExpansionRange(Loc).first; in emitMacroExpansions()
452 SpellingLoc = SM.getSpellingLoc(SpellingLoc); in emitMacroExpansions()
465 emitDiagnostic(SpellingLoc, DiagnosticsEngine::Note, Message.str(), in emitMacroExpansions()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/
DLexer.cpp183 Lexer *Lexer::Create_PragmaLexer(SourceLocation SpellingLoc, in Create_PragmaLexer() argument
190 FileID SpellingFID = SM.getFileID(SpellingLoc); in Create_PragmaLexer()
197 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer()
1050 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc() local
1051 SpellingLoc = SpellingLoc.getLocWithOffset(CharNo); in GetMappedTokenLoc()
1058 return SM.createExpansionLoc(SpellingLoc, II.first, II.second, TokLen); in GetMappedTokenLoc()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Lex/
DLexer.h120 static Lexer *Create_PragmaLexer(SourceLocation SpellingLoc,
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Basic/
DSourceManager.cpp615 SourceManager::createMacroArgExpansionLoc(SourceLocation SpellingLoc, in createMacroArgExpansionLoc() argument
618 ExpansionInfo Info = ExpansionInfo::createForMacroArg(SpellingLoc, in createMacroArgExpansionLoc()
624 SourceManager::createExpansionLoc(SourceLocation SpellingLoc, in createExpansionLoc() argument
630 ExpansionInfo Info = ExpansionInfo::create(SpellingLoc, ExpansionLocStart, in createExpansionLoc()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DASTDumper.cpp409 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); in dumpLocation() local
413 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); in dumpLocation()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Serialization/
DASTReader.cpp1032 SourceLocation SpellingLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local
1033 SourceMgr.createExpansionLoc(SpellingLoc, in ReadSLocEntry()