summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-05-01 22:39:31 +0000
committerJordan Rose <jordan_rose@apple.com>2013-05-01 22:39:31 +0000
commit7023a9037858ac8fc4bae29f293e0da35f78fb63 (patch)
tree0047e5fb8d73745e8701de52f7cb3e141ffc2fda /llvm/include/llvm-c
parent8f2e6feb8e218acaf395536776627d54562ed981 (diff)
downloadbcm5719-llvm-7023a9037858ac8fc4bae29f293e0da35f78fb63.tar.gz
bcm5719-llvm-7023a9037858ac8fc4bae29f293e0da35f78fb63.zip
[analyzer] Don't inline the [cd]tors of C++ iterators.
This goes with r178516, which instructed the analyzer not to inline the constructors and destructors of C++ container classes. This goes a step further and does the same thing for iterators, so that the analyzer won't falsely decide we're trying to construct an iterator pointing to a nonexistent element. The heuristic for determining whether something is an iterator is the presence of an 'iterator_category' member. This is controlled under the same -analyzer-config option as container constructor/destructor inlining: 'c++-container-inlining'. <rdar://problem/13770187> llvm-svn: 180890
Diffstat (limited to 'llvm/include/llvm-c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud