Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/tools/clang/lib/Basic/
DSourceLocation.cpp60 SM.getSpellingLoc(*this).print(OS, SM); in print()
90 FullSourceLoc FullSourceLoc::getSpellingLoc() const { in getSpellingLoc() function in FullSourceLoc
92 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); in getSpellingLoc()
DSourceManager.cpp930 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc(); in getSpellingLocSlowCase()
972 Loc = E->getExpansion().getSpellingLoc(); in getDecomposedSpellingLocSlowCase()
990 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc(); in getImmediateSpellingLoc()
1873 ExpInfo.getSpellingLoc(), in computeMacroArgsCache()
1910 Info.getSpellingLoc().getLocWithOffset(SpellRelativeOffs), in associateFileChunkWithMacroArgExp()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/
DTokenConcatenation.cpp55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix()
130 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar()
160 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation()); in AvoidConcat()
161 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat()
DLexer.cpp537 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken()
829 SourceLocation spellLoc = SM.getSpellingLoc(loc); in isAtEndOfMacroExpansion()
996 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName()
1013 Loc = SM.getSpellingLoc(Loc); in getImmediateMacroName()
1050 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc()
/freebsd-10-stable/contrib/llvm/tools/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()
374 Begin = SM->getSpellingLoc(Begin); in mapDiagnosticRanges()
375 End = SM->getSpellingLoc(End); in mapDiagnosticRanges()
452 SpellingLoc = SM.getSpellingLoc(SpellingLoc); in emitMacroExpansions()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Tooling/
DRefactoring.cpp125 SourceLocation SpellingBegin = Sources.getSpellingLoc(Range.getBegin()); in getRangeSize()
126 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd()); in getRangeSize()
139 setFromSourceLocation(Sources, Sources.getSpellingLoc(Range.getBegin()), in setFromSourceRange()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/
DSourceManager.h310 SourceLocation getSpellingLoc() const { in getSpellingLoc() function
1072 SourceLocation getSpellingLoc(SourceLocation Loc) const { in getSpellingLoc() function
1332 return loc.isMacroID() && isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro()
DSourceLocation.h285 FullSourceLoc getSpellingLoc() const;
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Edit/
DCommit.cpp253 SourceLocation spellLoc = SourceMgr.getSpellingLoc(loc); in canInsertAfterToken()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/ARCMigrate/
DTransGCAttrs.cpp99 SM.getSpellingLoc(TL.getAttrEnumOperandLoc()), in handleAttr()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaChecking.cpp3704 SL = SM.getSpellingLoc(SL); in CheckMemaccessArguments()
3705 DSR = SourceRange(SM.getSpellingLoc(DSR.getBegin()), in CheckMemaccessArguments()
3706 SM.getSpellingLoc(DSR.getEnd())); in CheckMemaccessArguments()
3707 SSR = SourceRange(SM.getSpellingLoc(SSR.getBegin()), in CheckMemaccessArguments()
3708 SM.getSpellingLoc(SSR.getEnd())); in CheckMemaccessArguments()
3949 SL = SM.getSpellingLoc(SL); in CheckStrncatArguments()
3950 SR = SourceRange(SM.getSpellingLoc(SR.getBegin()), in CheckStrncatArguments()
3951 SM.getSpellingLoc(SR.getEnd())); in CheckStrncatArguments()
6410 SourceLocation RBracketLoc = SourceMgr.getSpellingLoc( in CheckArrayAccess()
6413 SourceLocation IndexLoc = SourceMgr.getSpellingLoc( in CheckArrayAccess()
DSemaCodeComplete.cpp524 SemaRef.SourceMgr.getSpellingLoc(ND->getLocation())))) in isInterestingDecl()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Parse/
DParseExprCXX.cpp42 SourceLocation FirstLoc = SM.getSpellingLoc(First.getLocation()); in areTokensAdjacent()
44 return FirstEnd == SM.getSpellingLoc(Second.getLocation()); in areTokensAdjacent()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp1586 Loc = Loc.getSpellingLoc(); in getEndPath()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DASTDumper.cpp409 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); in dumpLocation()
DExpr.cpp995 SourceLocation StrTokSpellingLoc = SM.getSpellingLoc(StrTokLoc); in getLocationOfByte()
DASTImporter.cpp4903 FromLoc = FromSM.getSpellingLoc(FromLoc); in Import()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Serialization/
DASTWriter.cpp1741 Record.push_back(Expansion.getSpellingLoc().getRawEncoding()); in WriteSourceManagerBlock()