[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/boss.h commission.h company.h employee.h hourly-no-over.h hourly-over.h hourly.h piece.h wage.h

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 4 17:37:43 PDT 2004



Changes in directory llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ:

boss.h updated: 1.1 -> 1.2
commission.h updated: 1.1 -> 1.2
company.h updated: 1.1 -> 1.2
employee.h updated: 1.1 -> 1.2
hourly-no-over.h updated: 1.1 -> 1.2
hourly-over.h updated: 1.1 -> 1.2
hourly.h updated: 1.1 -> 1.2
piece.h updated: 1.1 -> 1.2
wage.h updated: 1.1 -> 1.2
---
Log message:

Stop using deprecated headers


---
Diffs of the changes:  (+68 -28)

Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/boss.h
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/boss.h:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/boss.h:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/boss.h:1.1	Mon Oct  4 15:01:13 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/boss.h	Mon Oct  4 19:37:32 2004
@@ -17,10 +17,13 @@
 ** RCS       :
 **
 ** $Source: /home/vadve/shared/PublicCVS/llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/boss.h,v $
-** $Revision: 1.1 $
-** $Date: 2004/10/04 20:01:13 $
+** $Revision: 1.2 $
+** $Date: 2004/10/05 00:37:32 $
 **
 ** $Log: boss.h,v $
+** Revision 1.2  2004/10/05 00:37:32  lattner
+** Stop using deprecated headers
+**
 ** Revision 1.1  2004/10/04 20:01:13  lattner
 ** Initial checkin of all of the source
 **
@@ -40,7 +43,9 @@
 
 #define BOSS_ID 1
 
-#include <iostream.h>
+#include <iostream>
+using namespace std;
+
 
 /* A boss gets a weekly salary, regardless of how much (s)he works */
 


Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/commission.h
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/commission.h:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/commission.h:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/commission.h:1.1	Mon Oct  4 15:01:13 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/commission.h	Mon Oct  4 19:37:32 2004
@@ -17,10 +17,13 @@
 ** RCS       :
 **
 ** $Source: /home/vadve/shared/PublicCVS/llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/commission.h,v $
-** $Revision: 1.1 $
-** $Date: 2004/10/04 20:01:13 $
+** $Revision: 1.2 $
+** $Date: 2004/10/05 00:37:32 $
 **
 ** $Log: commission.h,v $
+** Revision 1.2  2004/10/05 00:37:32  lattner
+** Stop using deprecated headers
+**
 ** Revision 1.1  2004/10/04 20:01:13  lattner
 ** Initial checkin of all of the source
 **
@@ -38,8 +41,9 @@
 
 #include "employee.h"
 
-#include <iostream.h>
+#include <iostream>
 #include <stdlib.h>
+using namespace std;
 
 #define COMMISSIONED_WORKER_ID 2
 /* A commissioned worker gets a weekly salary + commission per quantity sold */


Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/company.h
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/company.h:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/company.h:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/company.h:1.1	Mon Oct  4 15:01:13 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/company.h	Mon Oct  4 19:37:32 2004
@@ -12,10 +12,13 @@
 ** RCS       :
 **
 ** $Source: /home/vadve/shared/PublicCVS/llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/company.h,v $
-** $Revision: 1.1 $
-** $Date: 2004/10/04 20:01:13 $
+** $Revision: 1.2 $
+** $Date: 2004/10/05 00:37:32 $
 **
 ** $Log: company.h,v $
+** Revision 1.2  2004/10/05 00:37:32  lattner
+** Stop using deprecated headers
+**
 ** Revision 1.1  2004/10/04 20:01:13  lattner
 ** Initial checkin of all of the source
 **
@@ -30,7 +33,9 @@
 
 #include "employee.h"
 
-#include <iostream.h>
+#include <iostream>
+using namespace std;
+
 
 class EmployeeNode {
 


Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/employee.h
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/employee.h:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/employee.h:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/employee.h:1.1	Mon Oct  4 15:01:13 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/employee.h	Mon Oct  4 19:37:32 2004
@@ -17,10 +17,13 @@
 ** RCS       :
 **
 ** $Source: /home/vadve/shared/PublicCVS/llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/employee.h,v $
-** $Revision: 1.1 $
-** $Date: 2004/10/04 20:01:13 $
+** $Revision: 1.2 $
+** $Date: 2004/10/05 00:37:32 $
 **
 ** $Log: employee.h,v $
+** Revision 1.2  2004/10/05 00:37:32  lattner
+** Stop using deprecated headers
+**
 ** Revision 1.1  2004/10/04 20:01:13  lattner
 ** Initial checkin of all of the source
 **
@@ -33,8 +36,9 @@
 #ifndef _EMPLOYEE_H
 #define _EMPLOYEE_H
 
-#include <iostream.h>
-#include <iomanip.h>
+#include <iostream>
+#include <iomanip>
+using namespace std;
 
 #define EMPLOYEE_ID 0
 


Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly-no-over.h
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly-no-over.h:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly-no-over.h:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly-no-over.h:1.1	Mon Oct  4 15:01:13 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly-no-over.h	Mon Oct  4 19:37:32 2004
@@ -17,10 +17,13 @@
 ** RCS       :
 **
 ** $Source: /home/vadve/shared/PublicCVS/llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly-no-over.h,v $
-** $Revision: 1.1 $
-** $Date: 2004/10/04 20:01:13 $
+** $Revision: 1.2 $
+** $Date: 2004/10/05 00:37:32 $
 **
 ** $Log: hourly-no-over.h,v $
+** Revision 1.2  2004/10/05 00:37:32  lattner
+** Stop using deprecated headers
+**
 ** Revision 1.1  2004/10/04 20:01:13  lattner
 ** Initial checkin of all of the source
 **
@@ -35,8 +38,10 @@
 
 #include "hourly.h"
 
-#include <iostream.h>
+#include <iostream>
 #include <stdlib.h>
+using namespace std;
+
 
 #define HOURLY_WORKER_NO_OVERTIME_ID 7
 


Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly-over.h
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly-over.h:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly-over.h:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly-over.h:1.1	Mon Oct  4 15:01:13 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly-over.h	Mon Oct  4 19:37:32 2004
@@ -17,10 +17,13 @@
 ** RCS       :
 **
 ** $Source: /home/vadve/shared/PublicCVS/llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly-over.h,v $
-** $Revision: 1.1 $
-** $Date: 2004/10/04 20:01:13 $
+** $Revision: 1.2 $
+** $Date: 2004/10/05 00:37:32 $
 **
 ** $Log: hourly-over.h,v $
+** Revision 1.2  2004/10/05 00:37:32  lattner
+** Stop using deprecated headers
+**
 ** Revision 1.1  2004/10/04 20:01:13  lattner
 ** Initial checkin of all of the source
 **
@@ -35,8 +38,9 @@
 
 #include "hourly.h"
 
-#include <iostream.h>
+#include <iostream>
 #include <stdlib.h>
+using namespace std;
 
 #define HOURLY_WORKER_OVERTIME_ID 6
 /* An hourly worker overtime gets paid for every hour worked, and time and 


Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly.h
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly.h:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly.h:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly.h:1.1	Mon Oct  4 15:01:13 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly.h	Mon Oct  4 19:37:32 2004
@@ -17,10 +17,13 @@
 ** RCS       :
 **
 ** $Source: /home/vadve/shared/PublicCVS/llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/hourly.h,v $
-** $Revision: 1.1 $
-** $Date: 2004/10/04 20:01:13 $
+** $Revision: 1.2 $
+** $Date: 2004/10/05 00:37:32 $
 **
 ** $Log: hourly.h,v $
+** Revision 1.2  2004/10/05 00:37:32  lattner
+** Stop using deprecated headers
+**
 ** Revision 1.1  2004/10/04 20:01:13  lattner
 ** Initial checkin of all of the source
 **
@@ -39,8 +42,10 @@
 #include "wage.h"
 
 #define HOURLY_ID 5
-#include <iostream.h>
+#include <iostream>
 #include <stdlib.h>
+using namespace std;
+
 
 /* An hourly worker gets paid for every hour worked */
 


Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/piece.h
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/piece.h:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/piece.h:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/piece.h:1.1	Mon Oct  4 15:01:13 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/piece.h	Mon Oct  4 19:37:32 2004
@@ -17,10 +17,13 @@
 ** RCS       :
 **
 ** $Source: /home/vadve/shared/PublicCVS/llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/piece.h,v $
-** $Revision: 1.1 $
-** $Date: 2004/10/04 20:01:13 $
+** $Revision: 1.2 $
+** $Date: 2004/10/05 00:37:32 $
 **
 ** $Log: piece.h,v $
+** Revision 1.2  2004/10/05 00:37:32  lattner
+** Stop using deprecated headers
+**
 ** Revision 1.1  2004/10/04 20:01:13  lattner
 ** Initial checkin of all of the source
 **
@@ -39,7 +42,8 @@
 #include "wage.h"
 
 #define PIECE_WORKER_ID 4
-#include <iostream.h>
+#include <iostream>
+using namespace std;
 
 /* A piece worker gets paid for every item produced */
 


Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/wage.h
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/wage.h:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/wage.h:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/wage.h:1.1	Mon Oct  4 15:01:13 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/wage.h	Mon Oct  4 19:37:32 2004
@@ -17,10 +17,13 @@
 ** RCS       :
 **
 ** $Source: /home/vadve/shared/PublicCVS/llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/wage.h,v $
-** $Revision: 1.1 $
-** $Date: 2004/10/04 20:01:13 $
+** $Revision: 1.2 $
+** $Date: 2004/10/05 00:37:32 $
 **
 ** $Log: wage.h,v $
+** Revision 1.2  2004/10/05 00:37:32  lattner
+** Stop using deprecated headers
+**
 ** Revision 1.1  2004/10/04 20:01:13  lattner
 ** Initial checkin of all of the source
 **
@@ -37,8 +40,9 @@
 
 #define WAGE_WORKER_ID 3
 
-#include <iostream.h>
+#include <iostream>
 #include <stdlib.h>
+using namespace std;
 
 /* A wage worker  gets paid for every (item, hour, etc) worked/produced */
 






More information about the llvm-commits mailing list