From: Eric Christopher Date: Wed, 5 Aug 2015 20:11:04 +0000 (+0000) Subject: Remove unused comparison operators from the Builtin Info struct. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9e8ec321e8223617ed72f0c4b5e8af002e39ab8;p=clang Remove unused comparison operators from the Builtin Info struct. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244111 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/Builtins.h b/include/clang/Basic/Builtins.h index 27428ad81c..154bf16734 100644 --- a/include/clang/Basic/Builtins.h +++ b/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