mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Accessor renames on diagnostics+source buffer (#1133)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user