@@ -3694,8 +3694,8 @@ ExprResult Sema::BuildAtomicExpr(SourceRange CallRange, SourceRange ExprRange,
36943694 } Form = Init;
36953695
36963696 const unsigned NumForm = Clear + 1;
3697- const unsigned NumArgs[] = { 2, 2, 3, 3, 3, 3, 4, 5, 6, 2, 2 };
3698- const unsigned NumVals[] = { 1, 0, 1, 1, 1, 1, 2, 2, 3, 0, 0 };
3697+ const unsigned NumArgs[] = {2, 2, 3, 3, 3, 3, 4, 5, 6, 2, 2};
3698+ const unsigned NumVals[] = {1, 0, 1, 1, 1, 1, 2, 2, 3, 0, 0};
36993699 // where:
37003700 // C is an appropriate type,
37013701 // A is volatile _Atomic(C) for __c11 builtins and is C for GNU builtins,
@@ -4009,8 +4009,8 @@ ExprResult Sema::BuildAtomicExpr(SourceRange CallRange, SourceRange ExprRange,
40094009 ValType.removeLocalVolatile();
40104010 ValType.removeLocalConst();
40114011 QualType ResultType = ValType;
4012- if (Form == Copy || Form == LoadCopy || Form == GNUXchg ||
4013- Form == Init || Form == Clear)
4012+ if (Form == Copy || Form == LoadCopy || Form == GNUXchg || Form == Init ||
4013+ Form == Clear)
40144014 ResultType = Context.VoidTy;
40154015 else if (Form == C11CmpXchg || Form == GNUCmpXchg || Form == TestAndSet)
40164016 ResultType = Context.BoolTy;
0 commit comments