[Diagnostics] Avoid -Wsizeof-array-div when dividing the size of a nested array by...
authorDavid Bolvansky <david.bolvansky@gmail.com>
Mon, 23 Sep 2019 12:54:35 +0000 (12:54 +0000)
committerDavid Bolvansky <david.bolvansky@gmail.com>
Mon, 23 Sep 2019 12:54:35 +0000 (12:54 +0000)
commit116e6cf36e4ec06cf4eb7116d7521415236ab9d1
tree01b83d8af0ba7f5e3ba5fcc7b74cd2a602a85fb7
parentc720f6384535503fb0b1a7da86b462343213837d
[Diagnostics] Avoid -Wsizeof-array-div when dividing the size of a nested array by the size of the deepest base type

llvm-svn: 372600
clang/lib/Sema/SemaExpr.cpp
clang/test/Sema/div-sizeof-array.cpp