aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-01-30 00:08:43 +0000
committerTed Kremenek <kremenek@apple.com>2009-01-30 00:08:43 +0000
commit7594e2a59a5ffc4abd80fea5d00d9be2496fe3fa (patch)
tree8d096fc1653230433bbf40fffd112e711d1d943e /llvm/lib/Support/CommandLine.cpp
parent711e882c1bc0a59893e491f114e8917607242ea5 (diff)
downloadllvm-7594e2a59a5ffc4abd80fea5d00d9be2496fe3fa.zip
llvm-7594e2a59a5ffc4abd80fea5d00d9be2496fe3fa.tar.gz
llvm-7594e2a59a5ffc4abd80fea5d00d9be2496fe3fa.tar.bz2
Fix a couple bugs:
- NonLoc::MakeVal() would use sizeof(unsigned) (literally) instead of consulting ASTContext for the size (in bits) of 'int'. While it worked, it was a conflation of concepts and using ASTContext.IntTy is 100% correct. - RegionStore::getSizeInElements() no longer assumes that a VarRegion has the type "ConstantArray", and handles the case when uses use ordinary variables as if they were arrays. - Fixed ElementRegion::getRValueType() to just return the rvalue type of its "array region" in the case the array didn't have ArrayType. - All of this fixes <rdar://problem/6541136> llvm-svn: 63347
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions