diff options
| author | Alp Toker <alp@nuanti.com> | 2014-07-14 19:16:22 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-07-14 19:16:22 +0000 |
| commit | cd3acb5604518cbea052b820bd02edb6127d88c6 (patch) | |
| tree | 260f1d3f7044f8ff943770b32ff8b23e41c224f7 /clang/test/SemaCXX/dllexport.cpp | |
| parent | 199b39e0638e1a6589015589cacfd1d2a97fd9b5 (diff) | |
| download | bcm5719-llvm-cd3acb5604518cbea052b820bd02edb6127d88c6.tar.gz bcm5719-llvm-cd3acb5604518cbea052b820bd02edb6127d88c6.zip | |
Avoid non-attributive uses of 'unsupported' in diagnostics
We don't have a style guide for diagnostic messages, but convention strongly
favours the forms:
'attribute is not supported', 'unsupported attribute'
We generally avoid:
'attribute is unsupported', 'non-supported attribute'
llvm-svn: 212972
Diffstat (limited to 'clang/test/SemaCXX/dllexport.cpp')
| -rw-r--r-- | clang/test/SemaCXX/dllexport.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/SemaCXX/dllexport.cpp b/clang/test/SemaCXX/dllexport.cpp index 9a53e27957f..50d163a7f20 100644 --- a/clang/test/SemaCXX/dllexport.cpp +++ b/clang/test/SemaCXX/dllexport.cpp @@ -370,7 +370,7 @@ class __declspec(dllexport) DerivedFromImportedTemplate : public ImportedClassTe #ifdef MS // expected-note@+4{{class template 'ClassTemplate<double>' was instantiated here}} -// expected-warning@+4{{propagating dll attribute to already instantiated base class template without dll attribute is unsupported}} +// expected-warning@+4{{propagating dll attribute to already instantiated base class template without dll attribute is not supported}} // expected-note@+3{{attribute is here}} #endif class DerivedFromTemplateD : public ClassTemplate<double> {}; @@ -378,14 +378,14 @@ class __declspec(dllexport) DerivedFromTemplateD2 : public ClassTemplate<double> #ifdef MS // expected-note@+4{{class template 'ClassTemplate<bool>' was instantiated here}} -// expected-warning@+4{{propagating dll attribute to already instantiated base class template with different dll attribute is unsupported}} +// expected-warning@+4{{propagating dll attribute to already instantiated base class template with different dll attribute is not supported}} // expected-note@+3{{attribute is here}} #endif class __declspec(dllimport) DerivedFromTemplateB : public ClassTemplate<bool> {}; class __declspec(dllexport) DerivedFromTemplateB2 : public ClassTemplate<bool> {}; #ifdef MS -// expected-warning@+3{{propagating dll attribute to explicitly specialized base class template without dll attribute is unsupported}} +// expected-warning@+3{{propagating dll attribute to explicitly specialized base class template without dll attribute is not supported}} // expected-note@+2{{attribute is here}} #endif struct __declspec(dllexport) DerivedFromExplicitlySpecializedTemplate : public ExplicitlySpecializedTemplate<int> {}; @@ -397,7 +397,7 @@ struct __declspec(dllexport) DerivedFromExplicitlyExportSpecializedTemplate : pu struct __declspec(dllexport) DerivedFromExplicitlyImportSpecializedTemplate : public ExplicitlyImportSpecializedTemplate<int> {}; #ifdef MS -// expected-warning@+3{{propagating dll attribute to already instantiated base class template without dll attribute is unsupported}} +// expected-warning@+3{{propagating dll attribute to already instantiated base class template without dll attribute is not supported}} // expected-note@+2{{attribute is here}} #endif struct __declspec(dllexport) DerivedFromExplicitlyInstantiatedTemplate : public ExplicitlyInstantiatedTemplate<int> {}; |

