Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Basic/
HDSourceLocation.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()
HDSourceManager.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()
/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDTokenConcatenation.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()
HDLexer.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()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDDiagnosticRenderer.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()
/NextBSD/contrib/llvm/tools/clang/lib/Tooling/Core/
HDReplacement.cpp135 SourceLocation SpellingBegin = Sources.getSpellingLoc(Range.getBegin()); in getRangeSize()
136 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd()); in getRangeSize()
149 setFromSourceLocation(Sources, Sources.getSpellingLoc(Range.getBegin()), in setFromSourceRange()
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDSourceManager.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()
HDSourceLocation.h285 FullSourceLoc getSpellingLoc() const;
/NextBSD/contrib/llvm/tools/clang/lib/Edit/
HDCommit.cpp251 SourceLocation spellLoc = SourceMgr.getSpellingLoc(loc); in canInsertAfterToken()
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDTransGCAttrs.cpp99 SM.getSpellingLoc(TL.getAttrEnumOperandLoc()), in handleAttr()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCoverageMappingGen.cpp112 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
139 return strcmp(SM.getBufferName(SM.getSpellingLoc(Loc)), "<built-in>") == 0; in isInBuiltin()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaChecking.cpp5129 SL = SM.getSpellingLoc(SL); in CheckMemaccessArguments()
5130 DSR = SourceRange(SM.getSpellingLoc(DSR.getBegin()), in CheckMemaccessArguments()
5131 SM.getSpellingLoc(DSR.getEnd())); in CheckMemaccessArguments()
5132 SSR = SourceRange(SM.getSpellingLoc(SSR.getBegin()), in CheckMemaccessArguments()
5133 SM.getSpellingLoc(SSR.getEnd())); in CheckMemaccessArguments()
5390 SL = SM.getSpellingLoc(SL); in CheckStrncatArguments()
5391 SR = SourceRange(SM.getSpellingLoc(SR.getBegin()), in CheckStrncatArguments()
5392 SM.getSpellingLoc(SR.getEnd())); in CheckStrncatArguments()
8406 SourceLocation RBracketLoc = SourceMgr.getSpellingLoc( in CheckArrayAccess()
8409 SourceLocation IndexLoc = SourceMgr.getSpellingLoc( in CheckArrayAccess()
HDSemaCodeComplete.cpp525 SemaRef.SourceMgr.getSpellingLoc(ND->getLocation())))) in isInterestingDecl()
HDSemaDeclCXX.cpp1945 SpellingLoc = getSourceManager().getSpellingLoc(SpellingLoc); in DiagnoseAbsenceOfOverrideControl()
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseExprCXX.cpp45 SourceLocation FirstLoc = SM.getSpellingLoc(First.getLocation()); in areTokensAdjacent()
47 return FirstEnd == SM.getSpellingLoc(Second.getLocation()); in areTokensAdjacent()
HDParseDeclCXX.cpp3563 PP.getSourceManager().getSpellingLoc(Tok.getLocation()); in TryParseCXX11AttributeIdentifier()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDBugReporterVisitors.cpp1571 Loc = Loc.getSpellingLoc(); in getEndPath()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDASTDumper.cpp573 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); in dumpLocation()
HDExpr.cpp1021 SourceLocation StrTokSpellingLoc = SM.getSpellingLoc(StrTokLoc); in getLocationOfByte()
HDASTImporter.cpp5685 FromLoc = FromSM.getSpellingLoc(FromLoc); in Import()
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTWriter.cpp1908 Record.push_back(Expansion.getSpellingLoc().getRawEncoding()); in WriteSourceManagerBlock()