You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/developer-notes.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,8 @@ code.
115
115
Use `reinterpret_cast` and `const_cast` as appropriate.
116
116
- Prefer [`list initialization ({})`](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-list) where possible.
117
117
For example `int x{0};` instead of `int x = 0;` or `int x(0);`
118
+
- Recursion is checked by clang-tidy and thus must be made explicit. Use
119
+
`NOLINTNEXTLINE(misc-no-recursion)` to suppress the check.
118
120
119
121
For function calls a namespace should be specified explicitly, unless such functions have been declared within it.
120
122
Otherwise, [argument-dependent lookup](https://en.cppreference.com/w/cpp/language/adl), also known as ADL, could be
0 commit comments