Home
last modified time | relevance | path

Searched refs:getSpellingLoc (Results 1 – 23 of 23) sorted by relevance

/external/clang/lib/Basic/
DSourceLocation.cpp60 SM.getSpellingLoc(*this).print(OS, SM); in print()
91 FullSourceLoc FullSourceLoc::getSpellingLoc() const { in getSpellingLoc() function in FullSourceLoc
93 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); in getSpellingLoc()
DSourceManager.cpp906 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc(); in getSpellingLocSlowCase()
948 Loc = E->getExpansion().getSpellingLoc(); in getDecomposedSpellingLocSlowCase()
966 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc(); in getImmediateSpellingLoc()
1823 ExpInfo.getSpellingLoc(), in computeMacroArgsCache()
1860 Info.getSpellingLoc().getLocWithOffset(SpellRelativeOffs), in associateFileChunkWithMacroArgExp()
/external/clang/lib/Lex/
DTokenConcatenation.cpp55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix()
134 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar()
164 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation()); in AvoidConcat()
165 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat()
DLexer.cpp518 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken()
809 SourceLocation spellLoc = SM.getSpellingLoc(loc); in isAtEndOfMacroExpansion()
976 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName()
993 Loc = SM.getSpellingLoc(Loc); in getImmediateMacroName()
1030 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp52 if (!SM.getFileEntryForID(SM.getFileID(SM.getSpellingLoc(Loc)))) in getImmediateMacroName()
58 Loc = SM.getSpellingLoc(SM.getImmediateExpansionRange(Loc).first); in getImmediateMacroName()
380 Begin = SM->getSpellingLoc(Begin); in mapDiagnosticRanges()
381 End = SM->getSpellingLoc(End); in mapDiagnosticRanges()
458 SpellingLoc = SM.getSpellingLoc(SpellingLoc); in emitMacroExpansions()
/external/clang/lib/Tooling/Core/
DReplacement.cpp128 SourceLocation SpellingBegin = Sources.getSpellingLoc(Range.getBegin()); in getRangeSize()
129 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd()); in getRangeSize()
142 setFromSourceLocation(Sources, Sources.getSpellingLoc(Range.getBegin()), in setFromSourceRange()
/external/clang/unittests/Lex/
DLexerTest.cpp324 SourceLocation fileLsqrLoc = SourceMgr.getSpellingLoc(macroLsqrLoc); in TEST_F()
325 SourceLocation fileIdLoc = SourceMgr.getSpellingLoc(macroIdLoc); in TEST_F()
326 SourceLocation fileRsqrLoc = SourceMgr.getSpellingLoc(macroRsqrLoc); in TEST_F()
/external/clang/include/clang/Basic/
DSourceManager.h311 SourceLocation getSpellingLoc() const { in getSpellingLoc() function
1062 SourceLocation getSpellingLoc(SourceLocation Loc) const { in getSpellingLoc() function
1325 return loc.isMacroID() && isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro()
DSourceLocation.h285 FullSourceLoc getSpellingLoc() const;
/external/clang/lib/Edit/
DCommit.cpp251 SourceLocation spellLoc = SourceMgr.getSpellingLoc(loc); in canInsertAfterToken()
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp99 SM.getSpellingLoc(TL.getAttrEnumOperandLoc()), in handleAttr()
/external/clang/lib/Sema/
DSemaChecking.cpp4821 SL = SM.getSpellingLoc(SL); in CheckMemaccessArguments()
4822 DSR = SourceRange(SM.getSpellingLoc(DSR.getBegin()), in CheckMemaccessArguments()
4823 SM.getSpellingLoc(DSR.getEnd())); in CheckMemaccessArguments()
4824 SSR = SourceRange(SM.getSpellingLoc(SSR.getBegin()), in CheckMemaccessArguments()
4825 SM.getSpellingLoc(SSR.getEnd())); in CheckMemaccessArguments()
5082 SL = SM.getSpellingLoc(SL); in CheckStrncatArguments()
5083 SR = SourceRange(SM.getSpellingLoc(SR.getBegin()), in CheckStrncatArguments()
5084 SM.getSpellingLoc(SR.getEnd())); in CheckStrncatArguments()
7995 SourceLocation RBracketLoc = SourceMgr.getSpellingLoc( in CheckArrayAccess()
7998 SourceLocation IndexLoc = SourceMgr.getSpellingLoc( in CheckArrayAccess()
DSemaCodeComplete.cpp525 SemaRef.SourceMgr.getSpellingLoc(ND->getLocation())))) in isInterestingDecl()
DSemaDeclCXX.cpp1971 SpellingLoc = getSourceManager().getSpellingLoc(SpellingLoc); in DiagnoseAbsenceOfOverrideControl()
/external/clang/lib/Parse/
DParseExprCXX.cpp45 SourceLocation FirstLoc = SM.getSpellingLoc(First.getLocation()); in areTokensAdjacent()
47 return FirstEnd == SM.getSpellingLoc(Second.getLocation()); in areTokensAdjacent()
DParseDeclCXX.cpp3534 PP.getSourceManager().getSpellingLoc(Tok.getLocation()); in TryParseCXX11AttributeIdentifier()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp112 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp1572 Loc = Loc.getSpellingLoc(); in getEndPath()
/external/clang/lib/AST/
DASTDumper.cpp569 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); in dumpLocation()
DExpr.cpp1021 SourceLocation StrTokSpellingLoc = SM.getSpellingLoc(StrTokLoc); in getLocationOfByte()
DASTImporter.cpp4946 FromLoc = FromSM.getSpellingLoc(FromLoc); in Import()
/external/clang/tools/libclang/
DCIndex.cpp150 unsigned Length = Lexer::MeasureTokenLength(SM.getSpellingLoc(EndLoc), in translateSourceRange()
7223 Loc = Unit->getSourceManager().getSpellingLoc(Loc); in checkForMacroInMacroDefinition()
/external/clang/lib/Serialization/
DASTWriter.cpp1894 Record.push_back(Expansion.getSpellingLoc().getRawEncoding()); in WriteSourceManagerBlock()