1 .. title:: clang-tidy - fuchsia-default-arguments-calls
3 fuchsia-default-arguments-calls
4 ===============================
6 Warns if a function or method is called with default arguments.
8 For example, given the declaration:
12 int foo(int value = 5) { return value; }
14 A function call expression that uses a default argument will be diagnosed.
15 Calling it without defaults will not cause a warning:
22 See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en