diff options
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
-rw-r--r-- | include/clang/Basic/SourceManager.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h index 9657ee4f1a..3d1fcd3dbb 100644 --- a/include/clang/Basic/SourceManager.h +++ b/include/clang/Basic/SourceManager.h @@ -457,9 +457,8 @@ public: /// /// \param FID The file ID whose contents will be returned. /// \param Invalid If non-NULL, will be set true if an error occurred. - std::pair<const char*, const char*> getBufferData(FileID FID, - bool *Invalid = 0) const; - + llvm::StringRef getBufferData(FileID FID, bool *Invalid = 0) const; + //===--------------------------------------------------------------------===// // SourceLocation manipulation methods. |