Home
last modified time | relevance | path

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

/external/clang/include/clang/Basic/
DSourceManager.h306 unsigned SpellingLoc; variable
318 return SourceLocation::getFromRawEncoding(SpellingLoc); in getSpellingLoc()
355 static ExpansionInfo create(SourceLocation SpellingLoc, in create() argument
358 X.SpellingLoc = SpellingLoc.getRawEncoding(); in create()
383 static ExpansionInfo createForMacroArg(SourceLocation SpellingLoc, in createForMacroArg() argument
388 return create(SpellingLoc, ExpansionLoc, SourceLocation()); in createForMacroArg()
979 FileID getFileID(SourceLocation SpellingLoc) const { in getFileID() argument
980 unsigned SLocOffset = SpellingLoc.getOffset(); in getFileID()
990 StringRef getFilename(SourceLocation SpellingLoc) const { in getFilename() argument
991 if (const FileEntry *F = getFileEntryForID(getFileID(SpellingLoc))) in getFilename()
[all …]
/external/clang/lib/Lex/
DLexer.cpp164 Lexer *Lexer::Create_PragmaLexer(SourceLocation SpellingLoc, in Create_PragmaLexer() argument
171 FileID SpellingFID = SM.getFileID(SpellingLoc); in Create_PragmaLexer()
178 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer()
1030 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc() local
1031 SpellingLoc = SpellingLoc.getLocWithOffset(CharNo); in GetMappedTokenLoc()
1038 return SM.createExpansionLoc(SpellingLoc, II.first, II.second, TokLen); in GetMappedTokenLoc()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp469 SourceLocation SpellingLoc = SM.getSpellingLoc(Loc); in emitSingleMacroExpansion() local
483 emitDiagnostic(SpellingLoc, DiagnosticsEngine::Note, Message.str(), in emitSingleMacroExpansion()
/external/clang/include/clang/Lex/
DLexer.h120 static Lexer *Create_PragmaLexer(SourceLocation SpellingLoc,
/external/clang/lib/Basic/
DSourceManager.cpp591 SourceManager::createMacroArgExpansionLoc(SourceLocation SpellingLoc, in createMacroArgExpansionLoc() argument
594 ExpansionInfo Info = ExpansionInfo::createForMacroArg(SpellingLoc, in createMacroArgExpansionLoc()
600 SourceManager::createExpansionLoc(SourceLocation SpellingLoc, in createExpansionLoc() argument
606 ExpansionInfo Info = ExpansionInfo::create(SpellingLoc, ExpansionLocStart, in createExpansionLoc()
/external/clang/lib/AST/
DASTDumper.cpp575 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); in dumpLocation() local
579 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); in dumpLocation()
/external/clang/lib/Parse/
DParseDeclCXX.cpp3612 SourceLocation SpellingLoc = in TryParseCXX11AttributeIdentifier() local
3614 StringRef Spelling = PP.getSpelling(SpellingLoc, SpellingBuf); in TryParseCXX11AttributeIdentifier()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp1948 SourceLocation SpellingLoc = Loc; in DiagnoseAbsenceOfOverrideControl() local
1950 SpellingLoc = getSourceManager().getImmediateExpansionRange(Loc).first; in DiagnoseAbsenceOfOverrideControl()
1951 SpellingLoc = getSourceManager().getSpellingLoc(SpellingLoc); in DiagnoseAbsenceOfOverrideControl()
1952 if (SpellingLoc.isValid() && getSourceManager().isInSystemHeader(SpellingLoc)) in DiagnoseAbsenceOfOverrideControl()
/external/clang/lib/Serialization/
DASTReader.cpp1309 SourceLocation SpellingLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local
1310 SourceMgr.createExpansionLoc(SpellingLoc, in ReadSLocEntry()