Skip to content

Commit 6af99cd

Browse files
committed
clang-format
1 parent ab9ea84 commit 6af99cd

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

clang/include/clang/AST/Expr.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3127,9 +3127,7 @@ class CallExpr : public Expr {
31273127
/// Bluntly set a new number of arguments without doing any checks whatsoever.
31283128
/// Only used during construction of a CallExpr in a few places in Sema.
31293129
/// FIXME: Find a way to remove it.
3130-
void setNumArgsUnsafe(unsigned NewNumArgs) {
3131-
NumArgs = NewNumArgs;
3132-
}
3130+
void setNumArgsUnsafe(unsigned NewNumArgs) { NumArgs = NewNumArgs; }
31333131

31343132
typedef ExprIterator arg_iterator;
31353133
typedef ConstExprIterator const_arg_iterator;
@@ -4626,7 +4624,8 @@ class ShuffleVectorExpr : public Expr {
46264624
void setExprs(const ASTContext &C, ArrayRef<Expr *> Exprs);
46274625

46284626
llvm::APSInt getShuffleMaskIdx(unsigned N) const {
4629-
assert((N < ShuffleVectorExprBits.NumExprs - 2) && "Shuffle idx out of range!");
4627+
assert((N < ShuffleVectorExprBits.NumExprs - 2) &&
4628+
"Shuffle idx out of range!");
46304629
assert(isa<ConstantExpr>(getExpr(N + 2)) &&
46314630
"Index expression must be a ConstantExpr");
46324631
return cast<ConstantExpr>(getExpr(N + 2))->getAPValueResult().getInt();

clang/include/clang/AST/Stmt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ class alignas(void *) Stmt {
765765

766766
LLVM_PREFERRED_TYPE(ExprBitfields)
767767
unsigned : NumExprBits;
768-
768+
769769
LLVM_PREFERRED_TYPE(bool)
770770
bool CondIsTrue : 1;
771771
};

0 commit comments

Comments
 (0)