[Lldb-commits] [clang] [lldb] [lldb] Re-use clang's keyword enable/disable mechanism in CPlusPlusNameParser.cpp (PR #164284)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 28 02:46:51 PDT 2025


https://github.com/Michael137 commented:

`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?

https://github.com/llvm/llvm-project/pull/164284


More information about the lldb-commits mailing list