]> granicus.if.org Git - clang/commit
Consolidated use of BumpPtrAllocator shared by various ImmutableSet/ImmutableMap
authorTed Kremenek <kremenek@apple.com>
Mon, 11 Feb 2008 23:12:59 +0000 (23:12 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 11 Feb 2008 23:12:59 +0000 (23:12 +0000)
commit8158a0e2c43705fca1218dae029ff9549e36f166
tree1c19ef4bd0f4e8cd76521108b1b310c6356a1930
parente7a37307d2ee589143d8fd83504cd4a0005d453f
Consolidated use of BumpPtrAllocator shared by various ImmutableSet/ImmutableMap
factories.

Fixed a horrible bug in lval:DeclVar::classof(RValue* V); we weren't checking
V was an LValue, allowing nonlval::ConcereteInts to match isa<lval::DeclVar>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46976 91177308-0d34-0410-b5e6-96231b3b80d8
Analysis/RValues.h
Analysis/ValueState.cpp
Analysis/ValueState.h