summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-03 19:28:52 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-03 19:28:52 +0000
commitd031fe9fcfd1e8003c0ee90e57c5e8b4ab65d145 (patch)
tree1671ee5c3f4bc751dce84452704db98a887db856 /clang/lib/Serialization/ModuleManager.cpp
parentf519be343b3c30af4afde418e390e1e05d3253f8 (diff)
downloadbcm5719-llvm-d031fe9fcfd1e8003c0ee90e57c5e8b4ab65d145.tar.gz
bcm5719-llvm-d031fe9fcfd1e8003c0ee90e57c5e8b4ab65d145.zip
[C++11] Remove the completely unnecessary requirement on SetVector's
remove_if that its predicate is adaptable. We don't actually need this, we can write a generic adapter for any predicate. This lets us remove some very wrong std::function usages. We should never be using std::function for predicates to algorithms. This incurs an *indirect* call overhead for every evaluation of the predicate, and makes it very hard to inline through. llvm-svn: 202742
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud