Home
last modified time | relevance | path

Searched refs:getBufferData (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriter.cpp149 StringRef MB = SourceMgr->getBufferData(FID); in getEditBuffer()
165 StringRef MB = SourceMgr->getBufferData(FID); in InsertText()
242 StringRef MB = SourceMgr->getBufferData(FID); in ReplaceText()
266 StringRef MB = SourceMgr->getBufferData(FID); in IncreaseIndentation()
H A DHTMLRewrite.cpp49 const char *BufferStart = SM.getBufferData(FID, &Invalid).data(); in HighlightRange()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnalyzer.cpp70 Env->SM.getBufferData(Env->ID); in make()
88 Env.getSourceManager().getBufferData(Env.getFileID()))) { in TokenAnalyzer()
H A DDefinitionBlockSeparator.cpp73 Env.getSourceManager().getBufferData(Env.getFileID()), in separateBlocks()
H A DSortJavaScriptImports.cpp134 FileContents(Env.getSourceManager().getBufferData(Env.getFileID())) { in JavaScriptImportSorter()
H A DFormatTokenLexer.cpp1582 StringRef Buffer = SourceMgr.getBufferData(ID); in resetLexer()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp272 StringRef FullSourceLoc::getBufferData(bool *Invalid) const { in getBufferData() function in FullSourceLoc
274 return SrcMgr->getBufferData(SrcMgr->getFileID(*this), Invalid); in getBufferData()
H A DSourceManager.cpp765 StringRef SourceManager::getBufferData(FileID FID, bool *Invalid) const { in getBufferData() function in SourceManager
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRawCommentList.cpp132 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()
H A DCommentLexer.cpp910 StringRef File = SourceMgr.getBufferData(LocInfo.first, &InvalidTemp); in getSpelling()
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoring.cpp81 StringRef Code = SM.getBufferData(ID); in formatAndApplyAllReplacements()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp231 llvm::StringRef File = SM.getBufferData(FileOffset.first, &Invalid); in getEntityEndLoc()
468 SM.getBufferData(SM.getFileID(Range.getBegin()), &Invalid); in getAssociatedRange()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp388 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()
1046 StringRef file = SM.getBufferData(beginInfo.first, &invalidTemp); in getSourceText()
1099 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroName()
1126 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroNameForDiagnostics()
1162 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getIndentationForLine()
1336 StringRef File = SM.getBufferData(LocInfo.first, &InvalidTemp); in findNextToken()
H A DTokenLexer.cpp825 = SourceMgr.getBufferData(LocFileID, &Invalid).data(); in pasteTokens()
H A DPreprocessor.cpp514 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in SplitToken()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DCommit.cpp331 StringRef file = SourceMgr.getBufferData(Offs.getFID(), &invalidTemp); in canReplaceText()
H A DEditedSource.cpp344 StringRef buffer = SM.getBufferData(offs.getFID(), &Invalid); in adjustRemoval()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h423 StringRef getBufferData(bool *Invalid = nullptr) const;
H A DSourceManager.h1106 StringRef getBufferData(FileID FID, bool *Invalid = nullptr) const;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp179 StringRef Data = SMgr.getBufferData(FID, &Invalid); in isSuppressed()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp218 StringRef Text = SM.getBufferData(File, &Invalid); in text()
589 auto SrcBuffer = SM.getBufferData(FR.file()); in tokenize()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp1036 StringRef BufferInfo = L.getBufferData(); in HandlePiece()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1307 StringRef BufData = Loc.getBufferData(&Invalid); in emitSnippetAndCaret()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1341 StringRef BufData = SM.getBufferData(FIDAndOffset.first, &Invalid); in getVisualIndentation()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp316 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in LocPropertyAttribute()

12