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 e3206baCopy full SHA for e3206ba
lib/Serialization/Deserialization.cpp
@@ -3138,6 +3138,9 @@ 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
+ overridden = nullptr;
3144
} else {
3145
llvm::consumeError(overriddenOrError.takeError());
3146
if (overriddenAffectsABI || !ctx.LangOpts.EnableDeserializationRecovery) {
0 commit comments