[Lldb-commits] [lldb] [lldb][CPlusPlus] Always use CPlusPlusNameParser for parsing C++ function names (PR #137072)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 23 23:36:51 PDT 2025
================
@@ -174,6 +175,9 @@ int main(int argc, char **argv) {
//% self.expect("expr (new struct C[1]); side_effect", endstr=" = 4\n")
//% self.expect("expr delete c2; side_effect", endstr=" = 1\n")
//% self.expect("expr delete[] c3; side_effect", endstr=" = 2\n")
+ //% self.expect("image lookup -n operator()", substrs=["C::operator()(int)"])
----------------
labath wrote:
I take it this means that the "simplified" parser got `operator()` wrong somehow? Could you also add this to the unit tests in unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp
https://github.com/llvm/llvm-project/pull/137072
More information about the lldb-commits
mailing list