Unqualify (constant) arrays recursively, just like we do for pointers.
This allows for better pretty printer matching.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, could you also extend a non-unit test to test the change within the whole FormatManager/etc. setup? I think TestDataFormatterAdv.py already has a very similar section about ignoring cv on types.
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp | ||
---|---|---|
4243 | ? | |
lldb/unittests/Symbol/TestTypeSystemClang.cpp | ||
919 | My head has a hard time parsing what those asserts do or test. Maybe add some summary above or something similar? // unqualified(const volatile bool[47]) -> bool[47] |
Comment Actions
I've added a simple check to that test. I didn't want to go overboard, as I already have an made an exhaustive test in the follow-up patch.
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp | ||
---|---|---|
4243 | oops |
?