diff options
author | Haojian Wu <hokein@google.com> | 2018-06-04 10:43:59 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2018-06-04 10:43:59 +0000 |
commit | cc8da4ebedb36e4b7544590a6a9593a562866e79 (patch) | |
tree | 16abde8c082c03d52f73049e59894eeabae453fb /clang-tools-extra | |
parent | 682cfe704dc9f1638cd5d3cc61ba286a7c4987aa (diff) | |
download | bcm5719-llvm-cc8da4ebedb36e4b7544590a6a9593a562866e79.tar.gz bcm5719-llvm-cc8da4ebedb36e4b7544590a6a9593a562866e79.zip |
[clangd] Remove the dead offset fields in Symbol.
Reviewers: sammccall
Subscribers: klimek, ilya-biryukov, ioeric, MaskRay, jkorous, cfe-commits
Differential Revision: https://reviews.llvm.org/D47699
llvm-svn: 333882
Diffstat (limited to 'clang-tools-extra')
-rw-r--r-- | clang-tools-extra/clangd/index/Index.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/clang-tools-extra/clangd/index/Index.h b/clang-tools-extra/clangd/index/Index.h index b406097da85..cea7897e3d9 100644 --- a/clang-tools-extra/clangd/index/Index.h +++ b/clang-tools-extra/clangd/index/Index.h @@ -34,12 +34,6 @@ struct SymbolLocation { // The URI of the source file where a symbol occurs. llvm::StringRef FileURI; - // The 0-based offsets of the symbol from the beginning of the source file, - // using half-open range, [StartOffset, EndOffset). - // DO NOT use these fields, as they will be removed immediately. - // FIXME(hokein): remove these fields in favor of Position. - unsigned StartOffset = 0; - unsigned EndOffset = 0; /// The symbol range, using half-open range [Start, End). Position Start; |