[PATCH] D149647: [NFC][Clang]Fix static analyzer tool remarks about large copies by value

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 3 11:08:56 PDT 2023


MyDeveloperDay added a comment.

ok! I'm not a massive lambda expert, but aren't we passing by  const reference e.g. `const FormatStyle &Style`, can someone give me a lession as to why it thinks its by value? maybe I'm looking at the wrong "pass by"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149647



More information about the cfe-commits mailing list