Skip to content

Commit 0b2d50c

Browse files
authored
[Clang][NFC] Remove trailing whitespace from SemaExpr.cpp (#102001)
This patch removes trailing whitespace from `SemaExpr.cpp` added by #70307
1 parent 13dd795 commit 0b2d50c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/lib/Sema/SemaExpr.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17008,10 +17008,10 @@ Sema::VerifyIntegerConstantExpression(Expr *E, llvm::APSInt *Result,
1700817008
if (!isa<ConstantExpr>(E))
1700917009
E = Result ? ConstantExpr::Create(Context, E, APValue(*Result))
1701017010
: ConstantExpr::Create(Context, E);
17011-
17011+
1701217012
if (Notes.empty())
1701317013
return E;
17014-
17014+
1701517015
// If our only note is the usual "invalid subexpression" note, just point
1701617016
// the caret at its location rather than producing an essentially
1701717017
// redundant note.
@@ -17020,7 +17020,7 @@ Sema::VerifyIntegerConstantExpression(Expr *E, llvm::APSInt *Result,
1702017020
DiagLoc = Notes[0].first;
1702117021
Notes.clear();
1702217022
}
17023-
17023+
1702417024
if (getLangOpts().CPlusPlus) {
1702517025
if (!Diagnoser.Suppress) {
1702617026
Diagnoser.diagnoseNotICE(*this, DiagLoc) << E->getSourceRange();
@@ -17033,7 +17033,7 @@ Sema::VerifyIntegerConstantExpression(Expr *E, llvm::APSInt *Result,
1703317033
Diagnoser.diagnoseFold(*this, DiagLoc) << E->getSourceRange();
1703417034
for (const PartialDiagnosticAt &Note : Notes)
1703517035
Diag(Note.first, Note.second);
17036-
17036+
1703717037
return E;
1703817038
}
1703917039

0 commit comments

Comments
 (0)