[PATCH] D62437: [clang-tidy] Splits fuchsia-default-arguments

2019-06-18 Thread Julie Hockett via Phabricator via cfe-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit rL363712: [clang-tidy] Split fuchsia-default-arguments (authored by juliehockett, committed by ). Herald added a project: LL

[PATCH] D62437: [clang-tidy] Splits fuchsia-default-arguments

2019-06-11 Thread Diego Astiazarán via Phabricator via cfe-commits
DiegoAstiazaran updated this revision to Diff 204157. DiegoAstiazaran added a comment. Improve format of documentation in ReleaseNotes. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62437/new/ https://reviews.llvm.org/D62437 Files: clang-tools-extra/clang-tidy/fuchsia/CMakeLists.txt

[PATCH] D62437: [clang-tidy] Splits fuchsia-default-arguments

2019-06-06 Thread Eugene Zelenko via Phabricator via cfe-commits
Eugene.Zelenko added inline comments. Comment at: clang-tools-extra/docs/ReleaseNotes.rst:122 + Warns if a function or method is called with default arguments. + This was previously done by fuchsia-default-arguments check, which has been + removed. Please high

[PATCH] D62437: [clang-tidy] Splits fuchsia-default-arguments

2019-06-06 Thread Diego Astiazarán via Phabricator via cfe-commits
DiegoAstiazaran updated this revision to Diff 203447. DiegoAstiazaran added a comment. Complete documentation in ReleaseNotes CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62437/new/ https://reviews.llvm.org/D62437 Files: clang-tools-extra/clang-tidy/fuchsia/CMakeLists.txt clang-to

[PATCH] D62437: [clang-tidy] Splits fuchsia-default-arguments

2019-06-06 Thread Julie Hockett via Phabricator via cfe-commits
juliehockett added a comment. Sorry for the delay! Comment at: clang-tools-extra/clang-tidy/fuchsia/DefaultArgumentsCallsCheck.cpp:24 + const auto *S = Result.Nodes.getNodeAs("stmt"); + if (S == nullptr) +return; Just `if (!S)` should be sufficient here.

[PATCH] D62437: [clang-tidy] Splits fuchsia-default-arguments

2019-06-06 Thread Haojian Wu via Phabricator via cfe-commits
hokein added a comment. @juliehockett could you take a look on this patch? I think you have the best knowledge about this check and fuchsia stuff. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62437/new/ https://reviews.llvm.org/D62437 ___

[PATCH] D62437: [clang-tidy] Splits fuchsia-default-arguments

2019-05-28 Thread Diego Astiazarán via Phabricator via cfe-commits
DiegoAstiazaran updated this revision to Diff 201799. DiegoAstiazaran added a comment. Fix patch submitted. Patch submitted with the last update was a new commit, functional changes were not included in that diff. New patch includes functional changes (first patch) and format changes (second pat

[PATCH] D62437: [clang-tidy] Splits fuchsia-default-arguments

2019-05-27 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman requested changes to this revision. aaron.ballman added a comment. This revision now requires changes to proceed. It seems that the functional changes are missing from the patch -- all I see are formatting changes; have I missed something? Comment at: clang-tool

[PATCH] D62437: [clang-tidy] Splits fuchsia-default-arguments

2019-05-24 Thread Diego Astiazarán via Phabricator via cfe-commits
DiegoAstiazaran updated this revision to Diff 201375. DiegoAstiazaran added a comment. Reduces lines to 80 characters. The files have been also formatted by clang-format. Types are replaced by auto in declarations where the type is spelled in cast. CHANGES SINCE LAST ACTION https://reviews.ll

[PATCH] D62437: [clang-tidy] Splits fuchsia-default-arguments

2019-05-24 Thread Eugene Zelenko via Phabricator via cfe-commits
Eugene.Zelenko added inline comments. Comment at: clang-tools-extra/clang-tidy/fuchsia/DefaultArgumentsCallsCheck.cpp:1 +//===--- DefaultArgumentsCallsCheck.cpp - clang-tidy---===// +// Please add space after clang-tidy. C

[PATCH] D62437: [clang-tidy] Splits fuchsia-default-arguments

2019-05-24 Thread Eugene Zelenko via Phabricator via cfe-commits
Eugene.Zelenko added a comment. Please mention renaming of existing check in Release Notes (after list of new checks). Comment at: clang-tools-extra/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.cpp:23 +void DefaultArgumentsDeclarationsCheck::check(const MatchFinder::M

[PATCH] D62437: [clang-tidy] Splits fuchsia-default-arguments

2019-05-24 Thread Diego Astiazarán via Phabricator via cfe-commits
DiegoAstiazaran created this revision. DiegoAstiazaran added a reviewer: juliehockett. DiegoAstiazaran added a project: clang-tools-extra. Herald added subscribers: xazax.hun, mgorny. Splits fuchsia-default-arguments check into two checks. fuchsia-default-arguments-calls warns if a function or me