Skip to content

Commit 2044b18

Browse files
cor3ntintstellar
authored andcommitted
fix abi
1 parent e3f0ce3 commit 2044b18

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

+4
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)