/freebsd/contrib/llvm-project/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 | 618 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() 900 SourceLocation spellLoc = SM.getSpellingLoc(loc); in isAtEndOfMacroExpansion() 1080 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName() 1097 Loc = SM.getSpellingLoc(Loc); in getImmediateMacroName() 1117 SourceLocation SpellLoc = SM.getSpellingLoc(Loc); in getImmediateMacroNameForDiagnostics() 1124 Loc = SM.getSpellingLoc(SM.getImmediateExpansionRange(Loc).getBegin()); in getImmediateMacroNameForDiagnostics() 1201 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc()
|
H A D | Preprocessor.cpp | 513 SourceLocation SpellingLoc = SM.getSpellingLoc(Loc); in SplitToken()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | SourceCode.cpp | 96 Loc = Expansion.getSpellingLoc(); in spelledInMacroDefinition() 165 auto B = SM.getSpellingLoc(AdjustedRange.getBegin()); in getRange() 166 auto E = SM.getSpellingLoc(AdjustedRange.getEnd()); in getRange()
|
H A D | RewriteRule.cpp | 99 Result.SourceManager->getSpellingLoc(Range->getBegin()); in noopEdit()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CoverageMappingGen.cpp | 286 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd() 316 SM.isWrittenInScratchSpace(SM.getSpellingLoc(Loc))) { in getNonScratchExpansionLoc() 339 return SM.getBufferName(SM.getSpellingLoc(Loc)) == "<built-in>"; in isInBuiltin() 392 auto BeginLoc = SM.getSpellingLoc(Loc); in gatherFileIDs() 393 auto EndLoc = SM.getSpellingLoc(Region.getEndLoc()); in gatherFileIDs() 406 !SM.isInSystemHeader(SM.getSpellingLoc(Loc))); in gatherFileIDs() 522 SM.isInSystemHeader(SM.getSpellingLoc(LocStart))) { in emitSourceRegions() 1478 SM.isInSystemHeader(SM.getSpellingLoc(getStart(Body)))) in VisitDecl() 2207 SM.isInSystemHeader(SM.getSpellingLoc(E->getOperatorLoc())) && in isExprInSystemHeader() 2208 SM.isInSystemHeader(SM.getSpellingLoc(E->getBeginLoc())) && in isExprInSystemHeader() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SourceManager.h | 379 SourceLocation getSpellingLoc() const { in getSpellingLoc() function 1242 SourceLocation getSpellingLoc(SourceLocation Loc) const { in getSpellingLoc() function 1552 if (isWrittenInScratchSpace(getSpellingLoc(loc))) { in isInSystemMacro() 1555 } while (isWrittenInScratchSpace(getSpellingLoc(loc))); in isInSystemMacro() 1559 return isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro()
|
H A D | SourceLocation.h | 391 FullSourceLoc getSpellingLoc() const;
|
/freebsd/contrib/llvm-project/clang/lib/Edit/ |
H A D | EditedSource.cpp | 47 StringRef ArgName = Lexer::getSpelling(SourceMgr.getSpellingLoc(DefArgLoc), in deconstructMacroArgLoc() 52 SourceMgr.getSpellingLoc(DefArgLoc)}; in deconstructMacroArgLoc()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | SourceManager.cpp | 905 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc(); in getSpellingLocSlowCase() 947 Loc = E->getExpansion().getSpellingLoc(); in getDecomposedSpellingLocSlowCase() 965 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc(); in getImmediateSpellingLoc() 1772 ExpInfo.getSpellingLoc(), in computeMacroArgsCache() 1809 Info.getSpellingLoc().getLocWithOffset(SpellRelativeOffs), in associateFileChunkWithMacroArgExp() 2219 out << " spelling from " << EI.getSpellingLoc().getOffset() << "\n"; in dump()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
H A D | ASTSelection.cpp | 91 FileLoc = SM.getSpellingLoc(DeclRange.getBegin()); in TraverseDecl()
|
H A D | AtomicChange.cpp | 200 FullKeyPosition.getSpellingLoc().getDecomposedLoc(); in AtomicChange()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
H A D | Tokens.cpp | 111 First = ExpFirst.getSpellingLoc().getLocWithOffset(DecFirst.second); in spelledForExpandedSlow() 112 Last = ExpLast.getSpellingLoc().getLocWithOffset(DecLast.second); in spelledForExpandedSlow()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | PathDiagnostic.cpp | 338 SM.getFileEntryRefForID(XL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs() 340 SM.getFileEntryRefForID(YL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NullabilityChecker.cpp | 892 StringRef FilePath = SM.getFilename(SM.getSpellingLoc(Decl->getBeginLoc())); in checkPostCall()
|
H A D | LocalizationChecker.cpp | 1134 SL = SE.getExpansion().getSpellingLoc(); in VisitObjCMessageExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 7505 SourceLocation EndLoc = S.SourceMgr.getSpellingLoc(E->getEndLoc()); in checkFormatExpr() 8716 SL = SM.getSpellingLoc(SL); in CheckMemaccessArguments() 8717 DSR = SourceRange(SM.getSpellingLoc(DSR.getBegin()), in CheckMemaccessArguments() 8718 SM.getSpellingLoc(DSR.getEnd())); in CheckMemaccessArguments() 8719 SSR = SourceRange(SM.getSpellingLoc(SSR.getBegin()), in CheckMemaccessArguments() 8720 SM.getSpellingLoc(SSR.getEnd())); in CheckMemaccessArguments() 8987 SL = SM.getSpellingLoc(SL); in CheckStrncatArguments() 8988 SR = SourceRange(SM.getSpellingLoc(SR.getBegin()), in CheckStrncatArguments() 8989 SM.getSpellingLoc(SR.getEnd())); in CheckStrncatArguments() 13230 SourceLocation RBracketLoc = SourceMgr.getSpellingLoc( in CheckArrayAccess() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseExprCXX.cpp | 52 SourceLocation FirstLoc = SM.getSpellingLoc(First.getLocation()); in areTokensAdjacent() 54 return FirstEnd == SM.getSpellingLoc(Second.getLocation()); in areTokensAdjacent()
|
H A D | ParseDeclCXX.cpp | 4512 PP.getSourceManager().getSpellingLoc(Tok.getLocation()); in TryParseCXX11AttributeIdentifier()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | JSONNodeDumper.cpp | 316 SourceLocation Spelling = SM.getSpellingLoc(Loc); in writeSourceLocation()
|
H A D | Decl.cpp | 5530 return SM.getSpellingLoc(TTLoc) == SM.getSpellingLoc(TDLoc); in isTransparentTagSlow()
|
H A D | TextNodeDumper.cpp | 765 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); in dumpLocation()
|
H A D | Expr.cpp | 1355 SourceLocation StrTokSpellingLoc = SM.getSpellingLoc(StrTokLoc); in getLocationOfByte()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporterVisitors.cpp | 3388 Loc = Loc.getSpellingLoc(); in finalizeVisitor()
|