diff options
| author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-11-05 05:32:00 +0000 |
|---|---|---|
| committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-11-05 05:32:00 +0000 |
| commit | 825b9ad2fb8550528de921ce791e3057a13441c0 (patch) | |
| tree | 12aae51a077b458a52083a749468264c453a54a8 /clang | |
| parent | 6f6f55ee61513dc5e7b0e1448d0a38c922cb4df6 (diff) | |
| download | bcm5719-llvm-825b9ad2fb8550528de921ce791e3057a13441c0.tar.gz bcm5719-llvm-825b9ad2fb8550528de921ce791e3057a13441c0.zip | |
Our style for diagnostic messages is to not include a trailing dot.
llvm-svn: 167379
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang/Basic/DiagnosticParseKinds.td | 2 | ||||
| -rw-r--r-- | clang/test/PCH/empty-with-headers.c | 2 | ||||
| -rw-r--r-- | clang/test/Parser/empty-translation-unit.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/include/clang/Basic/DiagnosticParseKinds.td b/clang/include/clang/Basic/DiagnosticParseKinds.td index 59e979d6500..21eeccb5a3e 100644 --- a/clang/include/clang/Basic/DiagnosticParseKinds.td +++ b/clang/include/clang/Basic/DiagnosticParseKinds.td @@ -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">, diff --git a/clang/test/PCH/empty-with-headers.c b/clang/test/PCH/empty-with-headers.c index 751be1c9eb3..b51f0ce2584 100644 --- a/clang/test/PCH/empty-with-headers.c +++ b/clang/test/PCH/empty-with-headers.c @@ -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}} diff --git a/clang/test/Parser/empty-translation-unit.c b/clang/test/Parser/empty-translation-unit.c index 0dbf37e447c..04e57f69ce8 100644 --- a/clang/test/Parser/empty-translation-unit.c +++ b/clang/test/Parser/empty-translation-unit.c @@ -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}} |

