diff options
author | Stephane Moore <mog@google.com> | 2019-05-31 23:41:15 +0000 |
---|---|---|
committer | Stephane Moore <mog@google.com> | 2019-05-31 23:41:15 +0000 |
commit | ec1982f07f5bdc60a0e982b992c7143cb879a996 (patch) | |
tree | c40dc59877e41a609f9bce8c522bf633eb0812dc /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 7fcad2f17111d2bfeb607d8ed088c97473237c48 (diff) | |
download | llvm-ec1982f07f5bdc60a0e982b992c7143cb879a996.zip llvm-ec1982f07f5bdc60a0e982b992c7143cb879a996.tar.gz llvm-ec1982f07f5bdc60a0e982b992c7143cb879a996.tar.bz2 |
Revise the google-objc-global-variable-declaration check to match the style guide.
Summary:
Revise the google-objc-global-variable-declaration check to match the style guide.
This commit updates the check as follows:
(1) Do not emit fixes for extern global constants.
(2) Allow the second character of prefixes for constants to be numeric (the new guideline is that global constants should generally be named with a prefix that begins with a capital letter followed by one or more capital letters or numbers).
https://google.github.io/styleguide/objcguide.html#prefixes
This is an amended re-submission of https://reviews.llvm.org/rG12e3726fadb0b2a4d8aeed0a2817b5159f9d029d.
Contributed By: yaqiji
Reviewers: Wizard, benhamilton, stephanemoore
Reviewed By: benhamilton, stephanemoore
Subscribers: mgorny, cfe-commits, yaqiji
Tags: #clang
Differential Revision: https://reviews.llvm.org/D62045
llvm-svn: 362279
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions