diff options
author | Jason Henline <jhen@google.com> | 2016-10-24 17:20:32 +0000 |
---|---|---|
committer | Jason Henline <jhen@google.com> | 2016-10-24 17:20:32 +0000 |
commit | 481e6aaa458f43681f41e0a5e1e5ebb463c39b68 (patch) | |
tree | 07930c42982b15a253eff28ff7b344a980c649ae /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp | |
parent | a072e375b555b4dabb347389cc2f6e1c0adab870 (diff) | |
download | llvm-481e6aaa458f43681f41e0a5e1e5ebb463c39b68.zip llvm-481e6aaa458f43681f41e0a5e1e5ebb463c39b68.tar.gz llvm-481e6aaa458f43681f41e0a5e1e5ebb463c39b68.tar.bz2 |
[clang-tidy] Fix identifier naming in macro args.
Summary:
clang-tidy should fix identifier naming even when the identifier is
referenced inside a macro expansion, provided that the identifier enters
the macro expansion completely within a macro argument.
For example, this will allow fixes to the naming of the identifier
'global' when it is declared and used as follows:
int global;
#define USE_IN_MACRO(m) auto use_##m = m
USE_IN_MACRO(global);
Reviewers: alexfh
Subscribers: jlebar, cfe-commits
Differential Revision: https://reviews.llvm.org/D25450
llvm-svn: 284992
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions