[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/SSAtest.c arith.c array.c bigint.c bitbit.c bitlogic.c cppfield.cpp enum.cpp exception.cpp extern-inline-redef.c field.c folding.c general-test.c global.c large-array.c list.c local-array.c matrix.c memory.c offset.c override.cpp pointer.c static.c struct1.c struct2.c structInit.c template.cpp template2.cpp template3.cpp union-init.c union-struct.c union2.c
Reid Spencer
reid at x10sys.com
Mon Jan 22 13:08:09 PST 2007
Changes in directory llvm-test/SingleSource/UnitTests/Integer:
SSAtest.c updated: 1.4 -> 1.5
arith.c updated: 1.4 -> 1.5
array.c updated: 1.4 -> 1.5
bigint.c updated: 1.4 -> 1.5
bitbit.c updated: 1.4 -> 1.5
bitlogic.c updated: 1.4 -> 1.5
cppfield.cpp updated: 1.2 -> 1.3
enum.cpp updated: 1.4 -> 1.5
exception.cpp updated: 1.3 -> 1.4
extern-inline-redef.c updated: 1.4 -> 1.5
field.c updated: 1.3 -> 1.4
folding.c updated: 1.3 -> 1.4
general-test.c updated: 1.4 -> 1.5
global.c updated: 1.3 -> 1.4
large-array.c updated: 1.4 -> 1.5
list.c updated: 1.4 -> 1.5
local-array.c updated: 1.4 -> 1.5
matrix.c updated: 1.5 -> 1.6
memory.c updated: 1.4 -> 1.5
offset.c updated: 1.4 -> 1.5
override.cpp updated: 1.4 -> 1.5
pointer.c updated: 1.4 -> 1.5
static.c updated: 1.3 -> 1.4
struct1.c updated: 1.4 -> 1.5
struct2.c updated: 1.4 -> 1.5
structInit.c updated: 1.4 -> 1.5
template.cpp updated: 1.5 -> 1.6
template2.cpp updated: 1.3 -> 1.4
template3.cpp updated: 1.4 -> 1.5
union-init.c updated: 1.4 -> 1.5
union-struct.c updated: 1.4 -> 1.5
union2.c updated: 1.3 -> 1.4
---
Log message:
Fix 80-col problems in file headers.
---
Diffs of the changes: (+107 -101)
SSAtest.c | 6 +++---
arith.c | 8 ++++----
array.c | 6 +++---
bigint.c | 6 +++---
bitbit.c | 6 +++---
bitlogic.c | 6 +++---
cppfield.cpp | 6 ++++--
enum.cpp | 6 +++---
exception.cpp | 6 +++---
extern-inline-redef.c | 6 +++---
field.c | 6 +++---
folding.c | 6 +++---
general-test.c | 17 ++++++++++-------
global.c | 6 +++---
large-array.c | 6 +++---
list.c | 6 +++---
local-array.c | 6 +++---
matrix.c | 6 +++---
memory.c | 6 +++---
offset.c | 6 +++---
override.cpp | 6 +++---
pointer.c | 6 +++---
static.c | 6 +++---
struct1.c | 9 +++++----
struct2.c | 6 +++---
structInit.c | 6 +++---
template.cpp | 6 +++---
template2.cpp | 6 +++---
template3.cpp | 6 +++---
union-init.c | 6 +++---
union-struct.c | 6 +++---
union2.c | 6 +++---
32 files changed, 107 insertions(+), 101 deletions(-)
Index: llvm-test/SingleSource/UnitTests/Integer/SSAtest.c
diff -u llvm-test/SingleSource/UnitTests/Integer/SSAtest.c:1.4 llvm-test/SingleSource/UnitTests/Integer/SSAtest.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/SSAtest.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/SSAtest.c Mon Jan 22 15:07:53 2007
@@ -1,14 +1,14 @@
-//===--- SSAtest.c --- Test Cases for Bit Accurate Types ----------------===//
+//===--- SSAtest.c --- Test Cases for Bit Accurate Types ------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// Adopted the test from previous test-cases. Changed it with
// non-regular int data type.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
typedef int __attribute__ ((bitwidth(4))) int4;
Index: llvm-test/SingleSource/UnitTests/Integer/arith.c
diff -u llvm-test/SingleSource/UnitTests/Integer/arith.c:1.4 llvm-test/SingleSource/UnitTests/Integer/arith.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/arith.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/arith.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- arith.c --- Test Cases for Bit Accurate Types ------------------===//
+//===--- arith.c --- Test Cases for Bit Accurate Types --------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
-// This is a general test for arithmatic operations.
+// This is a general test for arithmetic operations.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include "arith.h"
#include <stdio.h>
Index: llvm-test/SingleSource/UnitTests/Integer/array.c
diff -u llvm-test/SingleSource/UnitTests/Integer/array.c:1.4 llvm-test/SingleSource/UnitTests/Integer/array.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/array.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/array.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- array.c --- Test Cases for Bit Accurate Types ------------------===//
+//===--- array.c --- Test Cases for Bit Accurate Types --------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a general test for array data types.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include "array.h"
#include <stdio.h>
Index: llvm-test/SingleSource/UnitTests/Integer/bigint.c
diff -u llvm-test/SingleSource/UnitTests/Integer/bigint.c:1.4 llvm-test/SingleSource/UnitTests/Integer/bigint.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/bigint.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/bigint.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- bigint.c --- Test Cases for Bit Accurate Types -----------------===//
+//===--- bigint.c --- Test Cases for Bit Accurate Types -------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a general test for big integer type.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include "bigint.h"
#include <stdio.h>
Index: llvm-test/SingleSource/UnitTests/Integer/bitbit.c
diff -u llvm-test/SingleSource/UnitTests/Integer/bitbit.c:1.4 llvm-test/SingleSource/UnitTests/Integer/bitbit.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/bitbit.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/bitbit.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- bitbit.c --- Test Cases for Bit Accurate Types -----------------===//
+//===--- bitbit.c --- Test Cases for Bit Accurate Types -------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a general test for bit operations.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include "bitbit.h"
#include <stdio.h>
Index: llvm-test/SingleSource/UnitTests/Integer/bitlogic.c
diff -u llvm-test/SingleSource/UnitTests/Integer/bitlogic.c:1.4 llvm-test/SingleSource/UnitTests/Integer/bitlogic.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/bitlogic.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/bitlogic.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- bitlogic.c --- Test Cases for Bit Accurate Types ---------------===//
+//===--- bitlogic.c --- Test Cases for Bit Accurate Types -----------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a general test for logical operations.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include "bitlogic.h"
#include <stdio.h>
Index: llvm-test/SingleSource/UnitTests/Integer/cppfield.cpp
diff -u llvm-test/SingleSource/UnitTests/Integer/cppfield.cpp:1.2 llvm-test/SingleSource/UnitTests/Integer/cppfield.cpp:1.3
--- llvm-test/SingleSource/UnitTests/Integer/cppfield.cpp:1.2 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/cppfield.cpp Mon Jan 22 15:07:53 2007
@@ -1,9 +1,11 @@
-#include <stdio.h>
+//===-- cppfield.cpp - Test C++ Fields With Bit Accurate Types ------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
+//
+#include <stdio.h>
typedef unsigned int __attribute__ ((bitwidth(7))) int7;
typedef unsigned int __attribute__ ((bitwidth(17))) int17;
typedef unsigned int __attribute__ ((bitwidth(32))) int32;
Index: llvm-test/SingleSource/UnitTests/Integer/enum.cpp
diff -u llvm-test/SingleSource/UnitTests/Integer/enum.cpp:1.4 llvm-test/SingleSource/UnitTests/Integer/enum.cpp:1.5
--- llvm-test/SingleSource/UnitTests/Integer/enum.cpp:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/enum.cpp Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- enum.cpp --- Test Cases for Bit Accurate Types -----------------===//
+//===--- enum.cpp --- Test Cases for Bit Accurate Types -------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test of bitwidth attribute with enum data.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
class myClass
Index: llvm-test/SingleSource/UnitTests/Integer/exception.cpp
diff -u llvm-test/SingleSource/UnitTests/Integer/exception.cpp:1.3 llvm-test/SingleSource/UnitTests/Integer/exception.cpp:1.4
--- llvm-test/SingleSource/UnitTests/Integer/exception.cpp:1.3 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/exception.cpp Mon Jan 22 15:07:53 2007
@@ -1,14 +1,14 @@
-//===--- exception.cpp --- Test Cases for Bit Accurate Types ------------===//
+//===--- exception.cpp --- Test Cases for Bit Accurate Types --------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test of exception handling with non-regular data
// type. The compiler should be able to differentiate int31, int7 etc.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
typedef int __attribute__ ((bitwidth(31))) int31;
Index: llvm-test/SingleSource/UnitTests/Integer/extern-inline-redef.c
diff -u llvm-test/SingleSource/UnitTests/Integer/extern-inline-redef.c:1.4 llvm-test/SingleSource/UnitTests/Integer/extern-inline-redef.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/extern-inline-redef.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/extern-inline-redef.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- extern_inline_redef.c --- Test Cases for Bit Accurate Types ----===//
+//===--- extern_inline_redef.c --- Test Cases for Bit Accurate Types ------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// this is used to test redefining inline function.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
typedef int __attribute__ ((bitwidth(61))) int61;
Index: llvm-test/SingleSource/UnitTests/Integer/field.c
diff -u llvm-test/SingleSource/UnitTests/Integer/field.c:1.3 llvm-test/SingleSource/UnitTests/Integer/field.c:1.4
--- llvm-test/SingleSource/UnitTests/Integer/field.c:1.3 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/field.c Mon Jan 22 15:07:53 2007
@@ -1,15 +1,15 @@
-//===--- field.c --- Test Cases for Bit Accurate Types ------------------===//
+//===--- field.c --- Test Cases for Bit Accurate Types --------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is used to test struct with field specifier. We suppose the
// data layout of the field should be the same as the corresponding
// struct using bit accurate types.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
typedef int __attribute__ ((bitwidth(7))) int7;
typedef int __attribute__ ((bitwidth(17))) int17;
Index: llvm-test/SingleSource/UnitTests/Integer/folding.c
diff -u llvm-test/SingleSource/UnitTests/Integer/folding.c:1.3 llvm-test/SingleSource/UnitTests/Integer/folding.c:1.4
--- llvm-test/SingleSource/UnitTests/Integer/folding.c:1.3 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/folding.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- folding.c --- Test Cases for Bit Accurate Types ----------------===//
+//===--- folding.c --- Test Cases for Bit Accurate Types ------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is used to test constant folding optimization.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
typedef int __attribute__ ((bitwidth(7))) int7;
Index: llvm-test/SingleSource/UnitTests/Integer/general-test.c
diff -u llvm-test/SingleSource/UnitTests/Integer/general-test.c:1.4 llvm-test/SingleSource/UnitTests/Integer/general-test.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/general-test.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/general-test.c Mon Jan 22 15:07:53 2007
@@ -1,11 +1,14 @@
-/* This test just tries out a few bitwidth attribute constructs and
+//===--- general-test.c - General Bit Accurate Type Test ------------------===//
//
-// This file was developed by Guoling han and donated to the LLVM research
-// group and is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
- * generates some output based on the them.
- */
+// This file was developed by Reid Spencer and is distributed under the
+// the University of Illinois Open Source License. See LICENSE.TXT for
+// details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This test just tries out a few bitwidth attribute constructs and
+//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
#include <stdlib.h>
Index: llvm-test/SingleSource/UnitTests/Integer/global.c
diff -u llvm-test/SingleSource/UnitTests/Integer/global.c:1.3 llvm-test/SingleSource/UnitTests/Integer/global.c:1.4
--- llvm-test/SingleSource/UnitTests/Integer/global.c:1.3 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/global.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- global.c --- Test Cases for Bit Accurate Types -----------------===//
+//===--- global.c --- Test Cases for Bit Accurate Types -------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is used to test global arrays.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
typedef int __attribute__ ((bitwidth(7))) int7;
Index: llvm-test/SingleSource/UnitTests/Integer/large-array.c
diff -u llvm-test/SingleSource/UnitTests/Integer/large-array.c:1.4 llvm-test/SingleSource/UnitTests/Integer/large-array.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/large-array.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/large-array.c Mon Jan 22 15:07:53 2007
@@ -1,14 +1,14 @@
-//===--- large-array.c --- Test Cases for Bit Accurate Types ------------===//
+//===--- large-array.c --- Test Cases for Bit Accurate Types --------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is used to test large local arrays. Some local arrays are
// partially initilized.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
Index: llvm-test/SingleSource/UnitTests/Integer/list.c
diff -u llvm-test/SingleSource/UnitTests/Integer/list.c:1.4 llvm-test/SingleSource/UnitTests/Integer/list.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/list.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/list.c Mon Jan 22 15:07:53 2007
@@ -1,15 +1,15 @@
-//===--- list.c --- Test Cases for Bit Accurate Types -------------------===//
+//===--- list.c --- Test Cases for Bit Accurate Types ---------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for simple linked list operation. Data are added to
// and removed from the list. We compare the expected value wehen we
// remove data from the list.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
#include <stdlib.h>
Index: llvm-test/SingleSource/UnitTests/Integer/local-array.c
diff -u llvm-test/SingleSource/UnitTests/Integer/local-array.c:1.4 llvm-test/SingleSource/UnitTests/Integer/local-array.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/local-array.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/local-array.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- local-array.c --- Test Cases for Bit Accurate Types ------------===//
+//===--- local-array.c --- Test Cases for Bit Accurate Types --------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is another test for local arrays.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
typedef int __attribute__ ((bitwidth(4))) int4;
Index: llvm-test/SingleSource/UnitTests/Integer/matrix.c
diff -u llvm-test/SingleSource/UnitTests/Integer/matrix.c:1.5 llvm-test/SingleSource/UnitTests/Integer/matrix.c:1.6
--- llvm-test/SingleSource/UnitTests/Integer/matrix.c:1.5 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/matrix.c Mon Jan 22 15:07:53 2007
@@ -1,16 +1,16 @@
-//===--- matrix.c --- Test Cases for Bit Accurate Types -----------------===//
+//===--- matrix.c --- Test Cases for Bit Accurate Types -------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for matrix with non-regular bitwidth data. In
// my_test(A, B) function, we get A=A*B. For each row after
// multiplication, we sort it in non-increasing order. Then the first
// two largest elements are used to get the gcd.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include "matrix.h"
#include <stdio.h>
#include <stdlib.h>
Index: llvm-test/SingleSource/UnitTests/Integer/memory.c
diff -u llvm-test/SingleSource/UnitTests/Integer/memory.c:1.4 llvm-test/SingleSource/UnitTests/Integer/memory.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/memory.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/memory.c Mon Jan 22 15:07:53 2007
@@ -1,14 +1,14 @@
-//===--- memory.c --- Test Cases for Bit Accurate Types -----------------===//
+//===--- memory.c --- Test Cases for Bit Accurate Types -------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for memory malloc and free operations. It tests
// non-regular bitwidth data and structures.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
#include <stdlib.h>
Index: llvm-test/SingleSource/UnitTests/Integer/offset.c
diff -u llvm-test/SingleSource/UnitTests/Integer/offset.c:1.4 llvm-test/SingleSource/UnitTests/Integer/offset.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/offset.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/offset.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- offset.c --- Test Cases for Bit Accurate Types -----------------===//
+//===--- offset.c --- Test Cases for Bit Accurate Types -------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for data size calculation with non-regular integral type.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
Index: llvm-test/SingleSource/UnitTests/Integer/override.cpp
diff -u llvm-test/SingleSource/UnitTests/Integer/override.cpp:1.4 llvm-test/SingleSource/UnitTests/Integer/override.cpp:1.5
--- llvm-test/SingleSource/UnitTests/Integer/override.cpp:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/override.cpp Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- override.cpp --- Test Cases for Bit Accurate Types -------------===//
+//===--- override.cpp --- Test Cases for Bit Accurate Types ---------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test of override test.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
typedef int __attribute__ ((bitwidth(31))) int31;
typedef int __attribute__ ((bitwidth(32))) int32;
Index: llvm-test/SingleSource/UnitTests/Integer/pointer.c
diff -u llvm-test/SingleSource/UnitTests/Integer/pointer.c:1.4 llvm-test/SingleSource/UnitTests/Integer/pointer.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/pointer.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/pointer.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- pointer.c --- Test Cases for Bit Accurate Types ----------------===//
+//===--- pointer.c --- Test Cases for Bit Accurate Types ------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for address calculation with non-regular integral type.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
typedef int __attribute__ ((bitwidth(3))) int3;
Index: llvm-test/SingleSource/UnitTests/Integer/static.c
diff -u llvm-test/SingleSource/UnitTests/Integer/static.c:1.3 llvm-test/SingleSource/UnitTests/Integer/static.c:1.4
--- llvm-test/SingleSource/UnitTests/Integer/static.c:1.3 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/static.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- static.c --- Test Cases for Bit Accurate Types -----------------===//
+//===--- static.c --- Test Cases for Bit Accurate Types -------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for static data with non-regular integral data.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
typedef int __attribute__ ((bitwidth(31))) int31;
Index: llvm-test/SingleSource/UnitTests/Integer/struct1.c
diff -u llvm-test/SingleSource/UnitTests/Integer/struct1.c:1.4 llvm-test/SingleSource/UnitTests/Integer/struct1.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/struct1.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/struct1.c Mon Jan 22 15:07:53 2007
@@ -1,14 +1,15 @@
-//===--- struct1.c --- Test Cases for Bit Accurate Types ----------------===//
+//===--- struct1.c --- Test Cases for Bit Accurate Types ------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for struct data structure. If the data layout for
-// non-regular bitwidth data is not correct, it may change the value of another field.
+// non-regular bitwidth data is not correct, it may change the value of
+// another field.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
Index: llvm-test/SingleSource/UnitTests/Integer/struct2.c
diff -u llvm-test/SingleSource/UnitTests/Integer/struct2.c:1.4 llvm-test/SingleSource/UnitTests/Integer/struct2.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/struct2.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/struct2.c Mon Jan 22 15:07:53 2007
@@ -1,14 +1,14 @@
-//===--- struct2.c --- Test Cases for Bit Accurate Types ----------------===//
+//===--- struct2.c --- Test Cases for Bit Accurate Types ------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for struct data structure. We test the nested structure
// and pointer to structure.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
Index: llvm-test/SingleSource/UnitTests/Integer/structInit.c
diff -u llvm-test/SingleSource/UnitTests/Integer/structInit.c:1.4 llvm-test/SingleSource/UnitTests/Integer/structInit.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/structInit.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/structInit.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- structInit.c --- Test Cases for Bit Accurate Types -------------===//
+//===--- structInit.c --- Test Cases for Bit Accurate Types ---------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for struct data structure with initialization.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
typedef int __attribute__ ((bitwidth(31))) int31;
Index: llvm-test/SingleSource/UnitTests/Integer/template.cpp
diff -u llvm-test/SingleSource/UnitTests/Integer/template.cpp:1.5 llvm-test/SingleSource/UnitTests/Integer/template.cpp:1.6
--- llvm-test/SingleSource/UnitTests/Integer/template.cpp:1.5 Mon Jan 22 14:50:40 2007
+++ llvm-test/SingleSource/UnitTests/Integer/template.cpp Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- template.cpp --- Test Cases for Bit Accurate Types -------------===//
+//===--- template.cpp --- Test Cases for Bit Accurate Types ---------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for template functions.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
Index: llvm-test/SingleSource/UnitTests/Integer/template2.cpp
diff -u llvm-test/SingleSource/UnitTests/Integer/template2.cpp:1.3 llvm-test/SingleSource/UnitTests/Integer/template2.cpp:1.4
--- llvm-test/SingleSource/UnitTests/Integer/template2.cpp:1.3 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/template2.cpp Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- template2.cpp --- Test Cases for Bit Accurate Types ------------===//
+//===--- template2.cpp --- Test Cases for Bit Accurate Types --------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for template classes.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
typedef int __attribute__ ((bitwidth(26))) int26;
Index: llvm-test/SingleSource/UnitTests/Integer/template3.cpp
diff -u llvm-test/SingleSource/UnitTests/Integer/template3.cpp:1.4 llvm-test/SingleSource/UnitTests/Integer/template3.cpp:1.5
--- llvm-test/SingleSource/UnitTests/Integer/template3.cpp:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/template3.cpp Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- template3.cpp --- Test Cases for Bit Accurate Types ------------===//
+//===--- template3.cpp --- Test Cases for Bit Accurate Types --------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for partial specialization.
//
-//===------------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
Index: llvm-test/SingleSource/UnitTests/Integer/union-init.c
diff -u llvm-test/SingleSource/UnitTests/Integer/union-init.c:1.4 llvm-test/SingleSource/UnitTests/Integer/union-init.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/union-init.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/union-init.c Mon Jan 22 15:07:53 2007
@@ -1,13 +1,13 @@
-//===--- union-init.c --- Test Cases for Bit Accurate Types -------------===//
+//===--- union-init.c --- Test Cases for Bit Accurate Types ---------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for union initialization.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
Index: llvm-test/SingleSource/UnitTests/Integer/union-struct.c
diff -u llvm-test/SingleSource/UnitTests/Integer/union-struct.c:1.4 llvm-test/SingleSource/UnitTests/Integer/union-struct.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/union-struct.c:1.4 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/union-struct.c Mon Jan 22 15:07:53 2007
@@ -1,14 +1,14 @@
-//===--- union-struct.c --- Test Cases for Bit Accurate Types -----------===//
+//===--- union-struct.c --- Test Cases for Bit Accurate Types -------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for struct with union inside. The purpose is to see
// whether the size of the structure is correct.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
Index: llvm-test/SingleSource/UnitTests/Integer/union2.c
diff -u llvm-test/SingleSource/UnitTests/Integer/union2.c:1.3 llvm-test/SingleSource/UnitTests/Integer/union2.c:1.4
--- llvm-test/SingleSource/UnitTests/Integer/union2.c:1.3 Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/union2.c Mon Jan 22 15:07:53 2007
@@ -1,14 +1,14 @@
-//===--- union2.c --- Test Cases for Bit Accurate Types -----------------===//
+//===--- union2.c --- Test Cases for Bit Accurate Types -------------------===//
//
// This file was developed by Guoling han and donated to the LLVM research
// group and is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// This is a test for union type. By assigning values to different
// fields, we can check whether the assignment is correctly performed.
//
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include <stdio.h>
typedef int __attribute__ ((bitwidth(9))) int9;
typedef int __attribute__ ((bitwidth(31))) int31;
More information about the llvm-commits
mailing list