Allow #pragma unused to be used on global variables like gcc. Fixes rdar://8793832.
commit6c222284f72d9ead9c091d72d447970f2cd3fe5f
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Thu, 27 Jan 2011 18:16:48 +0000 (27 18:16 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Thu, 27 Jan 2011 18:16:48 +0000 (27 18:16 +0000)
tree0baf0cd8a5a3cc2c1aae1373d32870f594817114
parentdcf85a811e5b90aeab6da862ae2da3ecdeab4510
Allow #pragma unused to be used on global variables like gcc. Fixes rdar://8793832.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124383 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaAttr.cpp
test/Sema/pragma-unused.c