Skip to content

Commit 8959744

Browse files
committed
fixup! clang-format
1 parent 856e452 commit 8959744

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
@@ -638,9 +638,11 @@ TEST_P(DemanglingInfoCorrectnessTestFixutre, Correctness) {
638638
TrackingOutputBuffer OB;
639639
Root->print(OB);
640640

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

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

0 commit comments

Comments
 (0)