]> granicus.if.org Git - clang/commit
[Diagnostics] Add -Wsizeof-array-div
authorDavid Bolvansky <david.bolvansky@gmail.com>
Wed, 11 Sep 2019 10:59:47 +0000 (10:59 +0000)
committerDavid Bolvansky <david.bolvansky@gmail.com>
Wed, 11 Sep 2019 10:59:47 +0000 (10:59 +0000)
commitb43aeec9c9ad6465a8af2268eac3471ba5700368
tree5f11c1f861bb28090837535c49be1d09b1258b73
parentcf300c1f1ed582bb16ee1dc08194449f43d07d9f
[Diagnostics] Add -Wsizeof-array-div

Summary: Clang version of https://www.viva64.com/en/examples/v706/

Reviewers: rsmith

Differential Revision: https://reviews.llvm.org/D67287

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@371605 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/Sema/div-sizeof-array.cpp [new file with mode: 0644]