diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2024-07-02 09:17:32 -0400 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2024-07-02 09:18:19 -0400 |
commit | 72f9bff4481bf50c565e3b9dc0a1495264ef4082 (patch) | |
tree | 5d00a458f1d31f059d42cb46b529c1c87337603e /clang/include | |
parent | 12a1e6dd1292efb3d7c45582ba20dafa523b51cc (diff) | |
download | llvm-72f9bff4481bf50c565e3b9dc0a1495264ef4082.zip llvm-72f9bff4481bf50c565e3b9dc0a1495264ef4082.tar.gz llvm-72f9bff4481bf50c565e3b9dc0a1495264ef4082.tar.bz2 |
Revert "[C2y] Modify diagnostics for complex increment/decrement"
This reverts commit 1a422553f9ed05ee57463ed5554cfd7eeea46800.
It broke post-commit CI bots:
https://lab.llvm.org/buildbot/#/builders/144/builds/1428
Diffstat (limited to 'clang/include')
-rw-r--r-- | clang/include/clang/Basic/DiagnosticSemaKinds.td | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td b/clang/include/clang/Basic/DiagnosticSemaKinds.td index 3d3e98c..c852f18 100644 --- a/clang/include/clang/Basic/DiagnosticSemaKinds.td +++ b/clang/include/clang/Basic/DiagnosticSemaKinds.td @@ -7664,12 +7664,8 @@ def ext_gnu_ptr_func_arith : Extension< InGroup<GNUPointerArith>; def err_readonly_message_assignment : Error< "assigning to 'readonly' return result of an Objective-C message not allowed">; -def ext_c2y_increment_complex : Extension< - "'%select{--|++}0' on an object of complex type is a C2y extension">, - InGroup<C2y>; -def warn_c2y_compat_increment_complex : Warning< - "'%select{--|++}0' on an object of complex type is incompatible with C " - "standards before C2y">, InGroup<CPre2yCompat>, DefaultIgnore; +def ext_increment_complex : Extension< + "'%select{--|++}0' on an object of complex type is a Clang extension">; def ext_integer_complement_complex : Extension< "ISO C does not support '~' for complex conjugation of %0">; def err_nosetter_property_assignment : Error< |