[clang-tidy] fix readability-avoid-const-params-in-decls creating invalid code in...
authorMatthias Gehre <M.Gehre@gmx.de>
Tue, 12 Apr 2016 05:45:13 +0000 (05:45 +0000)
committerMatthias Gehre <M.Gehre@gmx.de>
Tue, 12 Apr 2016 05:45:13 +0000 (05:45 +0000)
commit018c1d424392f5da8dd982f3f410152fa0460eb1
tree66441e23a6b0ff115378afa1ab319e55b638618d
parentc27d8d8fd801e141d4c3ead53627f0579384bdb8
[clang-tidy] fix readability-avoid-const-params-in-decls creating invalid code in fix-its

Summary:
The Fix-Its for the added test cases were before:
-void F11(const unsigned int /*version*/);
+void F11(unsigned int int /*version*/);

-void F12(const bool b = true);
+void F12(_Bool true);

Reviewers: fowles, hokein, sbenza, alexfh

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D18993

llvm-svn: 266044
clang-tools-extra/clang-tidy/readability/AvoidConstParamsInDecls.cpp
clang-tools-extra/test/clang-tidy/readability-avoid-const-params-in-decls.cpp