Skip to content

Commit

Permalink
cxxrtl: fix debug_info() deprecation message.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfng authored and whitequark committed Jun 7, 2024
1 parent b056e8c commit 54d5e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/cxxrtl/runtime/cxxrtl/cxxrtl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,7 @@ struct module {

// Compatibility method.
#if __has_attribute(deprecated)
__attribute__((deprecated("Use `debug_info(path, &items, /*scopes=*/nullptr);` instead. (`path` could be \"top \".)")))
__attribute__((deprecated("Use `debug_info(&items, /*scopes=*/nullptr, path);` instead. (`path` could be \"top \".)")))
#endif
void debug_info(debug_items &items, std::string path) {
debug_info(&items, /*scopes=*/nullptr, path);
Expand Down

0 comments on commit 54d5e56

Please sign in to comment.