[PATCH] D22057: Prevent devirtualization of calls to un-instantiated functions.
Piotr Padlewski via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 10 23:16:56 PDT 2016
Prazek added a subscriber: Prazek.
================
Comment at: lib/Sema/Sema.cpp:684
@@ +683,3 @@
+ for (auto PII : Pending)
+ if (FunctionDecl *Func = dyn_cast<FunctionDecl>(PII.first))
+ Func->setMarkedForPendingInstantiation();
----------------
Dry. Use auto
https://reviews.llvm.org/D22057
More information about the cfe-commits
mailing list