[all-commits] [llvm/llvm-project] 322e13: [lldb] Rewrite/expand TestCppTypedef and document ...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Thu Oct 7 04:31:12 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 322e13b91aac23ab324c3dcbbcfe8e73894f4c28
https://github.com/llvm/llvm-project/commit/322e13b91aac23ab324c3dcbbcfe8e73894f4c28
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2021-10-07 (Thu, 07 Oct 2021)
Changed paths:
M lldb/test/API/lang/cpp/typedef/TestCppTypedef.py
M lldb/test/API/lang/cpp/typedef/main.cpp
Log Message:
-----------
[lldb] Rewrite/expand TestCppTypedef and document a lookup bug.
Just regrouping the checks for the same typedef together and also giving the
different typedefs unique names. We might want to have a second test with
identical names to see how LLDB handle the potential name conflict, but that
should be a separate test and not part of the main typedef test.
Also this test is actually unintentionally passing. LLDB can't lookup typedefs
in a struct/class scope, but in the test the check passes as the local variable
in the expression evaluation scope pulls in the typedef. I added a second check
that makes it clear that this is not working right now.
More information about the All-commits
mailing list