]> granicus.if.org Git - clang/commit
Consider used attributes in hidden decls.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 25 Oct 2013 01:28:12 +0000 (01:28 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 25 Oct 2013 01:28:12 +0000 (01:28 +0000)
commit101e9dc388c92d1e58bf977ff9697572cbe8b422
tree38ae67b9bb2212f9d91d90d74256de9351b580fb
parent858d2ba136c8dcdc051fe20b3190c40bc25de189
Consider used attributes in hidden decls.

Without this patch we would warn and fail to output the function in the test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193388 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/warn-unused-filescoped.cpp