[Lldb-commits] [PATCH] D131332: [lldb][unittests] Add more test cases to CPlusPlusNameParser unit-tests
Michael Buch via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 11 07:06:06 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGaf4cdfe13605: [lldb][unittests] Add more test cases to CPlusPlusNameParser unit-tests (authored by Michael137).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131332/new/
https://reviews.llvm.org/D131332
Files:
lldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp
Index: lldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp
===================================================================
--- lldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp
+++ lldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp
@@ -108,7 +108,10 @@
"llvm", "isUInt<10u>", "(unsigned long)", "", "llvm::isUInt<10u>"},
{"f<A<operator<(X,Y)::Subclass>, sizeof(B)<sizeof(C)>()", "",
"f<A<operator<(X,Y)::Subclass>, sizeof(B)<sizeof(C)>", "()", "",
- "f<A<operator<(X,Y)::Subclass>, sizeof(B)<sizeof(C)>"}};
+ "f<A<operator<(X,Y)::Subclass>, sizeof(B)<sizeof(C)>"},
+ {"llvm::Optional<llvm::MCFixupKind>::operator*() const volatile &&",
+ "llvm::Optional<llvm::MCFixupKind>", "operator*", "()", "const volatile &&",
+ "llvm::Optional<llvm::MCFixupKind>::operator*"}};
for (const auto &test : test_cases) {
CPlusPlusLanguage::MethodName method(ConstString(test.input));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131332.451845.patch
Type: text/x-patch
Size: 961 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220811/e2f00398/attachment-0001.bin>
More information about the lldb-commits
mailing list