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

Tiago Macarios via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 19 16:19:22 PDT 2021


tiagoma added a comment.

I am getting false positives with

  struct S{};
  
  void f(__unaligned S*);
  
  void scope()
  {
  	S s;
  	f(&s);
  }


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