forked from OSchip/llvm-project
[clangd] Hide position line and column fields.
Reviewers: sammccall Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits Differential Revision: https://reviews.llvm.org/D53577 llvm-svn: 345134
This commit is contained in:
parent
46106f5ebe
commit
40d5684d41
|
@ -50,8 +50,7 @@ struct SymbolLocation {
|
|||
static constexpr uint32_t MaxLine = (1 << 20) - 1;
|
||||
static constexpr uint32_t MaxColumn = (1 << 12) - 1;
|
||||
|
||||
// Clients should use getters and setters to access these members.
|
||||
// FIXME: hide these members.
|
||||
private:
|
||||
uint32_t Line : 20; // 0-based
|
||||
// Using UTF-16 code units.
|
||||
uint32_t Column : 12; // 0-based
|
||||
|
|
Loading…
Reference in New Issue