r313684 - Fix 32-bit buildbots by removing tests that are dependent on pointer-size comparisons.

2017-09-19 Thread Andrew Kaylor via cfe-commits
Author: akaylor Date: Tue Sep 19 14:43:01 2017 New Revision: 313684 URL: http://llvm.org/viewvc/llvm-project?rev=313684=rev Log: Fix 32-bit buildbots by removing tests that are dependent on pointer-size comparisons. The recently behavior in the code that these tests were meant to be checking

r313666 - Teach clang to tolerate the 'p = nullptr + n' idiom used by glibc

2017-09-19 Thread Andrew Kaylor via cfe-commits
Author: akaylor Date: Tue Sep 19 13:26:40 2017 New Revision: 313666 URL: http://llvm.org/viewvc/llvm-project?rev=313666=rev Log: Teach clang to tolerate the 'p = nullptr + n' idiom used by glibc Differential Revision: https://reviews.llvm.org/D37042 Added:

r313784 - Remove offset size check in nullptr arithmetic handling

2017-09-20 Thread Andrew Kaylor via cfe-commits
Author: akaylor Date: Wed Sep 20 11:06:44 2017 New Revision: 313784 URL: http://llvm.org/viewvc/llvm-project?rev=313784=rev Log: Remove offset size check in nullptr arithmetic handling Differential Revision: https://reviews.llvm.org/D37042 Modified: cfe/trunk/lib/AST/Expr.cpp