Skip to content

Commit 61d63fe

Browse files
thedavekwonfacebook-github-bot
authored andcommitted
ban cpp.indirection
Summary: Now that cpp.indirection is removed from all codebase. ban them Reviewed By: rmakheja Differential Revision: D72754356 fbshipit-source-id: 0ce262fd29acf0494f6f01d459ace2701d465e06
1 parent d43ab24 commit 61d63fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

third-party/thrift/src/thrift/compiler/sema/standard_validator.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1438,10 +1438,12 @@ void deprecate_annotations(sema_context& ctx, const t_named& node) {
14381438
// annotation has a structured annotation replacement.
14391439
std::set<std::string> removed_annotations = {
14401440
"code",
1441+
"cpp.indirection",
14411442
"cpp2.declare_bitwise_ops",
14421443
"cpp2.enum_type",
14431444
"cpp2.deprecated_enum_unscoped",
1444-
"process_in_event_base"};
1445+
"process_in_event_base",
1446+
};
14451447
std::map<std::string, std::string> removed_prefixes = {{"rust.", "rust"}};
14461448

14471449
for (const auto& [k, v] : node.unstructured_annotations()) {

0 commit comments

Comments
 (0)