Home
last modified time | relevance | path

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

/external/clang/lib/Rewrite/
DRewriter.cpp232 StringRef MB = SourceMgr->getBufferData(FID); in getEditBuffer()
248 StringRef MB = SourceMgr->getBufferData(FID); in InsertText()
325 StringRef MB = SourceMgr->getBufferData(FID); in ReplaceText()
349 StringRef MB = SourceMgr->getBufferData(FID); in IncreaseIndentation()
DHTMLRewrite.cpp47 const char *BufferStart = SM.getBufferData(FID, &Invalid).data(); in HighlightRange()
/external/clang/lib/AST/
DRawCommentList.cpp110 const char *BufferStart = SourceMgr.getBufferData(BeginFileID, in getRawTextSlow()
176 const char *Buffer = SM.getBufferData(Loc1Info.first, &Invalid).data(); in onlyWhitespaceBetween()
DCommentLexer.cpp839 StringRef File = SourceMgr.getBufferData(LocInfo.first, &InvalidTemp); in getSpelling()
DExpr.cpp1026 StringRef Buffer = SM.getBufferData(LocInfo.first, &Invalid); in getLocationOfByte()
DASTContext.cpp242 const char *Buffer = SourceMgr.getBufferData(DeclLocDecomp.first, in getRawCommentForDeclNoCache()
/external/clang/lib/Basic/
DSourceLocation.cpp135 StringRef FullSourceLoc::getBufferData(bool *Invalid) const { in getBufferData() function in FullSourceLoc
DSourceManager.cpp679 StringRef SourceManager::getBufferData(FileID FID, bool *Invalid) const { in getBufferData() function in SourceManager
/external/clang/lib/ARCMigrate/
DTransforms.cpp151 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in findSemiAfterLocation()
401 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in rewritePropertyAttribute()
482 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in addPropertyAttribute()
DTransformActions.cpp429 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in canReplaceText()
/external/clang/include/clang/Basic/
DSourceLocation.h298 StringRef getBufferData(bool *Invalid = nullptr) const;
DSourceManager.h919 StringRef getBufferData(FileID FID, bool *Invalid = nullptr) const;
/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()
946 StringRef file = SM.getBufferData(beginInfo.first, &invalidTemp); in getSourceText()
999 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroName()
1172 StringRef File = SM.getBufferData(LocInfo.first, &InvalidTemp); in findLocationAfterToken()
DTokenLexer.cpp596 = SourceMgr.getBufferData(LocFileID, &Invalid).data(); in PasteTokens()
/external/clang/lib/Edit/
DCommit.cpp331 StringRef file = SourceMgr.getBufferData(Offs.getFID(), &invalidTemp); in canReplaceText()
DEditedSource.cpp276 StringRef buffer = SM.getBufferData(offs.getFID(), &Invalid); in adjustRemoval()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp64 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroName()
DTextDiagnostic.cpp1085 const char *BufStart = SM.getBufferData(FID, &Invalid).data(); in emitSnippetAndCaret()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp472 StringRef BufferInfo = L.getBufferData(); in HandlePiece()
/external/clang/lib/Format/
DFormat.cpp1163 StringRef Buffer = SourceMgr.getBufferData(ID); in resetLexer()
1192 inputUsesCRLF(SourceMgr.getBufferData(ID))), in Formatter()
1194 Encoding(encoding::detectEncoding(SourceMgr.getBufferData(ID))) { in Formatter()
/external/clang/tools/libclang/
DCIndex.cpp5371 = CXXUnit->getSourceManager().getBufferData(LocInfo.first, &Invalid); in clang_getTokenSpelling()
5421 = SourceMgr.getBufferData(BeginLocInfo.first, &Invalid); in getTokens()
6009 Buffer = SourceMgr.getBufferData(BeginLocInfo.first, &Invalid); in annotatePreprocessorTokens()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp284 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in LocPropertyAttribute()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp732 StringRef MainBuf = SM->getBufferData(MainFileID); in RewriteInclude()
DRewriteModernObjC.cpp813 StringRef MainBuf = SM->getBufferData(MainFileID); in RewriteInclude()