Skip to content

Commit e1ecc29

Browse files
committed
fix formatting
1 parent 2b9ad0f commit e1ecc29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/Sema/SemaDecl.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8492,7 +8492,8 @@ void Sema::CheckShadow(NamedDecl *D, NamedDecl *ShadowedDecl,
84928492
DeclContext *NewDC = D->getDeclContext();
84938493

84948494
if (FieldDecl *FD = dyn_cast<FieldDecl>(ShadowedDecl)) {
8495-
if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(getFunctionLevelDeclContext())) {
8495+
if (CXXMethodDecl *MD =
8496+
dyn_cast<CXXMethodDecl>(getFunctionLevelDeclContext())) {
84968497
// Fields are not shadowed by variables in C++ static methods.
84978498
if (MD->isStatic())
84988499
return;

0 commit comments

Comments
 (0)