Index: clang/lib/AST/Interp/InterpBlock.cpp =================================================================== --- clang/lib/AST/Interp/InterpBlock.cpp +++ clang/lib/AST/Interp/InterpBlock.cpp @@ -92,7 +92,7 @@ #endif DeadBlock::DeadBlock(DeadBlock *&Root, Block *Blk) - : Root(Root), B(Blk->Desc, Blk->IsStatic, Blk->IsExtern, /*isDead=*/true) { + : Root(Root), B(Blk->Desc, Blk->IsExtern, Blk->IsStatic, /*isDead=*/true) { // Add the block to the chain of dead blocks. if (Root) Root->Prev = this; Index: clang/lib/Sema/SemaOpenMP.cpp =================================================================== --- clang/lib/Sema/SemaOpenMP.cpp +++ clang/lib/Sema/SemaOpenMP.cpp @@ -18097,7 +18097,7 @@ break; case OMPC_allocate: Res = ActOnOpenMPAllocateClause(Data.DepModOrTailExpr, VarList, StartLoc, - LParenLoc, ColonLoc, EndLoc); + ColonLoc, LParenLoc, EndLoc); break; case OMPC_nontemporal: Res = ActOnOpenMPNontemporalClause(VarList, StartLoc, LParenLoc, EndLoc); Index: clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp =================================================================== --- clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp +++ clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp @@ -1470,7 +1470,7 @@ [SSE, State = this->State]() -> SymbolRef { if (SSE->getOpcode() == BO_Sub) return State->getSymbolManager().getSymSymExpr( - SSE->getRHS(), BO_Sub, SSE->getLHS(), SSE->getType()); + SSE->getLHS(), BO_Sub, SSE->getRHS(), SSE->getType()); return nullptr; }, SSE->getType()); @@ -1531,7 +1531,7 @@ if (!QueriedRangeSet) { const BinaryOperatorKind ROP = BinaryOperator::reverseComparisonOp(QueriedOP); - SymSym = SymMgr.getSymSymExpr(RHS, ROP, LHS, T); + SymSym = SymMgr.getSymSymExpr(LHS, ROP, RHS, T); QueriedRangeSet = getConstraint(State, SymSym); }