diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-10-10 21:34:32 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-10-10 21:34:32 +0000 |
commit | f638ec612bbf3a88c2e3f5c5bbb05557b6aa640e (patch) | |
tree | bd2fc50b3194f838a51656f8191b7ebd99fb401e /include | |
parent | 726918e196b413bcd80f08494c061fd6b3f26c94 (diff) | |
download | clang-f638ec612bbf3a88c2e3f5c5bbb05557b6aa640e.tar.gz |
Revert 374450 "Fix __builtin_assume_aligned with too large values."
The test fails on Windows, with
error: 'warning' diagnostics expected but not seen:
File builtin-assume-aligned.c Line 62: requested alignment
must be 268435456 bytes or smaller; assumption ignored
error: 'warning' diagnostics seen but not expected:
File builtin-assume-aligned.c Line 62: requested alignment
must be 8192 bytes or smaller; assumption ignored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374456 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 68f2b37950..bcd059be91 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -2853,10 +2853,6 @@ def err_alignment_dependent_typedef_name : Error< def err_attribute_aligned_too_great : Error< "requested alignment must be %0 bytes or smaller">; -def warn_assume_aligned_too_great - : Warning<"requested alignment must be %0 bytes or smaller; assumption " - "ignored">, - InGroup<DiagGroup<"builtin-assume-aligned-alignment">>; def warn_redeclaration_without_attribute_prev_attribute_ignored : Warning< "%q0 redeclared without %1 attribute: previous %1 ignored">, InGroup<MicrosoftInconsistentDllImport>; |