[PATCH] D16465: [MS ABI] Prevent some expressions from evaluating to a constant

Ehsan Akhgari via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 22 07:17:20 PST 2016


ehsan added inline comments.

================
Comment at: lib/AST/ExprConstant.cpp:4113
@@ +4112,3 @@
+      if (!CheckPotentialExpressionContainingDeclRefExpr(E->getTrueExpr(),
+                                                          E->getFalseExpr()))
+        return false;
----------------
Oops, sorry, just noticed this whitespace issue, will fix when landing!


http://reviews.llvm.org/D16465





More information about the cfe-commits mailing list