/openbsd/gnu/llvm/clang/lib/Basic/ |
H A D | SourceLocation.cpp | 84 SM.getSpellingLoc(*this).print(OS, SM); in print() 131 PrintedLoc = PrintDifference(OS, SM, SM.getSpellingLoc(Loc), PrintedLoc); in PrintDifference() 173 FullSourceLoc FullSourceLoc::getSpellingLoc() const { in getSpellingLoc() function in FullSourceLoc 175 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); in getSpellingLoc()
|
H A D | SourceManager.cpp | 955 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc(); in getSpellingLocSlowCase() 997 Loc = E->getExpansion().getSpellingLoc(); in getDecomposedSpellingLocSlowCase() 1015 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc(); in getImmediateSpellingLoc() 1823 ExpInfo.getSpellingLoc(), in computeMacroArgsCache() 1860 Info.getSpellingLoc().getLocWithOffset(SpellRelativeOffs), in associateFileChunkWithMacroArgExp() 2211 out << " spelling from " << EI.getSpellingLoc().getOffset() << "\n"; in dump()
|
/openbsd/gnu/llvm/clang/lib/Lex/ |
H A D | TokenConcatenation.cpp | 54 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix() 137 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar() 172 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation()); in AvoidConcat() 173 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat()
|
H A D | Lexer.cpp | 569 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() 836 SourceLocation spellLoc = SM.getSpellingLoc(loc); in isAtEndOfMacroExpansion() 1016 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() 1033 Loc = SM.getSpellingLoc(Loc); in getImmediateMacroName() 1053 SourceLocation SpellLoc = SM.getSpellingLoc(Loc); in getImmediateMacroNameForDiagnostics() 1060 Loc = SM.getSpellingLoc(SM.getImmediateExpansionRange(Loc).getBegin()); in getImmediateMacroNameForDiagnostics() 1137 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc()
|
H A D | Preprocessor.cpp | 506 SourceLocation SpellingLoc = SM.getSpellingLoc(Loc); in SplitToken()
|
/openbsd/gnu/llvm/clang/lib/Tooling/Refactoring/ |
H A D | Lookup.cpp | 146 UseLoc = SM.getSpellingLoc(UseLoc); in disambiguateSpellingInScope() 165 SM.getSpellingLoc(Res->getLocation()), UseLoc)) in disambiguateSpellingInScope()
|
H A D | ASTSelection.cpp | 91 FileLoc = SM.getSpellingLoc(DeclRange.getBegin()); in TraverseDecl()
|
H A D | AtomicChange.cpp | 200 FullKeyPosition.getSpellingLoc().getDecomposedLoc(); in AtomicChange()
|
/openbsd/gnu/llvm/clang/lib/Tooling/Transformer/ |
H A D | SourceCode.cpp | 96 Loc = Expansion.getSpellingLoc(); in spelledInMacroDefinition() 116 auto B = SM.getSpellingLoc(EditRange.getBegin()); in getRange() 117 auto E = SM.getSpellingLoc(EditRange.getEnd()); in getRange()
|
H A D | RewriteRule.cpp | 99 Result.SourceManager->getSpellingLoc(Range->getBegin()); in noopEdit()
|
/openbsd/gnu/llvm/clang/include/clang/Basic/ |
H A D | JsonSupport.h | 125 printSourceLocationAsJson(Out, SM.getSpellingLoc(Loc), SM, true);
|
H A D | SourceManager.h | 373 SourceLocation getSpellingLoc() const { in getSpellingLoc() function 1216 SourceLocation getSpellingLoc(SourceLocation Loc) const { in getSpellingLoc() function 1526 if (isWrittenInScratchSpace(getSpellingLoc(loc))) { in isInSystemMacro() 1529 } while (isWrittenInScratchSpace(getSpellingLoc(loc))); in isInSystemMacro() 1533 return isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro()
|
H A D | SourceLocation.h | 390 FullSourceLoc getSpellingLoc() const;
|
/openbsd/gnu/llvm/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 415 Begin = SM->getSpellingLoc(Begin); in mapDiagnosticRanges() 416 End = SM->getSpellingLoc(End); in mapDiagnosticRanges() 439 FullSourceLoc SpellingLoc = Loc.getSpellingLoc(); in emitSingleMacroExpansion()
|
/openbsd/gnu/llvm/clang/lib/Tooling/Core/ |
H A D | Replacement.cpp | 137 SourceLocation SpellingBegin = Sources.getSpellingLoc(Range.getBegin()); in getRangeSize() 138 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd()); in getRangeSize() 151 setFromSourceLocation(Sources, Sources.getSpellingLoc(Range.getBegin()), in setFromSourceRange()
|
/openbsd/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRLocFinder.cpp | 49 FullLoc.getSpellingLoc().getDecomposedLoc(); in IsValidEditLoc() 75 Loc = SM.getSpellingLoc(Loc); in visitSymbolOccurrence()
|
/openbsd/gnu/llvm/clang/lib/Edit/ |
H A D | EditedSource.cpp | 47 StringRef ArgName = Lexer::getSpelling(SourceMgr.getSpellingLoc(DefArgLoc), in deconstructMacroArgLoc() 52 SourceMgr.getSpellingLoc(DefArgLoc)}; in deconstructMacroArgLoc()
|
H A D | Commit.cpp | 255 SourceLocation spellLoc = SourceMgr.getSpellingLoc(loc); in canInsertAfterToken()
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CoverageMappingGen.cpp | 232 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd() 259 return SM.getBufferName(SM.getSpellingLoc(Loc)) == "<built-in>"; in isInBuiltin() 305 if (SM.isInSystemHeader(SM.getSpellingLoc(Loc))) in gatherFileIDs() 420 if (SM.isInSystemHeader(SM.getSpellingLoc(LocStart))) in emitSourceRegions() 1004 if (Body && SM.isInSystemHeader(SM.getSpellingLoc(getStart(Body)))) in VisitDecl()
|
/openbsd/gnu/llvm/clang/lib/Tooling/Syntax/ |
H A D | Tokens.cpp | 113 First = ExpFirst.getSpellingLoc().getLocWithOffset(DecFirst.second); in spelledForExpandedSlow() 114 Last = ExpLast.getSpellingLoc().getLocWithOffset(DecLast.second); in spelledForExpandedSlow() 146 Bound = ExpBound.getSpellingLoc().getLocWithOffset(DecBound.second); in spelledForExpandedSlow()
|
/openbsd/gnu/llvm/clang/lib/ASTMatchers/ |
H A D | ASTMatchersInternal.cpp | 684 StringRef TokenText = Lexer::getSpelling(SM.getSpellingLoc(Loc), Buffer, SM, in isTokenAtLoc() 701 MacroName, Expansion.getSpellingLoc(), Context)) in getExpansionLocOfMacro()
|
/openbsd/gnu/llvm/clang/lib/Analysis/ |
H A D | PathDiagnostic.cpp | 339 const FileEntry *XFE = SM.getFileEntryForID(XL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs() 340 const FileEntry *YFE = SM.getFileEntryForID(YL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs()
|
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NullabilityChecker.cpp | 857 StringRef FilePath = SM.getFilename(SM.getSpellingLoc(Decl->getBeginLoc())); in checkPostCall()
|
H A D | LocalizationChecker.cpp | 1140 SL = SE.getExpansion().getSpellingLoc(); in VisitObjCMessageExpr()
|
/openbsd/gnu/llvm/clang/lib/Tooling/ASTDiff/ |
H A D | ASTDiff.cpp | 181 if (SLoc != SrcMgr.getSpellingLoc(SLoc)) in isNodeExcluded()
|