Skip to content

Commit 9f5d85d

Browse files
vitautfacebook-github-bot
authored andcommitted
Remove cpp2.declare_bitwise_ops
Summary: Replace the only two uses of `cpp2.declare_bitwise_ops` with `cpp.declare_bitwise_ops` and remove it, simplifying the compiler logic. Codemod will take care of `cpp.declare_bitwise_ops`. Report an error if `cpp2.declare_bitwise_ops` is used. Reviewed By: iahs Differential Revision: D71324803 fbshipit-source-id: ca523736ab15a03ed929160c2db1c4fd07a073b6
1 parent f10dd97 commit 9f5d85d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exactprint/tests/fbthrift-tests/mcpp2-compare/src/module.thrift

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ enum AnnotatedEnum {
6666
FIELDA = 2,
6767
FIELDB = 4,
6868
FIELDC = 9,
69-
} (cpp2.declare_bitwise_ops)
69+
} (cpp.declare_bitwise_ops)
7070

7171
@cpp.EnumType{type = cpp.EnumUnderlyingType.I16}
7272
enum AnnotatedEnum2 {

0 commit comments

Comments
 (0)