Author: dgregor
Date: Mon Sep 12 13:58:37 2011
New Revision: 139523
URL: http://llvm.org/viewvc/llvm-project?rev=139523&view=rev
Log:
Kill off an irrelevant FIXME
Modified:
cfe/trunk/lib/Sema/SemaDecl.cpp
Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=139523&r1=139522&r2=139523&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Mon Sep 12 13:58:37 2011
@@ -8651,11 +8651,8 @@
// If the decl this is being inserted into is invalid, then it may be a
// redeclaration or some other bogus case. Don't try to add fields to it.
- if (EnclosingDecl->isInvalidDecl()) {
- // FIXME: Deallocate fields?
+ if (EnclosingDecl->isInvalidDecl())
return;
- }
-
// Verify that all the fields are okay.
unsigned NumNamedMembers = 0;
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits