]> granicus.if.org Git - clang/commit
Warn on and drop dllimport attrs from variable definitions
authorReid Kleckner <reid@kleckner.net>
Mon, 20 May 2013 21:53:29 +0000 (21:53 +0000)
committerReid Kleckner <reid@kleckner.net>
Mon, 20 May 2013 21:53:29 +0000 (21:53 +0000)
commitbeba3e80378f38f3d1e1ef030dacdd438373d3d5
treec638d2828ce55849496e374e3cd551fda49b984b
parent8dbda516d343706bae904f800c6d64e145d58a8c
Warn on and drop dllimport attrs from variable definitions

AsmPrinter::EmitLinkage() does not handle dllimport linkage.  The LLVM
verifier should also be fixed to reject this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182320 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclAttr.cpp
lib/Sema/TargetAttributesSema.cpp
test/Sema/dllimport-dllexport.c