They can be confusing -- what does it mean to call a setter without a
value? Also, some setters, like setPrintTemplateTree had false as
the default value!
The callers are largely not using these default arguments anyway.
Paths
| Differential D67491
Removed some questionable default arguments from setters ClosedPublic Authored by gribozavr on Sep 12 2019, 4:29 AM.
Details Summary They can be confusing -- what does it mean to call a setter without a The callers are largely not using these default arguments anyway.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 12 2019, 5:08 AM Closed by commit rL371731: Removed some questionable default arguments from setters (authored by gribozavr). · Explain WhySep 12 2019, 5:17 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 219892 cfe/trunk/include/clang/Basic/Diagnostic.h
cfe/trunk/lib/ARCMigrate/ARCMT.cpp
cfe/trunk/lib/Frontend/FrontendActions.cpp
cfe/trunk/lib/Sema/Sema.cpp
|