summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ASTMerge.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2012-10-23 21:54:53 +0000
committerEnrico Granata <egranata@apple.com>2012-10-23 21:54:53 +0000
commit91fe01753d1e86f842ac1d4ca3e7d699d34ab206 (patch)
tree557def416075125a233dfc4643f1d6980a9b45de /clang/lib/Frontend/ASTMerge.cpp
parentafaee3c3dafe4808f700c337c52109cdf692006e (diff)
downloadbcm5719-llvm-91fe01753d1e86f842ac1d4ca3e7d699d34ab206.tar.gz
bcm5719-llvm-91fe01753d1e86f842ac1d4ca3e7d699d34ab206.zip
<rdar://problem/12523238> Commit 2 of 3
Adding the new has_children (or MightHaveChildren() in C++) for the existing synthetic children providers In a few cases, the new call is going to be much more efficient than the previous num_children > 0 check When the optimization was marginal (e.g. std::vector<>), the choice was to use num_children in order to keep implementation details in one function instead of duplicating code Next step is to provide test cases llvm-svn: 166506
Diffstat (limited to 'clang/lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud