From 27fbefde07e30cc3b4bb7d56d2586832ea8b42b3 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 5 Aug 2015 20:11:04 +0000 Subject: [PATCH] Remove unused comparison operators from the Builtin Info struct. llvm-svn: 244111 --- clang/include/clang/Basic/Builtins.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/clang/include/clang/Basic/Builtins.h b/clang/include/clang/Basic/Builtins.h index 27428ad..154bf16 100644 --- a/clang/include/clang/Basic/Builtins.h +++ b/clang/include/clang/Basic/Builtins.h @@ -52,13 +52,6 @@ enum ID { struct Info { const char *Name, *Type, *Attributes, *HeaderName; LanguageID builtin_lang; - - bool operator==(const Info &RHS) const { - return !strcmp(Name, RHS.Name) && - !strcmp(Type, RHS.Type) && - !strcmp(Attributes, RHS.Attributes); - } - bool operator!=(const Info &RHS) const { return !(*this == RHS); } }; /// \brief Holds information about both target-independent and -- 2.7.4