diff options
author | Yan Zhang <ynzhang@google.com> | 2018-04-20 23:18:09 +0000 |
---|---|---|
committer | Yan Zhang <ynzhang@google.com> | 2018-04-20 23:18:09 +0000 |
commit | e3f50ecb3a0886923c697ba8246d8cb8756480c1 (patch) | |
tree | d69f40cd7519fa5a65820f1e6e30f811d3c7cb34 /clang/unittests/libclang/LibclangTest.cpp | |
parent | c8ac0a6f979c36ad7f7c3e1b9b2e8260f483aa15 (diff) | |
download | llvm-e3f50ecb3a0886923c697ba8246d8cb8756480c1.zip llvm-e3f50ecb3a0886923c697ba8246d8cb8756480c1.tar.gz llvm-e3f50ecb3a0886923c697ba8246d8cb8756480c1.tar.bz2 |
[clang-tidy] add new check to find out objc ivars which do not have prefix '_'
Summary:
For code of ivar declaration:
int barWithoutPrefix;
The fix will be:
int _barWithoutPrefix;
Reviewers: benhamilton, hokein, alexfh, aaron.ballman, ilya-biryukov
Reviewed By: alexfh
Subscribers: Eugene.Zelenko, xazax.hun, klimek, mgorny, cfe-commits
Tags: #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D45392
llvm-svn: 330492
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions