[cfe-commits] r166158 - /cfe/trunk/lib/Sema/SemaInit.cpp
Richard Smith
richard-llvm at metafoo.co.uk
Wed Oct 17 16:55:38 PDT 2012
Author: rsmith
Date: Wed Oct 17 18:55:38 2012
New Revision: 166158
URL: http://llvm.org/viewvc/llvm-project?rev=166158&view=rev
Log:
Update comment to match DR1502.
Modified:
cfe/trunk/lib/Sema/SemaInit.cpp
Modified: cfe/trunk/lib/Sema/SemaInit.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaInit.cpp?rev=166158&r1=166157&r2=166158&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaInit.cpp (original)
+++ cfe/trunk/lib/Sema/SemaInit.cpp Wed Oct 17 18:55:38 2012
@@ -3611,8 +3611,7 @@
// user-provided or deleted default constructor, then the object is
// zero-initialized and, if T has a non-trivial default constructor,
// default-initialized;
- // FIXME: The 'non-union' here is a defect (not yet assigned an issue
- // number). Update the quotation when the defect is resolved.
+ // The 'non-union' here was removed by DR1502.
if (NeedZeroInitialization)
Sequence.AddZeroInitializationStep(Entity.getType());
More information about the cfe-commits
mailing list