Grammar cleanup in comment.
Remove redundant assignment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50978 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/DeclSerialization.cpp b/lib/AST/DeclSerialization.cpp
index 291649b..91d043c 100644
--- a/lib/AST/DeclSerialization.cpp
+++ b/lib/AST/DeclSerialization.cpp
@@ -117,9 +117,9 @@
NamedDecl::ReadInRec(D, C);
D.ReadPtr(Next); // From ScopedDecl.
- DeclCtx = 0; // Allow back-patching. Observe that we register
+ assert(DeclCtx == 0) // Allow back-patching. Observe that we register
D.ReadPtr(DeclCtx); // the variable of the *object* for back-patching.
- // It's actual value will get filled in later.
+ // Its actual value will get filled in later.
}
//===------------------------------------------------------------===//
@@ -251,7 +251,6 @@
new (Mem) VarDecl(Var, 0, SourceLocation(), NULL, QualType(), None, NULL);
decl->VarDecl::ReadImpl(D, C);
-
return decl;
}