summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2018-06-04 10:43:59 +0000
committerHaojian Wu <hokein@google.com>2018-06-04 10:43:59 +0000
commitcc8da4ebedb36e4b7544590a6a9593a562866e79 (patch)
tree16abde8c082c03d52f73049e59894eeabae453fb /clang-tools-extra
parent682cfe704dc9f1638cd5d3cc61ba286a7c4987aa (diff)
downloadbcm5719-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.h6
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;
OpenPOWER on IntegriCloud