summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-06-03 22:59:53 +0000
committerJordan Rose <jordan_rose@apple.com>2013-06-03 22:59:53 +0000
commit9d9b494aa36ceeb823c48acf04d2d7677174be88 (patch)
treea2c164ff90e006220dffbe9e647a5203536a6b49 /lib/CodeGen/CodeGenModule.h
parent96f1061fbe59faff5b266a3a04061cefcfe03e2f (diff)
downloadclang-9d9b494aa36ceeb823c48acf04d2d7677174be88.tar.gz
clang-9d9b494aa36ceeb823c48acf04d2d7677174be88.tar.bz2
clang-9d9b494aa36ceeb823c48acf04d2d7677174be88.tar.xz
[analyzer; new edges] Improve enclosing contexts for logical expressions.
The old edge builder didn't have a notion of nested statement contexts, so there was no special treatment of a logical operator inside an if (or inside another logical operator). The new edge builder always tries to establish the full context up to the top-level statement, so it's important to know how much context has been established already rather than just checking the innermost context. This restores some of the old behavior for the old edge generation: the context of a logical operator's non-controlling expression is the subexpression in the old edge algorithm, but the entire operator expression in the new algorithm. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions