Debian Codegraph @

llvm-project/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-declarations.rst

raw
1 .. title:: clang-tidy - fuchsia-default-arguments-declarations
2
3 fuchsia-default-arguments-declarations
4 ======================================
5
6 Warns if a function or method is declared with default parameters.
7
8 For example, the declaration:
9
10 .. code-block:: c++
11
12 int foo(int value = 5) { return value; }
13
14 will cause a warning.
15
16 See the features disallowed in Fuchsia at https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md