[cfe-commits] r39073 - in /cfe/cfe/trunk/INPUTS: ./ Cocoa_h.m carbon_h.c iostream.cc macro_pounder_fn.c macro_pounder_obj.c
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:27:19 PDT 2007
Author: sabre
Date: Wed Jul 11 11:27:19 2007
New Revision: 39073
URL: http://llvm.org/viewvc/llvm-project?rev=39073&view=rev
Log:
add some of the smaller test inputs I use.
Added:
cfe/cfe/trunk/INPUTS/
cfe/cfe/trunk/INPUTS/Cocoa_h.m (with props)
cfe/cfe/trunk/INPUTS/carbon_h.c (with props)
cfe/cfe/trunk/INPUTS/iostream.cc (with props)
cfe/cfe/trunk/INPUTS/macro_pounder_fn.c (with props)
cfe/cfe/trunk/INPUTS/macro_pounder_obj.c (with props)
Added: cfe/cfe/trunk/INPUTS/Cocoa_h.m
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/INPUTS/Cocoa_h.m?rev=39073&view=auto
==============================================================================
--- cfe/cfe/trunk/INPUTS/Cocoa_h.m (added)
+++ cfe/cfe/trunk/INPUTS/Cocoa_h.m Wed Jul 11 11:27:19 2007
@@ -0,0 +1,2 @@
+
+#import <Cocoa/Cocoa.h>
Propchange: cfe/cfe/trunk/INPUTS/Cocoa_h.m
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cfe/cfe/trunk/INPUTS/Cocoa_h.m
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: cfe/cfe/trunk/INPUTS/carbon_h.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/INPUTS/carbon_h.c?rev=39073&view=auto
==============================================================================
--- cfe/cfe/trunk/INPUTS/carbon_h.c (added)
+++ cfe/cfe/trunk/INPUTS/carbon_h.c Wed Jul 11 11:27:19 2007
@@ -0,0 +1,4 @@
+
+#import <Carbon/Carbon.h>
+
+//#import<vecLib/vecLib.h>
Propchange: cfe/cfe/trunk/INPUTS/carbon_h.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cfe/cfe/trunk/INPUTS/carbon_h.c
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: cfe/cfe/trunk/INPUTS/iostream.cc
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/INPUTS/iostream.cc?rev=39073&view=auto
==============================================================================
--- cfe/cfe/trunk/INPUTS/iostream.cc (added)
+++ cfe/cfe/trunk/INPUTS/iostream.cc Wed Jul 11 11:27:19 2007
@@ -0,0 +1,5 @@
+// clang -I/usr/include/c++/4.0.0 -I/usr/include/c++/4.0.0/powerpc-apple-darwin8 -I/usr/include/c++/4.0.0/backward INPUTS/iostream.cc -Eonly
+
+#include <iostream>
+
+#include <stdint.h>
Propchange: cfe/cfe/trunk/INPUTS/iostream.cc
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cfe/cfe/trunk/INPUTS/iostream.cc
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: cfe/cfe/trunk/INPUTS/macro_pounder_fn.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/INPUTS/macro_pounder_fn.c?rev=39073&view=auto
==============================================================================
--- cfe/cfe/trunk/INPUTS/macro_pounder_fn.c (added)
+++ cfe/cfe/trunk/INPUTS/macro_pounder_fn.c Wed Jul 11 11:27:19 2007
@@ -0,0 +1,17 @@
+
+// This pounds on macro expansion for performance reasons. This is currently
+// heavily constrained by darwin's malloc.
+
+// Function-like macros.
+#define A0(A, B) A B
+#define A1(A, B) A0(A,B) A0(A,B) A0(A,B) A0(A,B) A0(A,B) A0(A,B)
+#define A2(A, B) A1(A,B) A1(A,B) A1(A,B) A1(A,B) A1(A,B) A1(A,B)
+#define A3(A, B) A2(A,B) A2(A,B) A2(A,B) A2(A,B) A2(A,B) A2(A,B)
+#define A4(A, B) A3(A,B) A3(A,B) A3(A,B) A3(A,B) A3(A,B) A3(A,B)
+#define A5(A, B) A4(A,B) A4(A,B) A4(A,B) A4(A,B) A4(A,B) A4(A,B)
+#define A6(A, B) A5(A,B) A5(A,B) A5(A,B) A5(A,B) A5(A,B) A5(A,B)
+#define A7(A, B) A6(A,B) A6(A,B) A6(A,B) A6(A,B) A6(A,B) A6(A,B)
+#define A8(A, B) A7(A,B) A7(A,B) A7(A,B) A7(A,B) A7(A,B) A7(A,B)
+
+A8(a, b)
+
Propchange: cfe/cfe/trunk/INPUTS/macro_pounder_fn.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cfe/cfe/trunk/INPUTS/macro_pounder_fn.c
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: cfe/cfe/trunk/INPUTS/macro_pounder_obj.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/INPUTS/macro_pounder_obj.c?rev=39073&view=auto
==============================================================================
--- cfe/cfe/trunk/INPUTS/macro_pounder_obj.c (added)
+++ cfe/cfe/trunk/INPUTS/macro_pounder_obj.c Wed Jul 11 11:27:19 2007
@@ -0,0 +1,16 @@
+
+// This pounds on macro expansion for performance reasons. This is currently
+// heavily constrained by darwin's malloc.
+
+// Object-like expansions
+#define A0 a b
+#define A1 A0 A0 A0 A0 A0 A0
+#define A2 A1 A1 A1 A1 A1 A1
+#define A3 A2 A2 A2 A2 A2 A2
+#define A4 A3 A3 A3 A3 A3 A3
+#define A5 A4 A4 A4 A4 A4 A4
+#define A6 A5 A5 A5 A5 A5 A5
+#define A7 A6 A6 A6 A6 A6 A6
+#define A8 A7 A7 A7 A7 A7 A7
+
+A8
Propchange: cfe/cfe/trunk/INPUTS/macro_pounder_obj.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cfe/cfe/trunk/INPUTS/macro_pounder_obj.c
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
More information about the cfe-commits
mailing list