sst-core icon indicating copy to clipboard operation
sst-core copied to clipboard

What is the defined header guard convention in SST?

Open nicmcd opened this issue 3 years ago • 1 comments

This header guard doesn't match the filename: https://github.com/sstsimulator/sst-core/blob/9ee1db28c6c45129f685179e086739b9d3df83ea/src/sst/core/rng/constant.h#L12

Is there a defined standard? I suggest using clang-tidy during CI to enforce these rules.

nicmcd avatar Apr 28 '21 17:04 nicmcd

Currently, there are currently no official conventions in the coding standards for header guards. This will be revisited as part of our ongoing work to clean up the core API to better enable broader collaboration. There is currently no timeline for the coding standards updates.

feldergast avatar Apr 28 '21 18:04 feldergast