================
Comment at: lib/Sema/SemaChecking.cpp:3436-3444
@@ +3435,11 @@
+
+    if (TrueTy == FalseTy)
+      return { TrueTy, TrueName };
+    else if (TrueTy.isNull())
+      return { FalseTy, FalseName };
+    else if (FalseTy.isNull())
+      return { TrueTy, TrueName };
+  }
+
+  return { QualType(), StringRef() };
+}
----------------
rsmith wrote:
> I would be surprised if all our supported compilers cope with this syntax. 
> Happily surprised, but surprised nonetheless.
If MSVC will have problems here, I will fall back to std::make_pair here surely.

http://reviews.llvm.org/D6256



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to