]> granicus.if.org Git - clang/commit
Removing some unneeded code, and a diagnostic that was obsoleted. The type has alread...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 26 Dec 2013 14:54:11 +0000 (14:54 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 26 Dec 2013 14:54:11 +0000 (14:54 +0000)
commit7853e320e23e2e576369fb5d9e01060babfe4012
treec34c9d7e5ea627ff9bb6f81c793f195dceaaa609
parenta693f7de5d45c718ae9b82310d456c51bcda2422
Removing some unneeded code, and a diagnostic that was obsoleted. The type has already been determined to be a ValueDecl by virtue of the attribute subjects.

Added some test case coverage as well.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198046 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclAttr.cpp
test/SemaCXX/warn-thread-safety-analysis.cpp