- Support enums in C and ObjC as their AST representations differ slightly.
- Add support for typedef'ed enums.
| Paths 
 |  Differential  D110954  
[clangd] Improve PopulateSwitch tweak ClosedPublic Authored by dgoldman on Oct 1 2021, 11:49 AM. 
Details 
 Summary 
 
 
Diff Detail 
 Event TimelineHerald added subscribers: usaxena95, kadircet, arphaman.  ·  View Herald TranscriptOct 1 2021, 11:49 AM Comment Actions Thanks! 
 This revision is now accepted and ready to land.Oct 1 2021, 1:21 PM Closed by commit rGa90d57b6cc5f: [clangd] Improve PopulateSwitch tweak (authored by dgoldman).  ·  Explain WhyOct 4 2021, 7:16 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 376591 clang-tools-extra/clangd/refactor/tweaks/PopulateSwitch.cpp
 clang-tools-extra/clangd/unittests/tweaks/PopulateSwitchTests.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
"we need a storage kind" doesn't seem quite right, rather "we need a stored value"