[PATCH] D24152: Support the overloadable attribute with _Generic expressions

George Burgess IV via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 1 20:27:57 PDT 2016


george.burgess.iv added a subscriber: george.burgess.iv.
george.burgess.iv added a comment.

Just a drive-by nit. Thanks for the patch!


================
Comment at: lib/Sema/SemaOverload.cpp:12996
@@ +12995,3 @@
+      // selection expression.
+      std::vector<Expr *> AssocExprs(GSE->getAssocExprs().vec());
+      unsigned ResultIdx = GSE->getResultIndex();
----------------
Is there a reason this isn't a `SmallVector` instead?


https://reviews.llvm.org/D24152





More information about the cfe-commits mailing list