[clang] add6acc - NFC: stray whitespace cleanup from clang/test/SemaCXX/destructor.cpp
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 9 15:08:56 PDT 2025
Author: Matheus Izvekov
Date: 2025-06-09T19:08:15-03:00
New Revision: add6acc333740542705eedd185f45f69e3d25f30
URL: https://github.com/llvm/llvm-project/commit/add6acc333740542705eedd185f45f69e3d25f30
DIFF: https://github.com/llvm/llvm-project/commit/add6acc333740542705eedd185f45f69e3d25f30.diff
LOG: NFC: stray whitespace cleanup from clang/test/SemaCXX/destructor.cpp
Added:
Modified:
clang/test/SemaCXX/destructor.cpp
Removed:
################################################################################
diff --git a/clang/test/SemaCXX/destructor.cpp b/clang/test/SemaCXX/destructor.cpp
index 589616ef8e437..ed4802943ad3f 100644
--- a/clang/test/SemaCXX/destructor.cpp
+++ b/clang/test/SemaCXX/destructor.cpp
@@ -58,7 +58,7 @@ struct D {
struct D2 {
void ~D2() { } // \
- // expected-error{{destructor cannot have a return type}}
+ // expected-error{{destructor cannot have a return type}}
};
@@ -86,7 +86,7 @@ struct G {
G::~G() { }
struct H {
- ~H(void) { }
+ ~H(void) { }
};
struct X {};
@@ -103,7 +103,7 @@ namespace PR6421 {
template<typename U>
void foo(T t) // expected-error{{variable has incomplete type}}
{ }
-
+
void disconnect()
{
T* t;
@@ -364,7 +364,7 @@ struct __is_destructor_wellformed {
decltype(_Tp1().~_Tp1())>::type);
template <typename _Tp1>
static __two __test (...);
-
+
static const bool value = sizeof(__test<_Tp>(12)) == sizeof(char);
};
More information about the cfe-commits
mailing list