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.
2 parents 0c8bc56 + 438f37b commit b3a9408Copy full SHA for b3a9408
clang/lib/Serialization/ASTWriterStmt.cpp
@@ -2320,8 +2320,8 @@ void ASTStmtWriter::VisitBoundsSafetyPointerPromotionExpr(
2320
VisitExpr(E);
2321
Record.push_back(E->getNumChildren());
2322
switch (E->getNumChildren()) {
2323
- case 3: Record.AddStmt(E->getLowerBound()); [[clang::fallthrough]];
2324
- case 2: Record.AddStmt(E->getUpperBound()); [[clang::fallthrough]];
+ case 3: Record.AddStmt(E->getLowerBound()); LLVM_FALLTHROUGH;
+ case 2: Record.AddStmt(E->getUpperBound()); LLVM_FALLTHROUGH;
2325
case 1: Record.AddStmt(E->getPointer()); break;
2326
default: llvm_unreachable("incorrect number of child nodes");
2327
}
0 commit comments