forked from OSchip/llvm-project
[Diagnostic] Fix a warning typo. NFC.
s/aligment/alignment/ llvm-svn: 342068
This commit is contained in:
parent
75404fb9f8
commit
0090753ef0
|
@ -8637,9 +8637,9 @@ Also controls `-Wpragma-pack-suspicious-include`_.
|
||||||
|
|
||||||
**Diagnostic text:**
|
**Diagnostic text:**
|
||||||
|
|
||||||
+---------------------------------------------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------------------------------------------+
|
||||||
|:warning:`warning:` |nbsp| :diagtext:`the current #pragma pack aligment value is modified in the included file`|
|
|:warning:`warning:` |nbsp| :diagtext:`the current #pragma pack alignment value is modified in the included file`|
|
||||||
+---------------------------------------------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
+---------------------------------------------------------------------------------------------+
|
+---------------------------------------------------------------------------------------------+
|
||||||
|:warning:`warning:` |nbsp| :diagtext:`unterminated '#pragma pack (push, ...)' at end of file`|
|
|:warning:`warning:` |nbsp| :diagtext:`unterminated '#pragma pack (push, ...)' at end of file`|
|
||||||
|
|
|
@ -774,7 +774,7 @@ def warn_pragma_pack_non_default_at_include : Warning<
|
||||||
"members in the included file">, InGroup<PragmaPackSuspiciousInclude>,
|
"members in the included file">, InGroup<PragmaPackSuspiciousInclude>,
|
||||||
DefaultIgnore;
|
DefaultIgnore;
|
||||||
def warn_pragma_pack_modified_after_include : Warning<
|
def warn_pragma_pack_modified_after_include : Warning<
|
||||||
"the current #pragma pack aligment value is modified in the included "
|
"the current #pragma pack alignment value is modified in the included "
|
||||||
"file">, InGroup<PragmaPack>;
|
"file">, InGroup<PragmaPack>;
|
||||||
def warn_pragma_pack_no_pop_eof : Warning<"unterminated "
|
def warn_pragma_pack_no_pop_eof : Warning<"unterminated "
|
||||||
"'#pragma pack (push, ...)' at end of file">, InGroup<PragmaPack>;
|
"'#pragma pack (push, ...)' at end of file">, InGroup<PragmaPack>;
|
||||||
|
|
|
@ -16,7 +16,7 @@ struct ReceivesPragma { };
|
||||||
#include "pragma-pack2.h"
|
#include "pragma-pack2.h"
|
||||||
|
|
||||||
#ifdef SET_SECOND_HEADER
|
#ifdef SET_SECOND_HEADER
|
||||||
// expected-warning@-3 {{the current #pragma pack aligment value is modified in the included file}}
|
// expected-warning@-3 {{the current #pragma pack alignment value is modified in the included file}}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PUSH_POP_FIRST_HEADER
|
#ifdef PUSH_POP_FIRST_HEADER
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#include "pragma-pack1.h"
|
#include "pragma-pack1.h"
|
||||||
|
|
||||||
#ifdef WARN_MODIFIED_HEADER
|
#ifdef WARN_MODIFIED_HEADER
|
||||||
// expected-warning@-3 {{the current #pragma pack aligment value is modified in the included file}}
|
// expected-warning@-3 {{the current #pragma pack alignment value is modified in the included file}}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PUSH_SET_HERE
|
#ifdef PUSH_SET_HERE
|
||||||
|
|
Loading…
Reference in New Issue