Skip to content

Commit a755f0f

Browse files
committed
Fix indentation.
llvm-svn: 109965
1 parent d4e1b76 commit a755f0f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

clang/lib/Sema/SemaDecl.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4205,15 +4205,15 @@ void Sema::ActOnUninitializedDecl(DeclPtrTy dcl,
42054205
return;
42064206
}
42074207

4208-
// Provide a specific diagnostic for uninitialized variable
4209-
// definitions with reference type.
4210-
if (Type->isReferenceType()) {
4211-
Diag(Var->getLocation(), diag::err_reference_var_requires_init)
4212-
<< Var->getDeclName()
4213-
<< SourceRange(Var->getLocation(), Var->getLocation());
4214-
Var->setInvalidDecl();
4215-
return;
4216-
}
4208+
// Provide a specific diagnostic for uninitialized variable
4209+
// definitions with reference type.
4210+
if (Type->isReferenceType()) {
4211+
Diag(Var->getLocation(), diag::err_reference_var_requires_init)
4212+
<< Var->getDeclName()
4213+
<< SourceRange(Var->getLocation(), Var->getLocation());
4214+
Var->setInvalidDecl();
4215+
return;
4216+
}
42174217

42184218
// Do not attempt to type-check the default initializer for a
42194219
// variable with dependent type.

0 commit comments

Comments
 (0)