aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-09-12 18:58:37 +0000
committerDouglas Gregor <dgregor@apple.com>2011-09-12 18:58:37 +0000
commit48822fbd088c4821f15fee5a2957a69a1f98e746 (patch)
treef6c888d64565086758e4d62b194f13a9f95d755a
parente7566cf6e194946c2b6540444e99452e3e678349 (diff)
Kill off an irrelevant FIXME
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139523 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Sema/SemaDecl.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index b33294d7c3..0c1e095ab4 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -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;