diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2024-04-23 13:41:02 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2024-04-23 13:41:25 +0800 |
commit | 02d00ec985f8ab9e26bd80fb38c88471da4cb0c8 (patch) | |
tree | 1aa37b779176db951112ee147e12862295ea52e9 | |
parent | a2ccd5d88ffa8a730914c608601e1e3f7785cb08 (diff) | |
download | llvm-02d00ec985f8ab9e26bd80fb38c88471da4cb0c8.zip llvm-02d00ec985f8ab9e26bd80fb38c88471da4cb0c8.tar.gz llvm-02d00ec985f8ab9e26bd80fb38c88471da4cb0c8.tar.bz2 |
[NFC] Remove unused LocalRedeclarationsInfo from ASTBitcodes.h
As the title suggested.
-rw-r--r-- | clang/include/clang/Serialization/ASTBitCodes.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/clang/include/clang/Serialization/ASTBitCodes.h b/clang/include/clang/Serialization/ASTBitCodes.h index 9f6c4b5..c91a1c1c 100644 --- a/clang/include/clang/Serialization/ASTBitCodes.h +++ b/clang/include/clang/Serialization/ASTBitCodes.h @@ -2058,35 +2058,6 @@ enum CtorInitializerType { /// Kinds of cleanup objects owned by ExprWithCleanups. enum CleanupObjectKind { COK_Block, COK_CompoundLiteral }; -/// Describes the redeclarations of a declaration. -struct LocalRedeclarationsInfo { - // The ID of the first declaration - DeclID FirstID; - - // Offset into the array of redeclaration chains. - unsigned Offset; - - friend bool operator<(const LocalRedeclarationsInfo &X, - const LocalRedeclarationsInfo &Y) { - return X.FirstID < Y.FirstID; - } - - friend bool operator>(const LocalRedeclarationsInfo &X, - const LocalRedeclarationsInfo &Y) { - return X.FirstID > Y.FirstID; - } - - friend bool operator<=(const LocalRedeclarationsInfo &X, - const LocalRedeclarationsInfo &Y) { - return X.FirstID <= Y.FirstID; - } - - friend bool operator>=(const LocalRedeclarationsInfo &X, - const LocalRedeclarationsInfo &Y) { - return X.FirstID >= Y.FirstID; - } -}; - /// Describes the categories of an Objective-C class. struct ObjCCategoriesInfo { // The ID of the definition |