diff options
author | Roland McGrath <mcgrathr@google.com> | 2023-08-04 17:12:29 -0700 |
---|---|---|
committer | Roland McGrath <mcgrathr@google.com> | 2023-08-07 12:15:59 -0700 |
commit | 9d4162ff28b479c93d55df67bf38507bdc50a2d1 (patch) | |
tree | f3743c66e80446136dc8b108b71b127d03abfd90 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0ba9aec38faa8f567741fdb4eac1149c3fe94ceb (diff) | |
download | llvm-9d4162ff28b479c93d55df67bf38507bdc50a2d1.zip llvm-9d4162ff28b479c93d55df67bf38507bdc50a2d1.tar.gz llvm-9d4162ff28b479c93d55df67bf38507bdc50a2d1.tar.bz2 |
[clang-tidy] Add fix-it support to `llvmlibc-inline-function-decl`
This is very simplistic and could be more thorough by replacing
an existing `LIBC_INLINE` in the wrong location or a redunant
`inline` when inserting the right macro use. But as is this
suffices to automatically apply fixes for most or all of the
instances in the libc tree today and get working results (despite
some superfluous `inline` keywords left behind).
Reviewed By: abrachet
Differential Revision: https://reviews.llvm.org/D157164
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions