Update equality and relationship comparisons of pointers to reflect
C++ semantics, eliminating an extension diagnostic that doesn't match
C++ semantics (ordered comparison with NULL) and tightening some
extwarns to errors in C++ to match GCC and maintain conformance in
SFINAE contexts. Fixes <rdar://problem/7941392>.

llvm-svn: 106050
3 files changed
tree: e9d8067cf3d38e3d5b2db12667f954f1fb1f9068
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/