Home
last modified time | relevance | path

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

1234

/external/llvm-project/clang-tools-extra/clangd/refactor/
DTweak.cpp54 Code = SM.getBufferData(SM.getMainFileID()); in Selection()
93 Edit Ed(SM.getBufferData(FID), std::move(Replacements)); in fileEdit()
/external/clang/lib/AST/
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()
/external/clang/lib/Rewrite/
DRewriter.cpp230 StringRef MB = SourceMgr->getBufferData(FID); in getEditBuffer()
246 StringRef MB = SourceMgr->getBufferData(FID); in InsertText()
323 StringRef MB = SourceMgr->getBufferData(FID); in ReplaceText()
347 StringRef MB = SourceMgr->getBufferData(FID); in IncreaseIndentation()
/external/llvm-project/clang/lib/Rewrite/
DRewriter.cpp247 StringRef MB = SourceMgr->getBufferData(FID); in getEditBuffer()
263 StringRef MB = SourceMgr->getBufferData(FID); in InsertText()
340 StringRef MB = SourceMgr->getBufferData(FID); in ReplaceText()
364 StringRef MB = SourceMgr->getBufferData(FID); in IncreaseIndentation()
/external/llvm-project/clang/lib/Basic/
DSourceLocation.cpp257 StringRef FullSourceLoc::getBufferData(bool *Invalid) const { in getBufferData() function in FullSourceLoc
259 return SrcMgr->getBufferData(SrcMgr->getFileID(*this), Invalid); in getBufferData()
/external/llvm-project/clang/lib/AST/
DRawCommentList.cpp133 SourceMgr.getBufferData(BeginFileID, &Invalid).data(); in RawComment()
170 const char *BufferStart = SourceMgr.getBufferData(BeginFileID, in getRawTextSlow()
236 const char *Buffer = SM.getBufferData(Loc1Info.first, &Invalid).data(); in onlyWhitespaceBetween()
/external/clang/lib/Tooling/
DRefactoring.cpp79 StringRef Code = SM.getBufferData(ID); in formatAndApplyAllReplacements()
/external/clang/lib/Basic/
DSourceLocation.cpp135 StringRef FullSourceLoc::getBufferData(bool *Invalid) const { in getBufferData() function in FullSourceLoc
/external/llvm-project/clang/lib/Tooling/
DRefactoring.cpp86 StringRef Code = SM.getBufferData(ID); in formatAndApplyAllReplacements()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseTrailingReturnTypeCheck.cpp140 StringRef File = SM.getBufferData(Loc.first); in findTrailingReturnTypeSourceLocation()
221 StringRef File = SM.getBufferData(Loc.first); in classifyTokensBeforeFunctionName()
298 StringRef File = SM.getBufferData(Loc.first); in findReturnTypeAndCVSourceRange()
DUseOverrideCheck.cpp50 StringRef File = Sources.getBufferData(LocInfo.first); in ParseTokens()
/external/llvm-project/clang/lib/Tooling/Transformer/
DSourceCode.cpp138 llvm::StringRef File = SM.getBufferData(FileOffset.first, &Invalid); in getEntityEndLoc()
375 SM.getBufferData(SM.getFileID(Range.getBegin()), &Invalid); in getAssociatedRange()
/external/llvm-project/clang/lib/ARCMigrate/
DTransforms.cpp145 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in findSemiAfterLocation()
393 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in rewritePropertyAttribute()
474 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in addPropertyAttribute()
/external/clang/lib/ARCMigrate/
DTransforms.cpp150 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in findSemiAfterLocation()
397 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in rewritePropertyAttribute()
478 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in addPropertyAttribute()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DAvoidConstParamsInDecls.cpp55 StringRef File = Sources.getBufferData(LocInfo.first); in ConstTok()
/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.cpp224 llvm::StringRef Code = SM.getBufferData(FID, &Invalid); in sourceLocToPosition()
265 llvm::StringRef Buf = SM.getBufferData(IncludingFile, &Invalid); in includeHashLoc()
567 llvm::StringRef Content = SM.getBufferData(FID, &Invalid); in digestFile()
944 llvm::StringRef Code = SM.getBufferData(File, &Invalid); in touching()
1117 return SM.getBufferData(FID).startswith(PROTO_HEADER_COMMENT); in isProtoFile()
DSemanticSelection.cpp109 auto Offset = positionToOffset(SM.getBufferData(FID), Pos); in getSemanticRanges()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DExplicitConstructorCheck.cpp45 StringRef Buf = Sources.getBufferData(File); in FindToken()
/external/clang/lib/Format/
DTokenAnalyzer.cpp82 Env.getSourceManager().getBufferData(Env.getFileID()))) { in TokenAnalyzer()
/external/llvm-project/clang/lib/Format/
DTokenAnalyzer.cpp56 Env.getSourceManager().getBufferData(Env.getFileID()))) { in TokenAnalyzer()
/external/llvm-project/clang-tools-extra/clang-include-fixer/
DIncludeFixer.cpp167 StringRef Code = CI->getSourceManager().getBufferData(FID); in MaybeDiagnoseMissingCompleteType()
288 StringRef Code = SM.getBufferData(FID); in CorrectTypo()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DLexerUtils.cpp121 StringRef File = SM.getBufferData(LocInfo.first); in getQualifyingToken()
/external/llvm-project/clang/lib/Lex/
DLexer.cpp337 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in getSpelling()
473 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getRawToken()
518 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getBeginningOfFileToken()
968 StringRef file = SM.getBufferData(beginInfo.first, &invalidTemp); in getSourceText()
1021 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroName()
1046 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroNameForDiagnostics()
1082 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getIndentationForLine()
1254 StringRef File = SM.getBufferData(LocInfo.first, &InvalidTemp); in findNextToken()
/external/clang/lib/Lex/
DLexer.cpp295 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in getSpelling()
432 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getRawToken()
458 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getBeginningOfFileToken()
948 StringRef file = SM.getBufferData(beginInfo.first, &invalidTemp); in getSourceText()
1001 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroName()
1026 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroNameForDiagnostics()
1199 StringRef File = SM.getBufferData(LocInfo.first, &InvalidTemp); in findLocationAfterToken()
/external/llvm-project/clang-tools-extra/clang-move/
DMove.cpp288 llvm::StringRef File = SM.getBufferData(LocInfo.first, &InvalidTemp); in getLocForEndOfDecl()
781 llvm::StringRef Code = SM.getBufferData(SI->second); in removeDeclsInOldFiles()
859 StringRef Code = SM.getBufferData(ID); in moveAll()

1234