diff options
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Driver/clang_f_opts.c | 2 | ||||
| -rw-r--r-- | clang/test/Frontend/invalid-o-level.c | 2 | ||||
| -rw-r--r-- | clang/test/SemaCXX/dllexport.cpp | 8 | ||||
| -rw-r--r-- | clang/test/SemaCXX/dllimport.cpp | 8 |
4 files changed, 10 insertions, 10 deletions
diff --git a/clang/test/Driver/clang_f_opts.c b/clang/test/Driver/clang_f_opts.c index 9c3db16660b..441cbf666b8 100644 --- a/clang/test/Driver/clang_f_opts.c +++ b/clang/test/Driver/clang_f_opts.c @@ -127,7 +127,7 @@ // CHECK-MAX-O: -O3 // RUN: %clang -S -O20 -o /dev/null %s 2>&1 | FileCheck -check-prefix=CHECK-INVALID-O %s -// CHECK-INVALID-O: warning: optimization level '-O20' is unsupported; using '-O3' instead +// CHECK-INVALID-O: warning: optimization level '-O20' is not supported; using '-O3' instead // RUN: %clang -### -S -finput-charset=iso-8859-1 -o /dev/null %s 2>&1 | FileCheck -check-prefix=CHECK-INVALID-CHARSET %s // CHECK-INVALID-CHARSET: error: invalid value 'iso-8859-1' in '-finput-charset=iso-8859-1' diff --git a/clang/test/Frontend/invalid-o-level.c b/clang/test/Frontend/invalid-o-level.c index b9e01fcf00c..73be9b1c21f 100644 --- a/clang/test/Frontend/invalid-o-level.c +++ b/clang/test/Frontend/invalid-o-level.c @@ -1,4 +1,4 @@ // RUN: %clang_cc1 %s -O900 -o /dev/null 2> %t.log // RUN: FileCheck %s -input-file=%t.log -// CHECK: warning: optimization level '-O900' is unsupported; using '-O3' instead +// CHECK: warning: optimization level '-O900' is not supported; using '-O3' instead 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> {}; diff --git a/clang/test/SemaCXX/dllimport.cpp b/clang/test/SemaCXX/dllimport.cpp index 855893ccafb..8e826f7ae6b 100644 --- a/clang/test/SemaCXX/dllimport.cpp +++ b/clang/test/SemaCXX/dllimport.cpp @@ -1026,7 +1026,7 @@ class __declspec(dllimport) DerivedFromExportedTemplate : public ExportedClassTe #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> {}; @@ -1034,7 +1034,7 @@ class __declspec(dllimport) 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(dllexport) DerivedFromTemplateB : public ClassTemplate<bool> {}; @@ -1061,7 +1061,7 @@ template <typename T> struct ExplicitlyImportInstantiatedTemplate { void func() template struct __declspec(dllimport) ExplicitlyImportInstantiatedTemplate<int>; #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(dllimport) DerivedFromExplicitlySpecializedTemplate : public ExplicitlySpecializedTemplate<int> {}; @@ -1073,7 +1073,7 @@ struct __declspec(dllimport) DerivedFromExplicitlyExportSpecializedTemplate : pu struct __declspec(dllimport) 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(dllimport) DerivedFromExplicitlyInstantiatedTemplate : public ExplicitlyInstantiatedTemplate<int> {}; |

