summaryrefslogtreecommitdiffstats
path: root/libcxx/src
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2013-03-28 18:43:15 +0000
committerTed Kremenek <kremenek@apple.com>2013-03-28 18:43:15 +0000
commit0dd8feee93baf81bb24fe69a41f75508de549495 (patch)
treed13fb9992e07b5e00b63b55a213d4d3d7fa8b8ae /libcxx/src
parentca5ce187fac45bc818dab205c0036c004a9862b7 (diff)
downloadbcm5719-llvm-0dd8feee93baf81bb24fe69a41f75508de549495.tar.gz
bcm5719-llvm-0dd8feee93baf81bb24fe69a41f75508de549495.zip
Add CFG logic to create a conditional branch for modeling static initializers.
This is an optional variant of the CFG. This allows analyses to model whether or not a static initializer has run, e.g.: static Foo x = bar(); For basic dataflow analysis in Sema we will just assume that the initializer always runs. For the static analyzer we can use this branch to accurately track whether or not initializers are on. This patch just adds the (opt-in) functionality to the CFG. The static analyzer still needs to be modified to adopt this feature. llvm-svn: 178263
Diffstat (limited to 'libcxx/src')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud