Home
last modified time | relevance | path

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

/external/clang/include/clang/Basic/
DSourceManager.h314 unsigned SpellingLoc; variable
326 return SourceLocation::getFromRawEncoding(SpellingLoc); in getSpellingLoc()
363 static ExpansionInfo create(SourceLocation SpellingLoc, in create() argument
366 X.SpellingLoc = SpellingLoc.getRawEncoding(); in create()
391 static ExpansionInfo createForMacroArg(SourceLocation SpellingLoc, in createForMacroArg() argument
396 return create(SpellingLoc, ExpansionLoc, SourceLocation()); in createForMacroArg()
964 FileID getFileID(SourceLocation SpellingLoc) const { in getFileID() argument
965 unsigned SLocOffset = SpellingLoc.getOffset(); in getFileID()
975 StringRef getFilename(SourceLocation SpellingLoc) const { in getFilename() argument
976 if (const FileEntry *F = getFileEntryForID(getFileID(SpellingLoc))) in getFilename()
[all …]
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp453 SourceLocation SpellingLoc = Loc; in emitMacroExpansions() local
457 SpellingLoc = SM.getImmediateExpansionRange(Loc).first; in emitMacroExpansions()
458 SpellingLoc = SM.getSpellingLoc(SpellingLoc); in emitMacroExpansions()
471 emitDiagnostic(SpellingLoc, DiagnosticsEngine::Note, Message.str(), in emitMacroExpansions()
/external/clang/lib/Lex/
DLexer.cpp170 Lexer *Lexer::Create_PragmaLexer(SourceLocation SpellingLoc, in Create_PragmaLexer() argument
177 FileID SpellingFID = SM.getFileID(SpellingLoc); in Create_PragmaLexer()
184 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer()
1036 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc() local
1037 SpellingLoc = SpellingLoc.getLocWithOffset(CharNo); in GetMappedTokenLoc()
1044 return SM.createExpansionLoc(SpellingLoc, II.first, II.second, TokLen); in GetMappedTokenLoc()
/external/clang/include/clang/Lex/
DLexer.h120 static Lexer *Create_PragmaLexer(SourceLocation SpellingLoc,
/external/clang/lib/Basic/
DSourceManager.cpp602 SourceManager::createMacroArgExpansionLoc(SourceLocation SpellingLoc, in createMacroArgExpansionLoc() argument
605 ExpansionInfo Info = ExpansionInfo::createForMacroArg(SpellingLoc, in createMacroArgExpansionLoc()
611 SourceManager::createExpansionLoc(SourceLocation SpellingLoc, in createExpansionLoc() argument
617 ExpansionInfo Info = ExpansionInfo::create(SpellingLoc, ExpansionLocStart, in createExpansionLoc()
/external/clang/lib/AST/
DASTDumper.cpp452 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); in dumpLocation() local
456 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); in dumpLocation()
/external/clang/lib/Serialization/
DASTReader.cpp1263 SourceLocation SpellingLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local
1264 SourceMgr.createExpansionLoc(SpellingLoc, in ReadSLocEntry()