]> granicus.if.org Git - clang/commit
c: make __attribute__((unused)) transitive.
authorFariborz Jahanian <fjahanian@apple.com>
Thu, 6 Sep 2012 16:43:18 +0000 (16:43 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Thu, 6 Sep 2012 16:43:18 +0000 (16:43 +0000)
commit2d40d9e3bd6638399260332d8c7a98ac715f7b0d
tree72cd51961f10c174b6573129032ba274546485f2
parent8e5264f19386dc607ed43328329dad35a724a3de
c: make __attribute__((unused)) transitive.
   Don't warn if annotated decl is used inside another
   unused. // rdar://12233989

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163329 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/Sema/warn-unused-function.c