Accessor renames on diagnostics+source buffer (#1133)

This commit is contained in:
Jon Meow
2022-03-15 15:43:53 -07:00
committed by GitHub
parent ad9c10da16
commit 7bbf4fbba3
7 changed files with 50 additions and 49 deletions
+2 -2
View File
@@ -50,9 +50,9 @@ class SourceBuffer {
~SourceBuffer();
[[nodiscard]] auto Filename() const -> llvm::StringRef { return filename_; }
[[nodiscard]] auto filename() const -> llvm::StringRef { return filename_; }
[[nodiscard]] auto Text() const -> llvm::StringRef { return text_; }
[[nodiscard]] auto text() const -> llvm::StringRef { return text_; }
private:
enum class ContentMode {