Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnalyzer.cpp73 Env->SM.getBufferData(Env->ID); in make()
91 Env.getSourceManager().getBufferData(Env.getFileID()))) { in TokenAnalyzer()
H A DSortJavaScriptImports.cpp136 FileContents(Env.getSourceManager().getBufferData(Env.getFileID())) { in JavaScriptImportSorter()
H A DFormatTokenLexer.cpp1451 StringRef Buffer = SourceMgr.getBufferData(ID); in resetLexer()
H A DFormat.cpp2440 Env.getSourceManager().getBufferData(Env.getFileID()), in analyze()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp144 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()
/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.cpp389 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in getSpelling()
525 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getRawToken()
570 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getBeginningOfFileToken()
1050 StringRef file = SM.getBufferData(beginInfo.first, &invalidTemp); in getSourceText()
1103 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroName()
1130 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroNameForDiagnostics()
1166 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getIndentationForLine()
1339 StringRef File = SM.getBufferData(LocInfo.first, &InvalidTemp); in findNextToken()
H A DTokenLexer.cpp825 = SourceMgr.getBufferData(LocFileID, &Invalid).data(); in pasteTokens()
H A DPreprocessor.cpp516 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in SplitToken()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h421 StringRef getBufferData(bool *Invalid = nullptr) const;
H A DSourceManager.h1102 StringRef getBufferData(FileID FID, bool *Invalid = nullptr) const;
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp220 StringRef Text = SM.getBufferData(File, &Invalid); in text()
591 auto SrcBuffer = SM.getBufferData(FR.file()); in tokenize()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DEditedSource.cpp346 StringRef buffer = SM.getBufferData(offs.getFID(), &Invalid); in adjustRemoval()
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp50 const char *BufferStart = SM.getBufferData(FID, &Invalid).data(); in HighlightRange()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentLexer.cpp853 StringRef File = SourceMgr.getBufferData(LocInfo.first, &InvalidTemp); in getSpelling()
H A DExpr.cpp1361 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getLocationOfByte()
H A DASTContext.cpp278 const char *Buffer = SourceMgr.getBufferData(DeclLocDecomp.first, in getRawCommentForDeclNoCacheImpl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp1038 StringRef BufferInfo = L.getBufferData(); in HandlePiece()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1310 StringRef BufData = Loc.getBufferData(&Invalid); in emitSnippetAndCaret()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp752 StringRef SourceManager::getBufferData(FileID FID, bool *Invalid) const { in getBufferData() function in SourceManager
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1434 StringRef BufData = SM.getBufferData(FIDAndOffset.first, &Invalid); in getVisualIndentation()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp315 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in LocPropertyAttribute()
H A DSemaDecl.cpp15931 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in ActOnFinishFunctionBody()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp807 StringRef MainBuf = SM->getBufferData(MainFileID); in RewriteInclude()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp392 StringRef Source = SM.getBufferData(FID, &SourceInvalid); in getSource()