Skip to content

Commit 09a1110

Browse files
committed
fixup! clang-format
1 parent 0fd7b5b commit 09a1110

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

lldb/unittests/Core/DemanglingCorrectness.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30217,4 +30217,4 @@
3021730217

3021830218
{"_Z3fooPU9__ptrauthILj3ELb1ELj234EEPi", "foo(int* __ptrauth<3u, true, 234u>*)"},
3021930219
{"_Z3fooIPU9__ptrauthILj1ELb0ELj64EEPiEvT_", "void foo<int* __ptrauth<1u, false, 64u>*>(int* __ptrauth<1u, false, 64u>*)"},
30220-
// clang-format on
30220+
// clang-format on

lldb/unittests/Core/MangledTest.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -635,9 +635,11 @@ TEST_P(DemanglingInfoCorrectnessTestFixutre, Correctness) {
635635
TrackingOutputBuffer OB;
636636
Root->print(OB);
637637

638-
// Filter out cases which would never show up in frames. We only care about function names.
639-
if (Root->getKind() != llvm::itanium_demangle::Node::Kind::KFunctionEncoding
640-
&& Root->getKind() != llvm::itanium_demangle::Node::Kind::KDotSuffix)
638+
// Filter out cases which would never show up in frames. We only care about
639+
// function names.
640+
if (Root->getKind() !=
641+
llvm::itanium_demangle::Node::Kind::KFunctionEncoding &&
642+
Root->getKind() != llvm::itanium_demangle::Node::Kind::KDotSuffix)
641643
return;
642644

643645
ASSERT_TRUE(OB.NameInfo.hasBasename());

0 commit comments

Comments
 (0)