r244111 - Remove unused comparison operators from the Builtin Info struct.

Eric Christopher echristo at gmail.com
Wed Aug 5 13:11:04 PDT 2015


Author: echristo
Date: Wed Aug  5 15:11:04 2015
New Revision: 244111

URL: http://llvm.org/viewvc/llvm-project?rev=244111&view=rev
Log:
Remove unused comparison operators from the Builtin Info struct.

Modified:
    cfe/trunk/include/clang/Basic/Builtins.h

Modified: cfe/trunk/include/clang/Basic/Builtins.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Builtins.h?rev=244111&r1=244110&r2=244111&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Builtins.h (original)
+++ cfe/trunk/include/clang/Basic/Builtins.h Wed Aug  5 15:11:04 2015
@@ -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




More information about the cfe-commits mailing list