Disambiguated variable name to comply with VC++'s archaic variable scoping rules.
llvm-svn: 43371
This commit is contained in:
parent
414d7e373e
commit
d57aca25fc
|
|
@ -73,7 +73,7 @@ Stmt*& StmtIteratorBase::GetDeclExpr() const {
|
|||
if (VarDecl* D = dyn_cast<VarDecl>(Ptr.D))
|
||||
return reinterpret_cast<Stmt*&>(D->Init);
|
||||
else {
|
||||
EnumConstantDecl* D = cast<EnumConstantDecl>(Ptr.D);
|
||||
return reinterpret_cast<Stmt*&>(D->Init);
|
||||
EnumConstantDecl* Decl = cast<EnumConstantDecl>(Ptr.D);
|
||||
return reinterpret_cast<Stmt*&>(Decl->Init);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue