diff options
author | peter klausler <pklausler@nvidia.com> | 2018-02-09 14:04:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-15 15:58:44 -0800 |
commit | 09865ffe7b31826d94954d7c03a86f63c53c0c89 (patch) | |
tree | 4b9decfbb1c13a03ac1073d09f0868f0dc8e494c /flang/lib/parser/char-buffer.h | |
parent | 3558c22101d800983083ccdb9da679dd41570410 (diff) | |
download | llvm-09865ffe7b31826d94954d7c03a86f63c53c0c89.tar.gz |
[flang] Replace Position with Provenance everywhere.
Original-commit: flang-compiler/f18@8c2da3f8cc687012756a85567553500fac64c824
Reviewed-on: https://github.com/flang-compiler/f18/pull/9
Tree-same-pre-rewrite: false
Diffstat (limited to 'flang/lib/parser/char-buffer.h')
-rw-r--r-- | flang/lib/parser/char-buffer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/flang/lib/parser/char-buffer.h b/flang/lib/parser/char-buffer.h index ba0c772cf350..52bfdbdde81a 100644 --- a/flang/lib/parser/char-buffer.h +++ b/flang/lib/parser/char-buffer.h @@ -29,7 +29,7 @@ public: return *this; } - size_t bytes() const { return bytes_; } + size_t size() const { return bytes_; } void clear() { blocks_.clear(); @@ -43,7 +43,6 @@ public: void Put(const char *data, size_t n); void Put(const std::string &); void Put(char x) { Put(&x, 1); } - void CopyToContiguous(char *data); private: struct Block { |