diff options
author | AMS21 <AMS21.github@gmail.com> | 2023-06-18 11:40:32 +0000 |
---|---|---|
committer | Piotr Zegar <me@piotrzegar.pl> | 2023-06-18 11:40:33 +0000 |
commit | c96306db2cad4cf687cb044c8a0635f982a4db98 (patch) | |
tree | 22b96031d0a77153a493f2e1021226f9ef2e6318 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | ed0620fd24a174d420c889454544697f57248b88 (diff) | |
download | llvm-c96306db2cad4cf687cb044c8a0635f982a4db98.zip llvm-c96306db2cad4cf687cb044c8a0635f982a4db98.tar.gz llvm-c96306db2cad4cf687cb044c8a0635f982a4db98.tar.bz2 |
[clang-tidy] Fix `llvmlibc-inline-function-decl` false positives for templated function definitions
For a declaration the `FunctionDecl` begin location does not include the
template parameter lists, but for some reason if you have a separate
definitions to the declaration the begin location does include them.
With this patch we now correctly handle that case.
This fixes llvm#62746
Reviewed By: PiotrZSL
Differential Revision: https://reviews.llvm.org/D153218
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions