]> granicus.if.org Git - clang/commitdiff
Kill off an irrelevant FIXME
authorDouglas Gregor <dgregor@apple.com>
Mon, 12 Sep 2011 18:58:37 +0000 (18:58 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 12 Sep 2011 18:58:37 +0000 (18:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139523 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDecl.cpp

index b33294d7c38cd5ec9d055536defcf00e158cd6c0..0c1e095ab428dfd95db7b900999cf01bd234b36b 100644 (file)
@@ -8651,11 +8651,8 @@ void Sema::ActOnFields(Scope* S,
 
   // 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;