[PATCH] D39357: Filter out invalid 'target' items from being passed to LLVM
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 27 11:08:30 PDT 2017
craig.topper added inline comments.
================
Comment at: lib/CodeGen/CodeGenModule.cpp:4586
+ ParsedAttr.Features.erase(
+ remove_if(ParsedAttr.Features.begin(), ParsedAttr.Features.end(),
+ [&](const std::string &Feat) {
----------------
Use llvm::remove_if which takes a type that has a range?
https://reviews.llvm.org/D39357
More information about the cfe-commits
mailing list