Remove offset size check in nullptr arithmetic handling
authorAndrew Kaylor <andrew.kaylor@intel.com>
Wed, 20 Sep 2017 18:06:44 +0000 (18:06 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Wed, 20 Sep 2017 18:06:44 +0000 (18:06 +0000)
commitb9be53634c872979cad369808313b0aad143fed9
tree0add4349ff10c8d68807053a6c43ff5258fae06b
parent249dc1497964696944f343353daf31d5e4a9ddec
Remove offset size check in nullptr arithmetic handling

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

llvm-svn: 313784
clang/lib/AST/Expr.cpp
clang/test/CodeGen/nullptr-arithmetic.c
clang/test/Sema/pointer-addition.c
clang/test/SemaCXX/nullptr-arithmetic.cpp