Skip to content

Commit cc42e9e

Browse files
committed
[Clang] Fix failing clang-tidy test
1 parent b10ddfa commit cc42e9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang-tools-extra/test/clang-tidy/checkers/readability/named-parameter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ void operator delete[](void *x) throw();
3737
void operator delete[](void * /*x*/) throw();
3838

3939
struct X {
40-
X operator++(int) { throw 0; }
41-
X operator--(int) { throw 0; }
40+
void operator++(int) {}
41+
void operator--(int) {}
4242

4343
X(X&) = delete;
4444
X &operator=(X&) = default;

0 commit comments

Comments
 (0)