summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/Builtins.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-08-05 20:11:04 +0000
committerEric Christopher <echristo@gmail.com>2015-08-05 20:11:04 +0000
commitb9e8ec321e8223617ed72f0c4b5e8af002e39ab8 (patch)
treedbffc37ffed581717e1259fc2c7e81e94e0d00a4 /include/clang/Basic/Builtins.h
parent8c3627c045d23db2e02cd781792490e97ae70a4e (diff)
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
Diffstat (limited to 'include/clang/Basic/Builtins.h')
-rw-r--r--include/clang/Basic/Builtins.h7
1 files changed, 0 insertions, 7 deletions
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