This revision was automatically updated to reflect the committed changes. Closed by commit rL333882: [clangd] Remove the dead offset fields in Symbol. (authored by hokein, committed by ). Herald added a subscriber: llvm-commits.
Repository: rL LLVM https://reviews.llvm.org/D47699 Files: clang-tools-extra/trunk/clangd/index/Index.h Index: clang-tools-extra/trunk/clangd/index/Index.h =================================================================== --- clang-tools-extra/trunk/clangd/index/Index.h +++ clang-tools-extra/trunk/clangd/index/Index.h @@ -34,12 +34,6 @@ // 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;
Index: clang-tools-extra/trunk/clangd/index/Index.h =================================================================== --- clang-tools-extra/trunk/clangd/index/Index.h +++ clang-tools-extra/trunk/clangd/index/Index.h @@ -34,12 +34,6 @@ // 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