Allow #pragma unused to be used on global variables like gcc. Fixes rdar://8793832.
commit2a5c45b1ae4406459fbb39cb477951987c59cb0f
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 27 Jan 2011 18:16:48 +0000 (27 18:16 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 27 Jan 2011 18:16:48 +0000 (27 18:16 +0000)
tree0baf0cd8a5a3cc2c1aae1373d32870f594817114
parent1aa27307c462baaa9e5fda14ff6797dd39fe8b84
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