]> granicus.if.org Git - clang/commitdiff
Remove unused code.
authorMike Stump <mrs@apple.com>
Tue, 12 Jan 2010 22:20:00 +0000 (22:20 +0000)
committerMike Stump <mrs@apple.com>
Tue, 12 Jan 2010 22:20:00 +0000 (22:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93262 91177308-0d34-0410-b5e6-96231b3b80d8

utils/VtableTest/gen.cc

index 95815fdd47009b91438285bf3683ed1f37c54909..8396f8d138b3822eabc8cf362944940469b63c28 100644 (file)
@@ -27,7 +27,6 @@ void g(int i) {
 
 int uuid = 0;
 char base_present[N_STRUCTS][N_STRUCTS];
-char funcs_present[N_STRUCTS][N_FUNCS*FUNCSPACING];
 
 // The return type for each function when doing covariant testcase generation.
 short ret_types[N_STRUCTS][N_FUNCS*FUNCSPACING];
@@ -179,7 +178,6 @@ void gs(int s) {
       gl("); return 0; }");
     else
       gl("); }");
-    funcs_present[s][fn] = 1;
     final_override[s][fn] = s;
     old_func = fn;
   }
@@ -252,7 +250,6 @@ void gs(int s) {
         gl("); return 0; }");
       else
         gl("); }");
-      funcs_present[s][fn] = 1;
       final_override[s][fn] = s;
     }
   }