Author: Egor Zhdan Date: 2024-07-16T12:39:04+01:00 New Revision: 4348f32ec609540e642be1be263d6ad2b60a90fd
URL: https://github.com/llvm/llvm-project/commit/4348f32ec609540e642be1be263d6ad2b60a90fd DIFF: https://github.com/llvm/llvm-project/commit/4348f32ec609540e642be1be263d6ad2b60a90fd.diff LOG: [APINotes] Remove unused API This method is not actually used anywhere. Added: Modified: clang/include/clang/APINotes/Types.h Removed: ################################################################################ diff --git a/clang/include/clang/APINotes/Types.h b/clang/include/clang/APINotes/Types.h index daf2f1897f46b..b389aa8d56f16 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) { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits