We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38030dd commit 2d8f075Copy full SHA for 2d8f075
lib/Serialization/Deserialization.cpp
@@ -3138,6 +3138,10 @@ class DeclDeserializer {
3138
} else if (overriddenOrError.errorIsA<FatalDeserializationError>()) {
3139
// Pass through fatal deserialization errors.
3140
return overriddenOrError.takeError();
3141
+ } else if (MF.allowCompilerErrors()) {
3142
+ // Drop overriding relationship when allowing errors.
3143
+ llvm::consumeError(overriddenOrError.takeError());
3144
+ overridden = nullptr;
3145
} else {
3146
llvm::consumeError(overriddenOrError.takeError());
3147
if (overriddenAffectsABI || !ctx.LangOpts.EnableDeserializationRecovery) {
0 commit comments