cxxrtl: fix debug_info() deprecation message.

This commit is contained in:
Jean-François Nguyen
2024-06-07 20:12:53 +01:00
committed by Catherine
parent b056e8c0ba
commit 54d5e56745
+1 -1
View File
@@ -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);