Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6
# f2daa32f 02-May-2024 Christian Kandeler <christian.kandeler@qt.io>

[clangd] Remove potential prefix from enum value names (#83412)

... when converting unscoped to scoped enums.
With traditional enums, a popular technique to guard against potential
name clashes is

[clangd] Remove potential prefix from enum value names (#83412)

... when converting unscoped to scoped enums.
With traditional enums, a popular technique to guard against potential
name clashes is to use the enum name as a pseudo-namespace, like this:
enum MyEnum { MyEnumValue1, MyEnumValue2 };
With scoped enums, this makes no sense, making it extremely unlikely
that the user wants to keep such a prefix when modernizing. Therefore,
our tweak now removes it.

show more ...


Revision tags: llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5
# 0255b217 10-Nov-2023 ckandeler <christian.kandeler@qt.io>

[clangd] Add tweak for turning an unscoped into a scoped enum (#69481)