Author: hokein Date: Mon Jun 4 03:43:59 2018 New Revision: 333882 URL: http://llvm.org/viewvc/llvm-project?rev=333882&view=rev Log: [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 Modified: clang-tools-extra/trunk/clangd/index/Index.h Modified: clang-tools-extra/trunk/clangd/index/Index.h URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/index/Index.h?rev=333882&r1=333881&r2=333882&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/index/Index.h (original) +++ clang-tools-extra/trunk/clangd/index/Index.h Mon Jun 4 03:43:59 2018 @@ -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; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits