r264874 - [c-index-test] Delete dead function, NFC
Vedant Kumar via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 30 09:03:03 PDT 2016
Author: vedantk
Date: Wed Mar 30 11:03:02 2016
New Revision: 264874
URL: http://llvm.org/viewvc/llvm-project?rev=264874&view=rev
Log:
[c-index-test] Delete dead function, NFC
Modified:
cfe/trunk/tools/c-index-test/c-index-test.c
Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=264874&r1=264873&r2=264874&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Wed Mar 30 11:03:02 2016
@@ -2134,25 +2134,6 @@ void print_completion_contexts(unsigned
}
}
-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;
More information about the cfe-commits
mailing list