chandlerc added inline comments.

================
Comment at: lib/CodeGen/BackendUtil.cpp:347
@@ +346,3 @@
+        PassManagerBuilder::EP_EarlyAsPossible,
+        [&](const PassManagerBuilder &, legacy::PassManagerBase &PM) {
+          TM->addEarlyAsPossiblePasses(PM);
----------------
Wow, C++ is silly here. You can't capture it *by value*. You have to use an 
init capture (which we can't use yet). How silly. Anyways, thanks for the 
explanation.


http://reviews.llvm.org/D18617



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to