File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ CIRGenTypes::arrangeFunctionDeclaration(const FunctionDecl *fd) {
404404 funcTy.getAs <FunctionNoProtoType>()) {
405405 assert (!cir::MissingFeatures::opCallCIRGenFuncInfoExtParamInfo ());
406406 assert (!cir::MissingFeatures::opCallFnInfoOpts ());
407- return arrangeCIRFunctionInfo (noProto->getReturnType (), std:: nullopt ,
407+ return arrangeCIRFunctionInfo (noProto->getReturnType (), {} ,
408408 RequiredArgs::All);
409409 }
410410
Original file line number Diff line number Diff line change @@ -894,9 +894,8 @@ class CIRGenFunction : public CIRGenTypeCache {
894894
895895 // Build CIR for a statement. useCurrentScope should be true if no
896896 // new scopes need be created when finding a compound statement.
897- mlir::LogicalResult
898- emitStmt (const clang::Stmt *s, bool useCurrentScope,
899- llvm::ArrayRef<const Attr *> attrs = std::nullopt );
897+ mlir::LogicalResult emitStmt (const clang::Stmt *s, bool useCurrentScope,
898+ llvm::ArrayRef<const Attr *> attrs = {});
900899
901900 mlir::LogicalResult emitSimpleStmt (const clang::Stmt *s,
902901 bool useCurrentScope);
You can’t perform that action at this time.
0 commit comments