]> granicus.if.org Git - clang/commitdiff
[Diagnostic] Fix a warning typo. NFC.
authorMatt Davis <Matthew.Davis@sony.com>
Wed, 12 Sep 2018 18:27:21 +0000 (18:27 +0000)
committerMatt Davis <Matthew.Davis@sony.com>
Wed, 12 Sep 2018 18:27:21 +0000 (18:27 +0000)
s/aligment/alignment/

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342068 91177308-0d34-0410-b5e6-96231b3b80d8

docs/DiagnosticsReference.rst
include/clang/Basic/DiagnosticSemaKinds.td
test/Sema/Inputs/pragma-pack1.h
test/Sema/suspicious-pragma-pack.c

index 734a45902484ed9aa00d617cc2361c023ce06da2..94502f9c49ec3201ea051604bb370c917bfc5661 100644 (file)
@@ -8637,9 +8637,9 @@ Also controls `-Wpragma-pack-suspicious-include`_.
 
 **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`|
index 3d66b7a353ec233cda1b05ae29ae68c8f4616784..0aa8b2a5d4537bde76206f0763b125931c246ead 100644 (file)
@@ -774,7 +774,7 @@ def warn_pragma_pack_non_default_at_include : Warning<
   "members in the included file">, InGroup<PragmaPackSuspiciousInclude>,
   DefaultIgnore;
 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>;
 def warn_pragma_pack_no_pop_eof : Warning<"unterminated "
   "'#pragma pack (push, ...)' at end of file">, InGroup<PragmaPack>;
index abbf8a8609f187c466b2ee7cbf8925feb14db1f2..3fd299e642a13247ef25b13ca5ee078771662fbb 100644 (file)
@@ -16,7 +16,7 @@ struct ReceivesPragma { };
 #include "pragma-pack2.h"
 
 #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
 
 #ifdef PUSH_POP_FIRST_HEADER
index d7c5faf06910acc45e9cde1efa050c8f8ce13ec1..1acf63b468929d14a9d49c817b3aa925f754c28a 100644 (file)
@@ -38,7 +38,7 @@
 #include "pragma-pack1.h"
 
 #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
 
 #ifdef PUSH_SET_HERE