- Apr 23, 2011
-
-
Francois Pichet authored
Add -fdelayed-template-parsing option. Using this option all templated function definitions are parsed at the end of the translation unit only if it is required by an actual instantiation. As such all the symbols of the TU are available during name lookup. Using this flag is necessary for compatibility with Microsoft template code. This also provides some parsing speed improvement. llvm-svn: 130022
-
Fariborz Jahanian authored
ObjC NeXt runtime where method pointer registered in metadata belongs to an unrelated method. Ast part of this fix, I turned at @end missing warning (for class implementations) into an error as we can never be sure that meta-data being generated is correct. // rdar://9072317 llvm-svn: 130019
-
- Apr 22, 2011
-
-
Ken Dyck authored
functionality intended. llvm-svn: 130002
-
Ken Dyck authored
variables to CharUnits. No change in functionality intended. llvm-svn: 130001
-
Ken Dyck authored
change in functionality intended. llvm-svn: 129999
-
Ken Dyck authored
EmitTypeForVarWithBlocksAttr(). No change in functionality intended. llvm-svn: 129998
-
Ken Dyck authored
functionality intended. llvm-svn: 129996
-
Justin Holewinski authored
llvm-svn: 129987
-
Nick Lewycky authored
compile time) and .gcda emission (at runtime). --coverage enables both. This does not yet add the profile_rt library to the link step if -fprofile-arcs is enabled when linking. llvm-svn: 129956
-
- Apr 21, 2011
-
-
Jay Foad authored
llvm-svn: 129929
-
John McCall authored
of which break strict compatibility with previous compilers. Implement one of them and then immediately opt out on Darwin. llvm-svn: 129899
-
Argyrios Kyrtzidis authored
double data[20000000] = {0}; we would blow out the memory by creating 20M Exprs to fill out the initializer. To fix this, if the initializer list initializes an array with more elements than there are initializers in the list, have InitListExpr store a single 'ArrayFiller' expression that specifies an expression to be used for value initialization of the rest of the elements. Fixes rdar://9275920. llvm-svn: 129896
-
Anders Carlsson authored
llvm-svn: 129894
-
Chris Lattner authored
llvm-svn: 129892
-
- Apr 20, 2011
-
-
Daniel Dunbar authored
were computing the conversion as (ptr != 0 && non-virtual), when it should be (ptr != 0 || is-virtual). - Test to follow in LLVM test-suite. llvm-svn: 129830
-
Chris Lattner authored
llvm-svn: 129829
-
- Apr 19, 2011
-
-
Daniel Dunbar authored
llvm-svn: 129823
-
Chris Lattner authored
redundancy pointed out by John. llvm-svn: 129808
-
- Apr 18, 2011
-
-
Devang Patel authored
llvm-svn: 129703
-
Anders Carlsson authored
llvm-svn: 129698
-
Anders Carlsson authored
llvm-svn: 129682
-
Chris Lattner authored
it down. we effectively were compile the testcase into: void test14(int x) { switch (x) { case 11: break; case 42: test14(97); // fallthrough default: test14(42); break; which is not the same thing at all. This fixes a miscompilation of MallocBench/gs seen on the clang-x86_64-linux-fnt buildbot. llvm-svn: 129679
-
- Apr 17, 2011
-
-
Anders Carlsson authored
turns out that a field or base needs to be laid out in the tail padding of the base, CGRecordLayoutBuilder::ResizeLastBaseFieldIfNecessary will convert it to an array of i8. I've audited the new test results to make sure that they are still valid. I've also verified that we pass a self-host with this change. This (finally) fixes PR5589! llvm-svn: 129673
-
Anders Carlsson authored
llvm-svn: 129671
-
Anders Carlsson authored
llvm-svn: 129669
-
Anders Carlsson authored
Use a SmallVector for field types in CGRecordLayoutBuilder now that llvm::StructType::get takes an ArrayRef. llvm-svn: 129667
-
Eli Friedman authored
properly. llvm-svn: 129657
-
-
Chris Lattner authored
are trivial. This exposes opportunities earlier, and allows fastisel to do good things with these at -O0. This addresses rdar://9289468 - clang doesn't fold memset_chk at -O0 llvm-svn: 129651
-
rdar://9289603Chris Lattner authored
fix rdar://9289603 - clang should fold trivial ?: for enums as well as integer constants into select at -O0 by making the isCheapEnoughToEvaluateUnconditionally predicate handle anything that folds to a constant. In particular, we now fold enums. llvm-svn: 129649
-
- Apr 16, 2011
-
-
Devang Patel authored
llvm-svn: 129626
-
Devang Patel authored
llvm-svn: 129625
-
- Apr 15, 2011
-
-
Michael J. Spencer authored
llvm-svn: 129570
-
Richard Smith authored
llvm-svn: 129567
-
Chris Lattner authored
Luis Felipe Strano Moraes! llvm-svn: 129559
-
Peter Collingbourne authored
As an extension, generic selection support has been added for all supported languages. The syntax is the same as for C1X. llvm-svn: 129554
-
Richard Smith authored
llvm-svn: 129541
-
- Apr 14, 2011
-
-
Anton Korobeynikov authored
AAPCS+VFP), similar to fastcall / stdcall / whatevercall seen on x86. In particular, all library functions should always be AAPCS regardless of floating point ABI used. llvm-svn: 129534
-
Ken Dyck authored
functionality intended. llvm-svn: 129496
-
Ken Dyck authored
in functionality intended. llvm-svn: 129491
-