]> granicus.if.org Git - clang/commit
patch to suggest 'static' function should be 'static inline'
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 27 Jun 2012 19:43:29 +0000 (19:43 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 27 Jun 2012 19:43:29 +0000 (19:43 +0000)
commit12d2cc71bfeb1e7be9ce00fc52feab50941cac24
tree12e59c88cbec128a0b1cbc3c02e56569c9db72c1
parent8d852e35adb46e0799538dfc9c80d44f27cd3597
patch to suggest 'static' function should be 'static inline'
when it appears to be unused and occurs in a header.
// rdar://11202617

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159282 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/Sema.cpp
test/SemaCXX/warn-static-function-inheader.cpp [new file with mode: 0644]
test/SemaCXX/warn-static-function-inheader.h [new file with mode: 0644]