[PATCH] D116514: [clangd] Add code action to generate a constructor for a C++ class

Adrian Vogelsgesang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 10 10:04:22 PST 2022


avogelsgesang added a comment.

Can we add this tweak as the default "fix-it" action for

> Class '...' does not declare any constructor to initialize its non-modifiable me

on structs like

  struct X {
     int& a;
  }

?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116514



More information about the cfe-commits mailing list