]> granicus.if.org Git - clang/commitdiff
Our style for diagnostic messages is to not include a trailing dot.
authorMatt Beaumont-Gay <matthewbg@google.com>
Mon, 5 Nov 2012 05:32:00 +0000 (05:32 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Mon, 5 Nov 2012 05:32:00 +0000 (05:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167379 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticParseKinds.td
test/PCH/empty-with-headers.c
test/Parser/empty-translation-unit.c

index 59e979d65007b47343b1104eb60105e62eb1053c..21eeccb5a3e4ff3dee47ddfa45d95a42a20d2dc5 100644 (file)
@@ -24,7 +24,7 @@ def warn_unsupported_msasm : Warning<
 let CategoryName = "Parse Issue" in {
 
 def ext_empty_translation_unit : Extension<
-  "ISO C requires a translation unit to contain at least one declaration.">,
+  "ISO C requires a translation unit to contain at least one declaration">,
   InGroup<DiagGroup<"empty-translation-unit">>;
 def warn_cxx98_compat_top_level_semi : Warning<
   "extra ';' outside of a function is incompatible with C++98">,
index 751be1c9eb39c609add6999a1bf2ce33faf63ef1..b51f0ce258487fb8ab2b91ce70acc788a9bfa945 100644 (file)
@@ -24,4 +24,4 @@ typedef int my_int;
 
 // This should only fire if the header is not included,
 // either explicitly or as a prefix header.
-// expected-error{{ISO C requires a translation unit to contain at least one declaration.}}
+// expected-error{{ISO C requires a translation unit to contain at least one declaration}}
index 0dbf37e447c334be25f1e4af5d22a48b314c7784..04e57f69ce876844da6f81c48e250b4fa69ba755 100644 (file)
@@ -7,4 +7,4 @@
 #define A_MACRO_IS_NOT_GOOD_ENOUGH 1
 
 // In C we should get this warning, but in C++ we shouldn't.
-// expected-warning{{ISO C requires a translation unit to contain at least one declaration.}}
+// expected-warning{{ISO C requires a translation unit to contain at least one declaration}}