Skip to content

Commit 11d9dae

Browse files
committed
[FOLD] format
1 parent 347e486 commit 11d9dae

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

clang/lib/Parse/ParseExpr.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2343,10 +2343,9 @@ Parser::ParsePostfixExpressionSuffix(ExprResult LHS) {
23432343
}
23442344

23452345
if (!LHS.isInvalid())
2346-
LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc,
2347-
OpKind, SS, TemplateKWLoc, Name,
2348-
CurParsedObjCImpl ? CurParsedObjCImpl->Dcl
2349-
: nullptr);
2346+
LHS = Actions.ActOnMemberAccessExpr(
2347+
getCurScope(), LHS.get(), OpLoc, OpKind, SS, TemplateKWLoc, Name,
2348+
CurParsedObjCImpl ? CurParsedObjCImpl->Dcl : nullptr);
23502349
if (!LHS.isInvalid()) {
23512350
if (Tok.is(tok::less))
23522351
checkPotentialAngleBracket(LHS);

clang/lib/Sema/SemaExprMember.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,11 +1739,9 @@ static ExprResult LookupMemberExpr(Sema &S, LookupResult &R,
17391739

17401740
ExprResult Sema::ActOnMemberAccessExpr(Scope *S, Expr *Base,
17411741
SourceLocation OpLoc,
1742-
tok::TokenKind OpKind,
1743-
CXXScopeSpec &SS,
1742+
tok::TokenKind OpKind, CXXScopeSpec &SS,
17441743
SourceLocation TemplateKWLoc,
1745-
UnqualifiedId &Id,
1746-
Decl *ObjCImpDecl) {
1744+
UnqualifiedId &Id, Decl *ObjCImpDecl) {
17471745
// Warn about the explicit constructor calls Microsoft extension.
17481746
if (getLangOpts().MicrosoftExt &&
17491747
Id.getKind() == UnqualifiedIdKind::IK_ConstructorName)

0 commit comments

Comments
 (0)