summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/modularize/PreprocessorTracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/modularize/PreprocessorTracker.cpp')
-rw-r--r--clang-tools-extra/modularize/PreprocessorTracker.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/clang-tools-extra/modularize/PreprocessorTracker.cpp b/clang-tools-extra/modularize/PreprocessorTracker.cpp
index e71a2b0a381..0b99f212c79 100644
--- a/clang-tools-extra/modularize/PreprocessorTracker.cpp
+++ b/clang-tools-extra/modularize/PreprocessorTracker.cpp
@@ -535,19 +535,6 @@ ConditionValueKindStrings[] = {
"(not evaluated)", "false", "true"
};
-// We need some operator overloads for string handles.
-bool operator==(const StringHandle &H1, const StringHandle &H2) {
- const char *S1 = (H1 ? *H1 : "");
- const char *S2 = (H2 ? *H2 : "");
- int Diff = strcmp(S1, S2);
- return Diff == 0;
-}
-bool operator!=(const StringHandle &H1, const StringHandle &H2) {
- const char *S1 = (H1 ? *H1 : "");
- const char *S2 = (H2 ? *H2 : "");
- int Diff = strcmp(S1, S2);
- return Diff != 0;
-}
bool operator<(const StringHandle &H1, const StringHandle &H2) {
const char *S1 = (H1 ? *H1 : "");
const char *S2 = (H2 ? *H2 : "");
OpenPOWER on IntegriCloud