Skip to content

Commit 39a9d55

Browse files
committed
Fix formatting.
1 parent 0f04dbc commit 39a9d55

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

clang/include/clang/Sema/SemaAMDGPU.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class ParsedAttr;
2424

2525
class SemaAMDGPU : public SemaBase {
2626
llvm::SmallPtrSet<Expr *, 32> ExpandedPredicates;
27+
2728
public:
2829
SemaAMDGPU(Sema &S);
2930

clang/lib/Sema/SemaAMDGPU.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,9 @@ Expr *SemaAMDGPU::ExpandAMDGPUPredicateBI(CallExpr *CE) {
375375
auto Loc = CE->getExprLoc();
376376

377377
if (!CE->getBuiltinCallee())
378-
return *ExpandedPredicates.insert(
379-
IntegerLiteral::Create(Ctx, False, BoolTy, Loc)).first;
378+
return *ExpandedPredicates
379+
.insert(IntegerLiteral::Create(Ctx, False, BoolTy, Loc))
380+
.first;
380381

381382
auto P = false;
382383
auto BI = CE->getBuiltinCallee();
@@ -425,8 +426,10 @@ Expr *SemaAMDGPU::ExpandAMDGPUPredicateBI(CallExpr *CE) {
425426
P = Builtin::evaluateRequiredTargetFeatures(RF, CF);
426427
}
427428

428-
return *ExpandedPredicates.insert(
429-
IntegerLiteral::Create(Ctx, P ? True : False, BoolTy, Loc)).first;
429+
return *ExpandedPredicates
430+
.insert(
431+
IntegerLiteral::Create(Ctx, P ? True : False, BoolTy, Loc))
432+
.first;
430433
}
431434

432435
bool SemaAMDGPU::IsPredicate(Expr *E) const {

0 commit comments

Comments
 (0)