- May 15, 2011
-
-
Anders Carlsson authored
llvm-svn: 131372
-
Anders Carlsson authored
that the destructor body is trivial and that all member variables also have either trivial destructors or trivial destructor bodies, we don't need to initialize the vtable pointers since no virtual member functions will be called on the destructor. Fixes PR9181. llvm-svn: 131368
-
- May 14, 2011
-
-
John McCall authored
send if the receiver is null. Normally it's not worthwhile to check this, but avoiding the null-initialization is nice, and this also avoids nasty problems where the null-initialization is visible within the call because we use an aliased result buffer. rdar://problem/9402992 llvm-svn: 131366
-
John McCall authored
out as "v-table" message sends and stop calling normal messages "legacy" message sends. Also, fix some comments to reveal the true state of affairs. llvm-svn: 131335
-
John McCall authored
and to decrease the amount of effort in appending strings. llvm-svn: 131323
-
Joerg Sonnenberger authored
llvm-svn: 131321
-
- May 13, 2011
-
-
Joerg Sonnenberger authored
mangled to avoid doing it twice for platforms that use prefixes like Darwin. llvm-svn: 131311
-
Bill Wendling authored
llvm-svn: 131300
-
Fariborz Jahanian authored
-fno-constant-cfstrings. Patch by Jonathan Schleifer. llvm-svn: 131298
-
Douglas Gregor authored
constant, also consider whether it's a class type that has any mutable fields. If so, it can't be a global constant. llvm-svn: 131276
-
- May 12, 2011
-
-
Devang Patel authored
s/DW_AT_APPLE_objc_class_extension/DW_AT_APPLE_objc_complete_type/g llvm-svn: 131245
-
Devang Patel authored
llvm-svn: 131242
-
Devang Patel authored
Use DW_AT_APPLE_objc_class_extension attribute to identify interfaces that represent class extension. Radar 9423077. llvm-svn: 131239
-
Bill Wendling authored
(__m128){ p[0], p[1], p[2], p[3] } which produces really bad code. This could be done in instcombine, but it's probably better to do it in the front-end instead. <rdar://problem/9424836> llvm-svn: 131237
-
John McCall authored
llvm-svn: 131215
-
- May 09, 2011
-
-
Alexis Hunt authored
modify the semantics slightly to accomodate default constructors (I hope). llvm-svn: 131087
-
- May 08, 2011
-
-
Anders Carlsson authored
llvm-svn: 131075
-
Anders Carlsson authored
complete destructors for abstract classes unless the destructor is virtual and thus needs to be in the vtable. llvm-svn: 131068
-
Douglas Gregor authored
type, so long as it is known to have a constant initializer and the class type is a POD class. Fixes <rdar://problem/9306265>. llvm-svn: 131060
-
- May 07, 2011
-
-
- May 06, 2011
-
-
Cameron Esfahani authored
llvm-svn: 131019
-
Alexis Hunt authored
- New isDefined() function checks for deletedness - isThisDeclarationADefinition checks for deletedness - New doesThisDeclarationHaveABody() does what isThisDeclarationADefinition() used to do - The IsDeleted bit is not propagated across redeclarations - isDeleted() now checks the canoncial declaration - New isDeletedAsWritten() does what it says on the tin. - isUserProvided() now correct (thanks Richard!) This fixes the bug that we weren't catching void foo() = delete; void foo() {} as being a redefinition. llvm-svn: 131013
-
Eli Friedman authored
Don't emit nsw flags for vector operations; there's basically no benefit, and a lot of downside (like PR9850, which is about clang's xmmintrin.h making an unexpected transformation on an expression involving _mm_add_epi32). llvm-svn: 131000
-
Eli Friedman authored
Add an implementation of thunks for varargs methods. The implementation is a bit messy, but it is correct as long as the method in question doesn't use indirect gotos. A couple of possible alternative implementations are outlined in FIXME's in this patch. rdar://problem/8077308 . llvm-svn: 130993
-
Axel Naumann authored
This enables incremental codegen, where the initializer array can be removed from the module, such that only new initializers will be emitted and run. llvm-svn: 130986
-
Fariborz Jahanian authored
// rdar://9362887 llvm-svn: 130956
-
- May 05, 2011
-
-
Richard Smith authored
llvm-svn: 130953
-
Devang Patel authored
llvm-svn: 130929
-
Nick Lewycky authored
foo.pic.gcno instead of foo.gcno. llvm-svn: 130899
-
- May 04, 2011
-
-
Bill Wendling authored
Ivar offsets for synthesized ivars are wrong, which could end up with a large number of dirty pages because of ivar fixups at runtime. When we pack all of the synthesized ivars into the same section, it limits the number of dirty pages created. Place them in the "__DATA,__objc_ivar" section. <rdar://problem/9374905> llvm-svn: 130870
-
Nick Lewycky authored
llvm-svn: 130866
-
Bill Wendling authored
llvm-svn: 130864
-
Bill Wendling authored
llvm-svn: 130830
-
Alexis Hunt authored
the body of a delegating constructor call. This means that the delegating constructor implementation should be complete and correct, though there are some rough edges (diagnostic quality with the cycle detection and using a deleted destructor). llvm-svn: 130803
-
- May 03, 2011
-
-
Fariborz Jahanian authored
structs. // rdar://8823265 llvm-svn: 130783
-
Alexis Hunt authored
Material bugfixes to come this afternoon. llvm-svn: 130782
-
Devang Patel authored
llvm-svn: 130736
-
Devang Patel authored
Do not try to get mangled name of block helpers. Apply a stopgap measure to fix SingleSource/UnitTests/block-copied-in-cxxobj compile time crash. llvm-svn: 130734
-
- May 02, 2011
-
-
Devang Patel authored
llvm-svn: 130719
-
Eli Friedman authored
Skip extra copy from aggregate where it isn't necessary; rdar://problem/8139919 . This shouldn't make much of a difference at -O3, but should substantially reduce the number of generated memcpy's at -O0. llvm-svn: 130717
-