[PATCH] D22248: [Sema] Create a separate group for incompatible function pointer warning
Bruno Cardoso Lopes via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 11 17:12:19 PDT 2016
bruno created this revision.
bruno added reviewers: bob.wilson, doug.gregor, krememek.
bruno added subscribers: cfe-commits, dexonsmith.
Give incompatible pointer warning for function pointers its own diagnostic group while leaving it as a subgroup of incompatible-pointer-types. This is in preparation to promote -Wincompatible-function-pointer-types to error on some darwin targets.
http://reviews.llvm.org/D22248
Files:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/Sema/incompatible-function-pointer-types.c
test/Sema/initialize-noreturn.c
test/Sema/overloadable.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22248.63612.patch
Type: text/x-patch
Size: 5856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160712/ebf427ce/attachment.bin>
More information about the cfe-commits
mailing list