From d9c5c5cb3f207b4ca3894406431b81d8460b28e5 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 4 Dec 2013 22:02:33 +0000 Subject: Getting rid of some hard-coded strings. No functional changes intended, though some test cases needed to be updated for attribute names becoming quoted. llvm-svn: 196417 --- clang/test/Sema/dllimport-dllexport.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'clang/test') diff --git a/clang/test/Sema/dllimport-dllexport.c b/clang/test/Sema/dllimport-dllexport.c index 80810d696e8..198c25f90ca 100644 --- a/clang/test/Sema/dllimport-dllexport.c +++ b/clang/test/Sema/dllimport-dllexport.c @@ -1,8 +1,8 @@ // RUN: %clang_cc1 -triple i386-mingw32 -fsyntax-only -verify %s // RUN: %clang_cc1 -triple x86_64-mingw32 -fsyntax-only -verify %s -inline void __attribute__((dllexport)) foo1(){} // expected-warning{{dllexport attribute ignored}} -inline void __attribute__((dllimport)) foo2(){} // expected-warning{{dllimport attribute ignored}} +inline void __attribute__((dllexport)) foo1(){} // expected-warning{{'dllexport' attribute ignored}} +inline void __attribute__((dllimport)) foo2(){} // expected-warning{{'dllimport' attribute ignored}} void __attribute__((dllimport)) foo3(){} // expected-error{{dllimport attribute can be applied only to symbol declaration}} @@ -19,8 +19,8 @@ void __attribute__((dllimport)) foo6(); void foo6(){} // expected-warning {{'foo6' redeclared without dllimport attribute: previous dllimport ignored}} // PR6269 -inline void __declspec(dllexport) foo7(){} // expected-warning{{dllexport attribute ignored}} -inline void __declspec(dllimport) foo8(){} // expected-warning{{dllimport attribute ignored}} +inline void __declspec(dllexport) foo7(){} // expected-warning{{'dllexport' attribute ignored}} +inline void __declspec(dllimport) foo8(){} // expected-warning{{'dllimport' attribute ignored}} void __declspec(dllimport) foo9(){} // expected-error{{dllimport attribute can be applied only to symbol declaration}} -- cgit v1.2.3