summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2024-05-02 13:18:59 +0200
committerGitHub <noreply@github.com>2024-05-02 13:18:59 +0200
commitf2daa32fcaa061daa04546c343198d876e635def (patch)
tree8e453a59bf87673e7f7a8b9627b4c584e17255d7 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent779f40c088c8f827b3cb83dd2b68dab1bd05b55a (diff)
[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.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions