Grammar cleanup in comment.

Remove redundant assignment.

llvm-svn: 50978
This commit is contained in:
Ted Kremenek 2008-05-12 17:40:56 +00:00
parent babaa52efb
commit 8322da5fa3
1 changed files with 2 additions and 3 deletions

View File

@ -117,9 +117,9 @@ void ScopedDecl::ReadInRec(Deserializer& D, ASTContext& C) {
NamedDecl::ReadInRec(D, C); NamedDecl::ReadInRec(D, C);
D.ReadPtr(Next); // From ScopedDecl. 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. 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 @@ VarDecl* VarDecl::CreateImpl(Deserializer& D, ASTContext& C) {
new (Mem) VarDecl(Var, 0, SourceLocation(), NULL, QualType(), None, NULL); new (Mem) VarDecl(Var, 0, SourceLocation(), NULL, QualType(), None, NULL);
decl->VarDecl::ReadImpl(D, C); decl->VarDecl::ReadImpl(D, C);
return decl; return decl;
} }