From b64d86ff8e80009bf898b49fbd9f9ed06a1239e0 Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Wed, 30 Mar 2016 16:03:02 +0000 Subject: [PATCH] [c-index-test] Delete dead function, NFC llvm-svn: 264874 --- clang/tools/c-index-test/c-index-test.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/clang/tools/c-index-test/c-index-test.c b/clang/tools/c-index-test/c-index-test.c index 802ecec..c76d8fb 100644 --- a/clang/tools/c-index-test/c-index-test.c +++ b/clang/tools/c-index-test/c-index-test.c @@ -2134,25 +2134,6 @@ void print_completion_contexts(unsigned long long contexts, FILE *file) { } } -int my_stricmp(const char *s1, const char *s2) { - while (*s1 && *s2) { - int c1 = tolower((unsigned char)*s1), c2 = tolower((unsigned char)*s2); - if (c1 < c2) - return -1; - else if (c1 > c2) - return 1; - - ++s1; - ++s2; - } - - if (*s1) - return 1; - else if (*s2) - return -1; - return 0; -} - int perform_code_completion(int argc, const char **argv, int timing_only) { const char *input = argv[1]; char *filename = 0; -- 2.7.4