]> granicus.if.org Git - clang/commit
It's OK to use nullptr in relational operators if the other side is a null pointer...
authorAnders Carlsson <andersca@mac.com>
Thu, 4 Nov 2010 03:17:43 +0000 (03:17 +0000)
committerAnders Carlsson <andersca@mac.com>
Thu, 4 Nov 2010 03:17:43 +0000 (03:17 +0000)
commit0c8209e40b405fd32f047e95aafdc94054406a58
treeca08cd82f9874ccf7a35fbdcc95130ba637eb8f3
parenta32a6e1abe6972b48b4d5ec79d81b6f7241723bf
It's OK to use nullptr in relational operators if the other side is a null pointer constant.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118234 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/SemaCXX/nullptr.cpp