diff options
| author | Dmitri Gribenko <gribozavr@gmail.com> | 2019-05-23 12:01:26 +0000 |
|---|---|---|
| committer | Dmitri Gribenko <gribozavr@gmail.com> | 2019-05-23 12:01:26 +0000 |
| commit | 1520dafa20ede121c950652141a7f0d639d308fc (patch) | |
| tree | 247b68c6bfcb67508672b8aadfd8deb1c20d4cda /llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp | |
| parent | 7d230d2661bfd4fdb41caf2d34e923b42c758e9f (diff) | |
| download | bcm5719-llvm-1520dafa20ede121c950652141a7f0d639d308fc.tar.gz bcm5719-llvm-1520dafa20ede121c950652141a7f0d639d308fc.zip | |
[clang-tidy] New check calling out uses of +new in Objective-C code
Summary:
Google's Objective-C style guide forbids calling or overriding +new to instantiate objects. This check warns on violations.
Style guide reference: https://google.github.io/styleguide/objcguide.html#do-not-use-new
Patch by Michael Wyman.
Reviewers: benhamilton, aaron.ballman, JonasToth, gribozavr, ilya-biryukov, stephanemoore, mwyman
Reviewed By: aaron.ballman, gribozavr, stephanemoore, mwyman
Subscribers: stephanemoore, xazax.hun, Eugene.Zelenko, mgorny, cfe-commits
Tags: #clang, #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D61350
llvm-svn: 361487
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp')
0 files changed, 0 insertions, 0 deletions

