[Lldb-commits] [clang] [lldb] [lldb] Re-use clang's keyword enable/disable mechanism in CPlusPlusNameParser.cpp (PR #164284)
Daniel Sanders via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 4 18:56:43 PST 2025
dsandersllvm wrote:
> `lldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp` has some unit-tests for `CPlusPlusNameParser` (and friends). If we added a constructor to `CPlusPlusNameParser` which took a user-provided `LangOptions` (but defaults to the existing one) that we could add a unit-test which constructs the `CPlusPlusNameParser` with some `LangOptions` which triggers the issue you were seeing. What do you think?
I think that's a good idea and I had a quick look at it today. It might make sense to be a separate PR but I'll see how big the change is first
https://github.com/llvm/llvm-project/pull/164284
More information about the lldb-commits
mailing list