Searched refs:SpellingLoc (Results 1 – 9 of 9) sorted by relevance
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 305 unsigned SpellingLoc; variable 317 return SourceLocation::getFromRawEncoding(SpellingLoc); in getSpellingLoc() 354 static ExpansionInfo create(SourceLocation SpellingLoc, in create() argument 357 X.SpellingLoc = SpellingLoc.getRawEncoding(); in create() 382 static ExpansionInfo createForMacroArg(SourceLocation SpellingLoc, in createForMacroArg() argument 387 return create(SpellingLoc, ExpansionLoc, SourceLocation()); in createForMacroArg() 987 FileID getFileID(SourceLocation SpellingLoc) const { in getFileID() argument 988 unsigned SLocOffset = SpellingLoc.getOffset(); in getFileID() 998 StringRef getFilename(SourceLocation SpellingLoc) const { in getFilename() argument 999 if (const FileEntry *F = getFileEntryForID(getFileID(SpellingLoc))) in getFilename() [all …]
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 428 SourceLocation SpellingLoc = SM.getSpellingLoc(Loc); in emitSingleMacroExpansion() local 443 emitDiagnostic(SpellingLoc, DiagnosticsEngine::Note, Message.str(), in emitSingleMacroExpansion()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 164 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() 1057 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc() local 1058 SpellingLoc = SpellingLoc.getLocWithOffset(CharNo); in GetMappedTokenLoc() 1065 return SM.createExpansionLoc(SpellingLoc, II.first, II.second, TokLen); in GetMappedTokenLoc()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 120 static Lexer *Create_PragmaLexer(SourceLocation SpellingLoc,
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 591 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/ |
D | ASTDumper.cpp | 593 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); in dumpLocation() local 597 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); in dumpLocation()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 3637 SourceLocation SpellingLoc = in TryParseCXX11AttributeIdentifier() local 3639 StringRef Spelling = PP.getSpelling(SpellingLoc, SpellingBuf); in TryParseCXX11AttributeIdentifier()
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 1951 SourceLocation SpellingLoc = Loc; in DiagnoseAbsenceOfOverrideControl() local 1953 SpellingLoc = getSourceManager().getImmediateExpansionRange(Loc).first; in DiagnoseAbsenceOfOverrideControl() 1954 SpellingLoc = getSourceManager().getSpellingLoc(SpellingLoc); in DiagnoseAbsenceOfOverrideControl() 1955 if (SpellingLoc.isValid() && getSourceManager().isInSystemHeader(SpellingLoc)) in DiagnoseAbsenceOfOverrideControl()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 1329 SourceLocation SpellingLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local 1330 SourceMgr.createExpansionLoc(SpellingLoc, in ReadSLocEntry()
|