]> granicus.if.org Git - clang/commit
Warn if a variable marked with the "unused" attribute is used. Patch by Darin Adler!
authorAnders Carlsson <andersca@mac.com>
Fri, 22 Oct 2010 23:37:08 +0000 (23:37 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 22 Oct 2010 23:37:08 +0000 (23:37 +0000)
commit2127eccbe15fd3b1b29aa53ccedd2e0f55ad27f9
treef3308f8ee6379e9247351a366149282457eb9ccb
parent5b629aa86c987f276d00453b6c9ab8424f7903fe
Warn if a variable marked with the "unused" attribute is used. Patch by Darin Adler!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117184 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaAttr.cpp
lib/Sema/SemaExpr.cpp
test/Analysis/rdar-6442306-1.m
test/Sema/attr-unused.c
test/Sema/pragma-unused.c