summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2016-01-03 17:22:03 +0000
committerDimitry Andric <dimitry@andric.com>2016-01-03 17:22:03 +0000
commit227b928abce178fb1c3b70f510d5dc9ef7124758 (patch)
treeb9726f1e74f13393af712d3975153e5769837511 /llvm/test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.cpp
parent569106fe997eb1ec3abf6eb373dd09170d42eb7a (diff)
downloadbcm5719-llvm-227b928abce178fb1c3b70f510d5dc9ef7124758.tar.gz
bcm5719-llvm-227b928abce178fb1c3b70f510d5dc9ef7124758.zip
Fix several accidental DOS line endings in source files
Summary: There are a number of files in the tree which have been accidentally checked in with DOS line endings. Convert these to native line endings. There are also a few files which have DOS line endings on purpose, and I have set the svn:eol-style property to 'CRLF' on those. Reviewers: joerg, aaron.ballman Subscribers: aaron.ballman, sanjoy, dsanders, llvm-commits Differential Revision: http://reviews.llvm.org/D15848 llvm-svn: 256707
Diffstat (limited to 'llvm/test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.cpp')
-rw-r--r--llvm/test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.cpp128
1 files changed, 64 insertions, 64 deletions
diff --git a/llvm/test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.cpp b/llvm/test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.cpp
index 51c1b9bb305..00565970cac 100644
--- a/llvm/test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.cpp
+++ b/llvm/test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.cpp
@@ -1,64 +1,64 @@
-// Compile with "cl /c /Zi /GR- ClassLayoutTest.cpp"
-// Link with "link ClassLayoutTest.obj /debug /nodefaultlib /entry:main"
-
-namespace MembersTest {
- class A {
- public:
- typedef int NestedTypedef;
- enum NestedEnum {
- NestedEnumValue1
- };
-
- void MemberFunc() {}
-
- private:
- int IntMemberVar;
- double DoubleMemberVar;
- };
-}
-
-namespace GlobalsTest {
- int IntVar;
- double DoubleVar;
-
- typedef int Typedef;
- enum Enum {
- Val1
- } EnumVar;
- Typedef TypedefVar;
-}
-
-namespace BaseClassTest {
- class A {};
- class B : public virtual A {};
- class C : public virtual A {};
- class D : protected B, private C {};
-}
-
-namespace UdtKindTest {
- struct A {};
- class B {};
- union C {};
-}
-
-namespace BitFieldTest {
- struct A {
- int Bits1 : 1;
- int Bits2 : 2;
- int Bits3 : 3;
- int Bits4 : 4;
- int Bits22 : 22;
- int Offset0x04;
- };
-};
-
-int main(int argc, char **argv) {
- MembersTest::A v1;
- v1.MemberFunc();
- BaseClassTest::D v2;
- UdtKindTest::A v3;
- UdtKindTest::B v4;
- UdtKindTest::C v5;
- BitFieldTest::A v7;
- return 0;
-}
+// Compile with "cl /c /Zi /GR- ClassLayoutTest.cpp"
+// Link with "link ClassLayoutTest.obj /debug /nodefaultlib /entry:main"
+
+namespace MembersTest {
+ class A {
+ public:
+ typedef int NestedTypedef;
+ enum NestedEnum {
+ NestedEnumValue1
+ };
+
+ void MemberFunc() {}
+
+ private:
+ int IntMemberVar;
+ double DoubleMemberVar;
+ };
+}
+
+namespace GlobalsTest {
+ int IntVar;
+ double DoubleVar;
+
+ typedef int Typedef;
+ enum Enum {
+ Val1
+ } EnumVar;
+ Typedef TypedefVar;
+}
+
+namespace BaseClassTest {
+ class A {};
+ class B : public virtual A {};
+ class C : public virtual A {};
+ class D : protected B, private C {};
+}
+
+namespace UdtKindTest {
+ struct A {};
+ class B {};
+ union C {};
+}
+
+namespace BitFieldTest {
+ struct A {
+ int Bits1 : 1;
+ int Bits2 : 2;
+ int Bits3 : 3;
+ int Bits4 : 4;
+ int Bits22 : 22;
+ int Offset0x04;
+ };
+};
+
+int main(int argc, char **argv) {
+ MembersTest::A v1;
+ v1.MemberFunc();
+ BaseClassTest::D v2;
+ UdtKindTest::A v3;
+ UdtKindTest::B v4;
+ UdtKindTest::C v5;
+ BitFieldTest::A v7;
+ return 0;
+}
OpenPOWER on IntegriCloud