]> granicus.if.org Git - clang/commitdiff
Add a warning flag for warn_alloca_align_alignof
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 31 Oct 2016 18:23:02 +0000 (18:23 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 31 Oct 2016 18:23:02 +0000 (18:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285612 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index 9d7cc015a4775fc34193fcb03de35b91f96a026f..e4290d8945aacd7a096b465de814a3c665b6792d 100644 (file)
@@ -2441,7 +2441,8 @@ def error_cannot_find_suitable_accessor : Error<
   "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">;