erik.pilkington added inline comments.
================ Comment at: lib/AST/ExprConstant.cpp:588 + : EI(EI), Object(Object) { + DidInsert = EI.EvaluatingConstructors.insert(Object).second; + } ---------------- rsmith wrote: > Can the `DidInsert == false` case actually happen? Yep, if you have the following: ``` struct Outer { struct Inner { constexpr Inner() {} }; Inner i; constexpr Outer() {} }; constexpr Outer o; ``` There are two ctor calls for the LValueBase `constexpr Outer o;` at call index 0. https://reviews.llvm.org/D38483 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits