[PATCH] D54943: [clang-tidy] implement const-transformation for cppcoreguidelines-const-correctness

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 5 10:39:40 PST 2020


JonasToth added a comment.

In D54943#1804890 <https://reviews.llvm.org/D54943#1804890>, @0x8000-0000 wrote:

> I can't build this on top of current llvm-project tree (6a6e6f04ec2cd2f4f07ec4943036c5c2d47ce0c7 <https://reviews.llvm.org/rG6a6e6f04ec2cd2f4f07ec4943036c5c2d47ce0c7>):
>
>   /usr/bin/ld: lib/libclangTidyCppCoreGuidelinesModule.a(ConstCorrectnessCheck.cpp.o): in function `clang::tidy::cppcoreguidelines::ConstCorrectnessCheck::registerMatchers(clang::ast_matchers::MatchFinder*)':
>   /home/florin/tools/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ConstCorrectnessCheck.cpp:65: undefined reference to `clang::ast_matchers::decompositionDecl'
>
>
> I am building using clang++-9 from Debian, and diff7 applied cleanly.
>
> Jonas, is it possible to rebase this on top of llvm-project and push it to a branch on https://github.com/JonasToth/llvm-project ?


I just merged master into the branch and pushed to `feature_transform_const.patch` branch in my fork. Maybe that works?
If you want you can join IRC, its faster to get this fixed there :)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54943/new/

https://reviews.llvm.org/D54943





More information about the cfe-commits mailing list