- May 14, 2010
-
-
Chris Lattner authored
declarator is incorrect. Not being a typename causes the parser to dive down into the K&R identifier list handling stuff, which is almost never the right thing to do. Before: r.c:3:17: error: expected ')' void bar(intptr y); ^ r.c:3:9: note: to match this '(' void bar(intptr y); ^ r.c:3:10: error: a parameter list without types is only allowed in a function definition void bar(intptr y); ^ After: r.c:3:10: error: unknown type name 'intptr'; did you mean 'intptr_t'? void bar(intptr y); ^~~~~~ intptr_t r.c:1:13: note: 'intptr_t' declared here typedef int intptr_t; ^ This fixes rdar://7980651 - poor recovery for bad type in the first arg of a C function llvm-svn: 103783
-
Chris Lattner authored
llvm-svn: 103782
-
Chris Lattner authored
identifier in the identifier list consumed before it is called. No functionality change. llvm-svn: 103781
-
Abramo Bagnara authored
llvm-svn: 103780
-
Devang Patel authored
Providing linkage name for function static variable confuses gdb, so don't do that. llvm-svn: 103779
-
Dan Gohman authored
llvm-svn: 103778
-
Dan Gohman authored
control barriers, not memory ordering barriers. llvm-svn: 103777
-
Dan Gohman authored
llvm-svn: 103776
-
Daniel Dunbar authored
types.", it is breaking Clang bootstrap. llvm-svn: 103775
-
Dan Gohman authored
isn't doing lazy streaming. This also fixes a missing doFinalization call. llvm-svn: 103774
-
Dan Gohman authored
FunctionPassManager or regular PassManager. llvm-svn: 103773
-
Dan Gohman authored
subgraph views. llvm-svn: 103772
-
Anders Carlsson authored
llvm-svn: 103771
-
Abramo Bagnara authored
llvm-svn: 103770
-
Daniel Dunbar authored
-filetype=obj test, and -filetype=obj leaks a few objects. Added a FIXME, we need to sort out the ownership model for the various MC objects. llvm-svn: 103769
-
Evan Cheng authored
Get rid of the bit twiddling to read / set OpActions and ValueTypeActions. The small saving in memory isn't worth the increase in runtime and code complexity in my opinion. llvm-svn: 103768
-
Douglas Gregor authored
llvm-svn: 103767
-
Douglas Gregor authored
scopes during unqualified name lookup that has fallen out to namespace scope. Fixes PR7133. llvm-svn: 103766
-
Daniel Dunbar authored
- This is a hack, but I can't decide the best place to handle this. Chris? llvm-svn: 103765
-
Jakob Stoklund Olesen authored
llvm-svn: 103764
-
Douglas Gregor authored
function's definition is an out-of-class definition marked "inline". Fixes an assertion in WebKit. llvm-svn: 103763
-
Daniel Dunbar authored
llvm-svn: 103762
-
Daniel Dunbar authored
llvm-svn: 103761
-
Evan Cheng authored
llvm-svn: 103760
-
Daniel Dunbar authored
- How else will we figure out what is broken, eh? llvm-svn: 103759
-
Daniel Dunbar authored
llvm-svn: 103758
-
Eric Christopher authored
Nothing uses this yet. llvm-svn: 103757
-
Eric Christopher authored
llvm-svn: 103756
-
Nick Lewycky authored
llvm-svn: 103755
-
Daniel Dunbar authored
- The eliminates the last major algorithmic problem with MC. llvm-svn: 103754
-
Daniel Dunbar authored
MC: Extend MCAsmLayout to explicitly track which fragments have been layed out, and enforce several invariants to LayoutFragment to ensure we only do layout in a sensible order. llvm-svn: 103753
-
Daniel Dunbar authored
llvm-svn: 103752
-
Daniel Dunbar authored
llvm-svn: 103751
-
Daniel Dunbar authored
Also, elimminate MCAsmLayout::set*, which are no longer needed. llvm-svn: 103750
-
Evan Cheng authored
llvm-svn: 103749
-
Jakob Stoklund Olesen authored
llvm-svn: 103748
-
Jakob Stoklund Olesen authored
This loop is quadratic in the capacity for a DenseMap: while(!map.empty()) map.erase(map.begin()); Instead we now do a normal begin() - end() iteration followed by map.clear(). That also has the nice sideeffect of shrinking the map capacity on demand. llvm-svn: 103747
-
Evan Cheng authored
Adding a v8i64 512-bit vector type. This will be used to model ARM NEON intrinsics which translate into a pair of vld / vst instructions that can load / store 8 consecutive 64-bit (D) registers. llvm-svn: 103746
-
Devang Patel authored
This fixes bunch of failures in gdb testsuite. llvm-svn: 103745
-
Dale Johannesen authored
one was subject to double rounding in extreme cases. llvm-svn: 103744
-