]> granicus.if.org Git - clang/commit
Refixed pr5086 by letting Expr::isNullPointerConstant
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 6 Oct 2009 00:09:31 +0000 (00:09 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 6 Oct 2009 00:09:31 +0000 (00:09 +0000)
commit56fc0d18caf9c829647a5e3ce35197f0d7e0feee
tree2122f22fde1b7e1c1a33fa3b7f27fcfac768d4c9
parent8cf7a1a6dd284a356d0cc69448e35f9b13a7b35a
Refixed pr5086 by letting Expr::isNullPointerConstant
handle checking for a null pointer for a zero-valued
enumerator; moving the test case from CodeGen to Sema.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83350 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Expr.cpp
lib/Sema/SemaOverload.cpp
test/CodeGenCXX/PR5086-ambig-resolution-enum.cpp [deleted file]
test/SemaCXX/PR5086-ambig-resolution-enum.cpp [new file with mode: 0644]