Skip to content

Commit 02d00ec

Browse files
committed
[NFC] Remove unused LocalRedeclarationsInfo from ASTBitcodes.h
As the title suggested.
1 parent a2ccd5d commit 02d00ec

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

clang/include/clang/Serialization/ASTBitCodes.h

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,35 +2058,6 @@ enum CtorInitializerType {
20582058
/// Kinds of cleanup objects owned by ExprWithCleanups.
20592059
enum CleanupObjectKind { COK_Block, COK_CompoundLiteral };
20602060

2061-
/// Describes the redeclarations of a declaration.
2062-
struct LocalRedeclarationsInfo {
2063-
// The ID of the first declaration
2064-
DeclID FirstID;
2065-
2066-
// Offset into the array of redeclaration chains.
2067-
unsigned Offset;
2068-
2069-
friend bool operator<(const LocalRedeclarationsInfo &X,
2070-
const LocalRedeclarationsInfo &Y) {
2071-
return X.FirstID < Y.FirstID;
2072-
}
2073-
2074-
friend bool operator>(const LocalRedeclarationsInfo &X,
2075-
const LocalRedeclarationsInfo &Y) {
2076-
return X.FirstID > Y.FirstID;
2077-
}
2078-
2079-
friend bool operator<=(const LocalRedeclarationsInfo &X,
2080-
const LocalRedeclarationsInfo &Y) {
2081-
return X.FirstID <= Y.FirstID;
2082-
}
2083-
2084-
friend bool operator>=(const LocalRedeclarationsInfo &X,
2085-
const LocalRedeclarationsInfo &Y) {
2086-
return X.FirstID >= Y.FirstID;
2087-
}
2088-
};
2089-
20902061
/// Describes the categories of an Objective-C class.
20912062
struct ObjCCategoriesInfo {
20922063
// The ID of the definition

0 commit comments

Comments
 (0)