Skip to content

Commit e6259c3

Browse files
authored
Fix compilability regression with LLVM 16 (#5016)
1 parent b5f7bb0 commit e6259c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gen/irstate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ struct IRState {
250250
// Exception: ulong[]-typed hex strings (not null-terminated either).
251251
llvm::GlobalVariable *getCachedStringLiteral(StringExp *se);
252252
llvm::GlobalVariable *getCachedStringLiteral(llvm::StringRef s
253-
#if LDC_LLVM_VER >= 1600
253+
#if LDC_LLVM_VER >= 1700
254254
,std::optional< unsigned > = std::nullopt
255255
#endif
256256
);

0 commit comments

Comments
 (0)