summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-05-30 01:05:58 +0000
committerJordan Rose <jordan_rose@apple.com>2013-05-30 01:05:58 +0000
commit3e8a85fcfc3d264e4c5b21fbdd741bbc0c24a266 (patch)
tree87acf4d6f6e84b01a30e167fa1186c6822213c60 /lib/CodeGen/CGExpr.cpp
parent1bc085aec3901e22b819bb6761d5ccc360194604 (diff)
downloadclang-3e8a85fcfc3d264e4c5b21fbdd741bbc0c24a266.tar.gz
clang-3e8a85fcfc3d264e4c5b21fbdd741bbc0c24a266.tar.bz2
clang-3e8a85fcfc3d264e4c5b21fbdd741bbc0c24a266.tar.xz
[analyzer; new edges] In for(;;), use the ForStmt itself for loop notes.
Most loop notes (like "entering loop body") are attached to the condition expression guarding a loop or its equivalent. For loops may not have a condition expression, though. Rather than crashing, just use the entire ForStmt as the location. This is probably the best we can do. <rdar://problem/14016063> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions