From: Vedant Kumar Date: Wed, 30 Mar 2016 16:03:02 +0000 (+0000) Subject: [c-index-test] Delete dead function, NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7d61c905183a4c50439a51c257c1fae6ba8dc7a;p=clang [c-index-test] Delete dead function, NFC git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264874 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c index 802ecec4fc..c76d8fb0e7 100644 --- a/tools/c-index-test/c-index-test.c +++ b/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;