llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: aniplcc (aniplcc) <details> <summary>Changes</summary> Closes #<!-- -->89192 --- Full diff: https://github.com/llvm/llvm-project/pull/89202.diff 1 Files Affected: - (modified) clang/utils/TableGen/MveEmitter.cpp (+2-2) ``````````diff diff --git a/clang/utils/TableGen/MveEmitter.cpp b/clang/utils/TableGen/MveEmitter.cpp index 88e7b6e8546595..23c1646fa82623 100644 --- a/clang/utils/TableGen/MveEmitter.cpp +++ b/clang/utils/TableGen/MveEmitter.cpp @@ -660,7 +660,7 @@ class IRBuilderResult : public Result { std::map<unsigned, std::string> IntegerArgs; IRBuilderResult(StringRef CallPrefix, std::vector<Ptr> Args, std::set<unsigned> AddressArgs, - std::map<unsigned, std::string> IntegerArgs) + const std::map<unsigned, std::string> &IntegerArgs) : CallPrefix(CallPrefix), Args(Args), AddressArgs(AddressArgs), IntegerArgs(IntegerArgs) {} void genCode(raw_ostream &OS, @@ -728,7 +728,7 @@ class IRIntrinsicResult : public Result { std::vector<const Type *> ParamTypes; std::vector<Ptr> Args; IRIntrinsicResult(StringRef IntrinsicID, std::vector<const Type *> ParamTypes, - std::vector<Ptr> Args) + const std::vector<Ptr> &Args) : IntrinsicID(std::string(IntrinsicID)), ParamTypes(ParamTypes), Args(Args) {} void genCode(raw_ostream &OS, `````````` </details> https://github.com/llvm/llvm-project/pull/89202 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits