diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-05-31 02:08:49 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2014-05-31 02:08:49 +0000 |
commit | 426b8485149ba9f3d12287dca745c0140635a1fb (patch) | |
tree | feaddf62e37bade672a95b8625383cab3a4c1137 /include/clang/Basic/DiagnosticSemaKinds.td | |
parent | ffc3500bc9d543821fb35aa8dec0232e52d8e6c1 (diff) | |
download | clang-426b8485149ba9f3d12287dca745c0140635a1fb.tar.gz clang-426b8485149ba9f3d12287dca745c0140635a1fb.tar.bz2 clang-426b8485149ba9f3d12287dca745c0140635a1fb.tar.xz |
Diagnose dll attribute on member of class that already has a dll attribute
Differential Revision: http://reviews.llvm.org/D3973
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209954 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticSemaKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 758bf23c30..da011e4615 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -2109,6 +2109,8 @@ def err_attribute_dllimport_data_definition : Error< "definition of dllimport data">; def err_attribute_dllimport_static_field_definition : Error< "definition of dllimport static field not allowed">; +def err_attribute_dll_member_of_dll_class : Error< + "attribute %q0 cannot be applied to member of %q1 class">; def err_attribute_weakref_not_static : Error< "weakref declaration must have internal linkage">; def err_attribute_weakref_not_global_context : Error< |