Skip to content

Commit 5d93660

Browse files
DamonFoolyuxuanchen1997
authored andcommitted
[mlir] Fix build error (NFC)
Summary: /llvm-project/mlir/include/mlir/CAPI/Rewrite.h:21:63: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi] DEFINE_C_API_PTR_METHODS(MlirRewriterBase, mlir::RewriterBase); ^ 1 error generated. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250959
1 parent 9e068da commit 5d93660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/CAPI/Rewrite.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
#include "mlir/CAPI/Wrap.h"
1919
#include "mlir/IR/PatternMatch.h"
2020

21-
DEFINE_C_API_PTR_METHODS(MlirRewriterBase, mlir::RewriterBase);
21+
DEFINE_C_API_PTR_METHODS(MlirRewriterBase, mlir::RewriterBase)
2222

2323
#endif // MLIR_CAPIREWRITER_H

0 commit comments

Comments
 (0)