Author: majnemer Date: Mon Oct 31 13:23:02 2016 New Revision: 285612 URL: http://llvm.org/viewvc/llvm-project?rev=285612&view=rev Log: Add a warning flag for warn_alloca_align_alignof
Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=285612&r1=285611&r2=285612&view=diff ============================================================================== --- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original) +++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Mon Oct 31 13:23:02 2016 @@ -2441,7 +2441,8 @@ def error_cannot_find_suitable_accessor "cannot find suitable %select{getter|setter}0 for property %1">; def warn_alloca_align_alignof : Warning< - "second argument to __builtin_alloca_with_align is supposed to be in bits">; + "second argument to __builtin_alloca_with_align is supposed to be in bits">, + InGroup<DiagGroup<"alloca-with-align-alignof">>; def err_alignment_too_small : Error< "requested alignment must be %0 or greater">; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits