diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-01-15 22:31:35 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-01-15 22:31:35 +0000 |
commit | 30d791273d07fac9c0c1641a0731191bca6e8606 (patch) | |
tree | 6c840e234e0c97d0adf033bb41f667a5f5b528b6 /include | |
parent | 9f4dbff6669c8037f3b036bcf580d14f1a4f12a5 (diff) | |
download | src-test2-30d791273d07fac9c0c1641a0731191bca6e8606.tar.gz src-test2-30d791273d07fac9c0c1641a0731191bca6e8606.zip |
Notes
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 89749edfac44..1665a45e2cbf 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -2115,6 +2115,9 @@ def warn_attribute_invalid_on_definition : Warning< InGroup<IgnoredAttributes>; def err_attribute_dll_redeclaration : Error< "redeclaration of %q0 cannot add %q1 attribute">; +def warn_attribute_dll_redeclaration : Warning< + "redeclaration of %q0 should not add %q1 attribute">, + InGroup<DiagGroup<"dll-attribute-on-redeclaration">>; def err_attribute_dllimport_function_definition : Error< "dllimport cannot be applied to non-inline function definition">; def err_attribute_dll_deleted : Error< |