Author: Juan Manuel MARTINEZ CAAMAÑO Date: 2023-08-29T13:59:17+02:00 New Revision: b63c6e585d8662b67b38988f0cd38a0bd6e0d38a
URL: https://github.com/llvm/llvm-project/commit/b63c6e585d8662b67b38988f0cd38a0bd6e0d38a DIFF: https://github.com/llvm/llvm-project/commit/b63c6e585d8662b67b38988f0cd38a0bd6e0d38a.diff LOG: [NFC][Clang] Add missing & to function argument Differential Revision: https://reviews.llvm.org/D158991 Added: Modified: clang/lib/CodeGen/CGCall.cpp Removed: ################################################################################ diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index ca31675ca4f3b8..7127bbb0450e93 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -2006,7 +2006,7 @@ static void getTrivialDefaultFunctionAttributes( /// though we had emitted it ourselves. We remove any attributes on F that /// conflict with the attributes we add here. static void mergeDefaultFunctionDefinitionAttributes( - llvm::Function &F, const CodeGenOptions CodeGenOpts, + llvm::Function &F, const CodeGenOptions &CodeGenOpts, const LangOptions &LangOpts, const TargetOptions &TargetOpts, bool WillInternalize) { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits