PiotrZSL added inline comments.

================
Comment at: 
clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp:55
+        AvoidByValueCaptureDefaultWhenCapturingThisCheck>(
+        
"cppcoreguidelines-avoid-by-value-capture-default-when-capturing-this");
     CheckFactories.registerCheck<AvoidCapturingLambdaCoroutinesCheck>(
----------------
this name is hard to understand

I asked ChatGPT about it, and here are some other proposals:

- cppcoreguidelines-avoid-by-value-default-this-capture
- cppcoreguidelines-avoid-this-capture-by-value-default
- cppcoreguidelines-explicit-this-capture-by-value
- cppcoreguidelines-implicit-this-capture-by-value
- cppcoreguidelines-implicit-by-value-this-capture
- cppcoreguidelines-prefer-explicit-this-capture
- cppcoreguidelines-avoid-ambiguous-this-capture


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148340

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to