[clang] [clang][ExtractAPI][NFC] pass params by const reference (PR #94820)

Daniel Grumberg via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 10 02:06:19 PDT 2024


================
@@ -240,7 +241,7 @@ class DeclarationFragments {
 
 class AccessControl {
 public:
-  AccessControl(std::string Access) : Access(Access) {}
----------------
daniel-grumberg wrote:

Again I would prefer if we kept the value semantic ones and use `std::move`

https://github.com/llvm/llvm-project/pull/94820


More information about the cfe-commits mailing list