1.. title:: clang-tidy - fuchsia-default-arguments-calls 2 3fuchsia-default-arguments-calls 4=============================== 5 6Warns if a function or method is called with default arguments. 7 8For example, given the declaration: 9 10.. code-block:: c++ 11 12 int foo(int value = 5) { return value; } 13 14A function call expression that uses a default argument will be diagnosed. 15Calling it without defaults will not cause a warning: 16 17.. code-block:: c++ 18 19 foo(); // warning 20 foo(0); // no warning 21 22See the features disallowed in Fuchsia at https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md 23