forked from OSchip/llvm-project
Our style for diagnostic messages is to not include a trailing dot.
llvm-svn: 167379
This commit is contained in:
parent
6f6f55ee61
commit
825b9ad2fb
clang
|
@ -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">,
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue