summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-03-11 21:57:34 +0000
committerTed Kremenek <kremenek@apple.com>2009-03-11 21:57:34 +0000
commitb2dea734527ae75281642a1c6ace28f9e00cab11 (patch)
tree4518bd355cc4ddc15f3e75f49d2b455feb60fee5 /lib/CodeGen/CodeGenFunction.cpp
parent21e6f176015f8ffa0f162618c03f6d63746361ef (diff)
downloadclang-b2dea734527ae75281642a1c6ace28f9e00cab11.tar.gz
clang-b2dea734527ae75281642a1c6ace28f9e00cab11.tar.bz2
clang-b2dea734527ae75281642a1c6ace28f9e00cab11.tar.xz
Add TypedViewRegion::isBoundable() to indicate whether or not the
TypedViewRegion has a valid rvalue type. Also renamed instance variable 'T' to 'LvalueType' to make it unambiguous of its purpose. This fixes some crashes I was seeing after: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090309/013771.html This is because 'isBoundable()' is defined in TypedRegion (the parent class) in terms of the rvalue type (which could be null), while for TypedViewRegion it should be defined in terms of the lvalue type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66712 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions