Skip to content

Commit b828851

Browse files
committed
fix abi
1 parent e46c31e commit b828851

File tree

1 file changed

+4
-0
lines changed
  • clang/include/clang/Sema

1 file changed

+4
-0
lines changed

clang/include/clang/Sema/Sema.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10671,6 +10671,10 @@ class Sema final : public SemaBase {
1067110671
SourceLocation EndLoc);
1067210672
void ActOnForEachDeclStmt(DeclGroupPtrTy Decl);
1067310673

10674+
10675+
// Unused, kept in Clang 20 for ABI stability.
10676+
void DiagnoseDiscardedExprMarkedNodiscard(const Expr *E) {};
10677+
1067410678
/// DiagnoseUnusedExprResult - If the statement passed in is an expression
1067510679
/// whose result is unused, warn.
1067610680
void DiagnoseUnusedExprResult(const Stmt *S, unsigned DiagID);

0 commit comments

Comments
 (0)