]> granicus.if.org Git - clang/commitdiff
Remove unused comparison operators from the Builtin Info struct.
authorEric Christopher <echristo@gmail.com>
Wed, 5 Aug 2015 20:11:04 +0000 (20:11 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 5 Aug 2015 20:11:04 +0000 (20:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244111 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Builtins.h

index 27428ad81cb8b2cf6ba84ef7cd1f2367d1321a6f..154bf1673403c626b1824044207c8de29940c0c4 100644 (file)
@@ -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