summaryrefslogtreecommitdiffstats
path: root/clang
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
commit27fbefde07e30cc3b4bb7d56d2586832ea8b42b3 (patch)
treeb711793f0c94a803ae96a53682fd7ae1b165a41f /clang
parenta910741ceac549fd0e6cd464e54c8cdec7dc6eb2 (diff)
downloadbcm5719-llvm-27fbefde07e30cc3b4bb7d56d2586832ea8b42b3.tar.gz
bcm5719-llvm-27fbefde07e30cc3b4bb7d56d2586832ea8b42b3.zip
Remove unused comparison operators from the Builtin Info struct.
llvm-svn: 244111
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/Basic/Builtins.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/include/clang/Basic/Builtins.h b/clang/include/clang/Basic/Builtins.h
index 27428ad81cb..154bf167340 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
OpenPOWER on IntegriCloud