]> granicus.if.org Git - clang/commit
Move away from the poor "abstraction" I added to Type. John argued
authorChandler Carruth <chandlerc@gmail.com>
Mon, 20 Jun 2011 07:38:51 +0000 (07:38 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 20 Jun 2011 07:38:51 +0000 (07:38 +0000)
commit1567a8ba8daaaa91a5de3c23026c9c19de017bd1
treecea67a694e914150c9b002a5e1f62c13ece80beb
parent6af966266235cae3287d50f1a10072bc48759ba0
Move away from the poor "abstraction" I added to Type. John argued
effectively that this abstraction simply doesn't exist. That is
highlighted by the fact that by using it we were papering over a more
serious error in this warning: the fact that we warned for *invalid*
constructs involving member pointers and block pointers.

I've fixed the obvious issues with the warning here, but this is
confirming an original suspicion that this warning's implementation is
flawed. I'm looking into how we can implement this more reasonably. WIP
on that front.

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