aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-11-16 21:15:58 +0000
committerEric Fiselier <eric@efcs.ca>2016-11-16 21:15:58 +0000
commit732a3e0dd198a8b61d7704f878b29605ffd7a7ad (patch)
treef6d75492ec0767c4d4e95a40ef3716698e882e52 /lldb/unittests/ScriptInterpreter/Python
parentc156427ded1dfa7686c90cc56ad16013a079a742 (diff)
downloadllvm-732a3e0dd198a8b61d7704f878b29605ffd7a7ad.zip
llvm-732a3e0dd198a8b61d7704f878b29605ffd7a7ad.tar.gz
llvm-732a3e0dd198a8b61d7704f878b29605ffd7a7ad.tar.bz2
[clang-tidy] Fix identifier naming for initializer list member initializers.
Summary: This patch adds handling for member initializers in a constructors initializer list. Previously we only handled base-class and delegating initializers, which are transformed by the `TypeLoc` matcher. For Example: ``` // Style options: All identifiers should start with an upper case letter. struct base { ... }; struct der : base { int field; // FIXES: int Field; der() : der(42) {} // FIXES: Der() : Der(42) {} der(int X) : base(), field(X) {} // FIXES: Der(int X) : Base(), field(X) // Note that `field` doesn't get replaced }; ``` Reviewers: alexfh, hokein, aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26744 llvm-svn: 287153
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions