/llvm-project/clang-tools-extra/clangd/refactor/ |
H A D | Tweak.cpp | 67 Code = SM.getBufferData(SM.getMainFileID()); in Selection() 106 Edit Ed(SM.getBufferData(FID), std::move(Replacements)); in fileEdit()
|
/llvm-project/clang/lib/Rewrite/ |
H A D | Rewriter.cpp | 149 StringRef MB = SourceMgr->getBufferData(FID); in getRangeSize() 165 StringRef MB = SourceMgr->getBufferData(FID); in getRangeSize() 242 StringRef MB = SourceMgr->getBufferData(FID); in getEditBuffer() 266 StringRef MB = SourceMgr->getBufferData(FID); in InsertText()
|
/llvm-project/clang/lib/Format/ |
H A D | TokenAnalyzer.cpp | 73 Env->SM.getBufferData(Env->ID); in make() 91 Env.getSourceManager().getBufferData(Env.getFileID()))) { in TokenAnalyzer()
|
H A D | DefinitionBlockSeparator.cpp | 74 Env.getSourceManager().getBufferData(Env.getFileID()), in separateBlocks()
|
/llvm-project/clang/lib/AST/ |
H A D | RawCommentList.cpp | 132 SourceMgr.getBufferData(BeginFileID, &Invalid).data(); in RawComment() 169 const char *BufferStart = SourceMgr.getBufferData(BeginFileID, in getRawTextSlow() 235 const char *Buffer = SM.getBufferData(Loc1Info.first, &Invalid).data(); in onlyWhitespaceBetween()
|
/llvm-project/clang/lib/Basic/ |
H A D | SourceLocation.cpp | 274 StringRef FullSourceLoc::getBufferData(bool *Invalid) const { in getBufferData() function in FullSourceLoc 276 return SrcMgr->getBufferData(SrcMgr->getFileID(*this), Invalid); in getBufferData()
|
/llvm-project/clang-tools-extra/clang-tidy/llvmlibc/ |
H A D | InlineFunctionDeclCheck.cpp | 87 llvm::StringRef SrcText = Loc.getBufferData().drop_front(Loc.getFileOffset()); in check()
|
/llvm-project/clang-tools-extra/clang-tidy/utils/ |
H A D | LexerUtils.cpp | 127 StringRef File = SM.getBufferData(LocInfo.first); in rangeContainsExpansionsOrDirectives()
|
/llvm-project/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 144 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in findSemiAfterLocation() 392 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in rewritePropertyAttribute() 473 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in addPropertyAttribute()
|
/llvm-project/clang/lib/Tooling/ |
H A D | Refactoring.cpp | 83 StringRef Code = SM.getBufferData(ID); in formatAndApplyAllReplacements()
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | SourceCode.cpp | 222 llvm::StringRef Code = SM.getBufferData(FID, &Invalid); in sourceLocToPosition() 271 llvm::StringRef Buf = SM.getBufferData(IncludingFile, &Invalid); in includeHashLoc() 577 llvm::StringRef Content = SM.getBufferData(FID, &Invalid); in digestFile() 974 llvm::StringRef Code = SM.getBufferData(File, &Invalid); in touching() 1241 return SM.getBufferData(FID).starts_with(ProtoHeaderComment); in isProtoFile()
|
H A D | SemanticSelection.cpp | 118 auto Offset = positionToOffset(SM.getBufferData(FID), Pos); in getSemanticRanges()
|
/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | SourceCode.cpp | 231 llvm::StringRef File = SM.getBufferData(FileOffset.first, &Invalid); in getEntityEndLoc() 468 SM.getBufferData(SM.getFileID(Range.getBegin()), &Invalid); in getAssociatedRange()
|
/llvm-project/clang-tools-extra/clang-include-fixer/ |
H A D | IncludeFixer.cpp | 169 StringRef Code = CI->getSourceManager().getBufferData(FID); in MaybeDiagnoseMissingCompleteType() 290 StringRef Code = SM.getBufferData(FID); in CorrectTypo()
|
/llvm-project/clang-tools-extra/clang-tidy/google/ |
H A D | ExplicitConstructorCheck.cpp | 43 StringRef Buf = Sources.getBufferData(File); in findToken()
|
/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
H A D | UseTrailingReturnTypeCheck.cpp | 148 StringRef File = SM.getBufferData(Loc.first); in findTrailingReturnTypeSourceLocation() 229 StringRef File = SM.getBufferData(Loc.first); in classifyTokensBeforeFunctionName()
|
H A D | UseOverrideCheck.cpp | 60 StringRef File = Sources.getBufferData(LocInfo.first); in parseTokens()
|
/llvm-project/clang-tools-extra/clang-move/ |
H A D | Move.cpp | 289 llvm::StringRef File = SM.getBufferData(LocInfo.first, &InvalidTemp); in getLocForEndOfDecl() 782 llvm::StringRef Code = SM.getBufferData(SI->second); in removeDeclsInOldFiles() 860 StringRef Code = SM.getBufferData(ID); in moveAll()
|
/llvm-project/clang-tools-extra/clang-tidy/misc/ |
H A D | IncludeCleanerCheck.cpp | 195 llvm::StringRef Code = SM->getBufferData(SM->getMainFileID()); in check()
|
/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
H A D | ScopifyEnum.cpp | 96 SM->getBufferData(SM->getMainFileID()))); in apply()
|
/llvm-project/clang/lib/Lex/ |
H A D | Lexer.cpp | 388 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in getSpelling() 524 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getRawToken() 569 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getBeginningOfFileToken() 1049 StringRef file = SM.getBufferData(beginInfo.first, &invalidTemp); in getSourceText() 1102 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroName() 1129 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroNameForDiagnostics() 1165 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getIndentationForLine() 1339 StringRef File = SM.getBufferData(LocInfo.first, &InvalidTemp); in findNextToken()
|
/llvm-project/clang-tools-extra/include-cleaner/tool/ |
H A D | IncludeCleaner.cpp | 181 llvm::StringRef Code = SM.getBufferData(SM.getMainFileID()); in EndSourceFile()
|
/llvm-project/clang/lib/Edit/ |
H A D | Commit.cpp | 332 StringRef file = SourceMgr.getBufferData(Offs.getFID(), &invalidTemp); in canReplaceText()
|
/llvm-project/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 421 StringRef getBufferData(bool *Invalid = nullptr) const;
|
/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
H A D | ArgumentCommentCheck.cpp | 91 StringRef Buffer = SM.getBufferData(BeginLoc.first, &Invalid); in getCommentsInRange()
|