]> granicus.if.org Git - clang/commit
Tentatively enable -Wcast-calling-convention by default
authorReid Kleckner <rnk@google.com>
Tue, 17 May 2016 16:50:45 +0000 (16:50 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 17 May 2016 16:50:45 +0000 (16:50 +0000)
commit848c2ee39363503ff4ac8c0fbf9b00c135e9a41b
treeb93e5653461bc87b20bcf7ea51a65ac23561dd39
parente5e8f501100294ac903c8bc565543e508e670356
Tentatively enable -Wcast-calling-convention by default

In Chrome, this would have found two true positives around CreateThread
if we hadn't already fixed them while rolling out ASan. We didn't get
any other hits in Chrome. I'm curious to hear if this warning finds
anything in other projects.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269780 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td