diff options
author | Vedant Kumar <vsk@apple.com> | 2016-03-30 16:03:02 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-03-30 16:03:02 +0000 |
commit | b64d86ff8e80009bf898b49fbd9f9ed06a1239e0 (patch) | |
tree | ce03d8f613effe1218972f1d664af46e4e1dfc12 /clang/tools/c-index-test/c-index-test.c | |
parent | 3ace74a414dd60d384a7ddfb52a9ce98b9f99eaf (diff) | |
download | llvm-b64d86ff8e80009bf898b49fbd9f9ed06a1239e0.zip llvm-b64d86ff8e80009bf898b49fbd9f9ed06a1239e0.tar.gz llvm-b64d86ff8e80009bf898b49fbd9f9ed06a1239e0.tar.bz2 |
[c-index-test] Delete dead function, NFC
llvm-svn: 264874
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
-rw-r--r-- | clang/tools/c-index-test/c-index-test.c | 19 |
1 files changed, 0 insertions, 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; |