]> granicus.if.org Git - clang/commit
Teach CFGBuilder about null pointer constants in conditionals, and how they can be...
authorTed Kremenek <kremenek@apple.com>
Wed, 23 Feb 2011 05:11:46 +0000 (05:11 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 23 Feb 2011 05:11:46 +0000 (05:11 +0000)
commitc56c004e0b8030e8ca8614e7febe581221938b75
treef7d3d64d64852d36bcaf01d6698a88d5fcfd8765
parente7455016e5fae3db7e2d88a61633f76ab05fc9d3
Teach CFGBuilder about null pointer constants in conditionals, and how they can be used to prune branches.  Fixes false null pointer dereference warning in PR 8183.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126305 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFG.cpp
test/Sema/exprs.c