Fix indentation.

llvm-svn: 109965
This commit is contained in:
John McCall 2010-08-01 01:25:24 +00:00
parent d4e1b767f3
commit a755f0f74a
1 changed files with 9 additions and 9 deletions

View File

@ -4205,15 +4205,15 @@ void Sema::ActOnUninitializedDecl(DeclPtrTy dcl,
return;
}
// Provide a specific diagnostic for uninitialized variable
// definitions with reference type.
if (Type->isReferenceType()) {
Diag(Var->getLocation(), diag::err_reference_var_requires_init)
<< Var->getDeclName()
<< SourceRange(Var->getLocation(), Var->getLocation());
Var->setInvalidDecl();
return;
}
// Provide a specific diagnostic for uninitialized variable
// definitions with reference type.
if (Type->isReferenceType()) {
Diag(Var->getLocation(), diag::err_reference_var_requires_init)
<< Var->getDeclName()
<< SourceRange(Var->getLocation(), Var->getLocation());
Var->setInvalidDecl();
return;
}
// Do not attempt to type-check the default initializer for a
// variable with dependent type.