Skip to content

Commit

Permalink
[APINotes] Remove unused API
Browse files Browse the repository at this point in the history
This method is not actually used anywhere.
  • Loading branch information
egorzhdan authored Jul 16, 2024
1 parent 9dab912 commit 4348f32
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions clang/include/clang/APINotes/Types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4348f32

Please sign in to comment.