[PATCH] D47223: [clangd] Handle enumerators in named, unscoped enums similarly to scoped enums
Marc-Andre Laperle via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 22 13:36:20 PDT 2018
malaperle created this revision.
Herald added subscribers: cfe-commits, jkorous, MaskRay, ioeric, ilya-biryukov, klimek.
For enumerators in unscoped enums that have names, even if they are not
scoped, we add the enum name to the scope so that users can find the
enumerators when fully qualifying them, for example: MyEnum::Enumerator.
This makes it more consistent with how the code is visually laid out.
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle at ericsson.com>
rCTE Clang Tools Extra
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4571 bytes
Desc: not available
More information about the cfe-commits