Skip to content

core: Move deprecated example snippet to NS_DEPRECATED() macro Doxygen

Eduardo Almeida requested to merge edalm/ns-3-dev:deprecated-example into master

The macro NS_DEPRECATED_3_XX is not defined, so the code does not compile. Even though this file is not built by CMake, it is analyzed by other tools such as clang-tidy-diff. This MR proposes to move the deprecated example snippet (in src/core/doc/deprecated-example.h) to the Doxygen of the NS_DEPRECATED() macro. This change makes the code compilable, while keeping the example intact.

Additionally, fix the formatting of some code blocks in the NS_DEPRECATED() macro's Doxygen.

Edited by Eduardo Almeida

Merge request reports