Skip to content

Commit e878388

Browse files
authored
Merge pull request #8829 from adrian-prantl/noassert
Update non-asserts variant of macro
2 parents 19ce918 + b922d06 commit e878388

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2497,8 +2497,10 @@ constexpr ExecutionContextScope *g_no_exe_ctx = nullptr;
24972497
FALLBACK(REFERENCE, FALLBACK_ARGS, {}); \
24982498
return IMPL();
24992499
#define VALIDATE_AND_RETURN_EXPECTED(IMPL, REFERENCE, TYPE, EXE_CTX, ARGS, \
2500-
FALLBACK_ARGS, DEFAULT) \
2501-
FALLBACK(REFERENCE, FALLBACK_ARGS, DEFAULT); \
2500+
FALLBACK_ARGS) \
2501+
FALLBACK(REFERENCE, FALLBACK_ARGS, \
2502+
llvm::createStringError(llvm::inconvertibleErrorCode(), \
2503+
"incomplete AST type information")); \
25022504
return IMPL();
25032505
#endif
25042506

0 commit comments

Comments
 (0)