diff --git a/clang/include/clang/APINotes/Types.h b/clang/include/clang/APINotes/Types.h index daf2f1897f46bd..b389aa8d56f167 100644 --- a/clang/include/clang/APINotes/Types.h +++ b/clang/include/clang/APINotes/Types.h @@ -263,13 +263,6 @@ class ContextInfo : public CommonTypeInfo { SwiftObjCMembers = Value.value_or(false); } - /// Strip off any information within the class information structure that is - /// module-local, such as 'audited' flags. - void stripModuleLocalInfo() { - HasDefaultNullability = false; - DefaultNullability = 0; - } - friend bool operator==(const ContextInfo &, const ContextInfo &); ContextInfo &operator|=(const ContextInfo &RHS) {