Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/docs/clang-tidy/checks/misc-definitions-in-headers.rst | ||
---|---|---|
86 | s/is allowed/are inline/ | |
clang-tools-extra/test/clang-tidy/checkers/misc-definitions-in-headers-1z.hpp | ||
14 | I would prefer if you could make the test compatible with all language modes after C++11. You can do it by wrapping the variable template in #ifs on the __cplusplus macro that contains the language version. |
Comment Actions
Address review comments.
clang-tools-extra/test/clang-tidy/checkers/misc-definitions-in-headers-1z.hpp | ||
---|---|---|
14 | I'd prefer keep it as it-is. using __cplusplus seems a bit hacky to me, and I think it only works for non-CHECK-MESSAGES cases. |
s/is allowed/are inline/