зеркало из https://github.com/microsoft/clang.git
Kill off an irrelevant FIXME
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139523 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
e7566cf6e1
Коммит
48822fbd08
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче