We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6aa27c commit 2c43fb9Copy full SHA for 2c43fb9
clang/lib/AST/Expr.cpp
@@ -1470,8 +1470,8 @@ static unsigned SizeOfCallExprInstance(Expr::StmtClass SC) {
1470
1471
// changing the size of SourceLocation, CallExpr, and
1472
// subclasses requires careful considerations
1473
-static_assert(sizeof(SourceLocation) == 4 && sizeof(CXXOperatorCallExpr) == 32,
1474
- "we assume CXXOperatorCallExpr is 32 bytes");
+static_assert(sizeof(SourceLocation) == 4 && sizeof(CXXOperatorCallExpr) <= 32,
+ "we assume CXXOperatorCallExpr is at most 32 bytes");
1475
1476
CallExpr::CallExpr(StmtClass SC, Expr *Fn, ArrayRef<Expr *> PreArgs,
1477
ArrayRef<Expr *> Args, QualType Ty, ExprValueKind VK,
0 commit comments