Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused variable spotted by GCC. | Nick Lewycky | 2011-05-02 | 1 | -2/+1 |
| | | | | | | | | | Devang, can we remove this call entirely? If I try that, "make check" passes but the call has a side-effect of ensuring that the block's context exists in the debug info. getContextDescriptor() is used in a void context for that side- effect elsewhere in this file. Please take a look! llvm-svn: 130679 | ||||
* | Remove dead variable, flagged by gcc's -Wunused-but-set-variable. | Nick Lewycky | 2011-05-02 | 1 | -2/+0 |
| | | | | llvm-svn: 130674 | ||||
* | Remove dead variable flagged by gcc's -Wunused-but-set-variable. No | Nick Lewycky | 2011-05-02 | 1 | -1/+0 |
| | | | | | | functionality change. llvm-svn: 130673 | ||||
* | Remove a dead variable flagged by gcc's -Wunused-but-set-variable. No | Nick Lewycky | 2011-05-02 | 1 | -2/+0 |
| | | | | | | functionality change. llvm-svn: 130672 | ||||
* | Fully implement delegating constructors! | Alexis Hunt | 2011-05-01 | 3 | -4/+39 |
| | | | | | | | | | | As far as I know, this implementation is complete but might be missing a few optimizations. Exceptions and virtual bases are handled correctly. Because I'm an optimist, the web page has appropriately been updated. If I'm wrong, feel free to downgrade its support categories. llvm-svn: 130642 | ||||
* | Implement -fno-dwarf2-cfi-asm. | Rafael Espindola | 2011-04-30 | 1 | -0/+2 |
| | | | | llvm-svn: 130616 | ||||
* | Tie constructor defintion with its declaration using AT_specification. | Devang Patel | 2011-04-29 | 1 | -4/+9 |
| | | | | llvm-svn: 130561 | ||||
* | Add -Oz option and use it to set the inline threshold to 25. | Bob Wilson | 2011-04-29 | 1 | -1/+3 |
| | | | | | | Radar 9333566. Patch by Chad Rosier! llvm-svn: 130554 | ||||
* | removes a meaningless comment. | Fariborz Jahanian | 2011-04-29 | 1 | -3/+1 |
| | | | | llvm-svn: 130550 | ||||
* | block variables on lhs need be ir-gen'ed after the | Fariborz Jahanian | 2011-04-29 | 1 | -1/+18 |
| | | | | | | | | rhs when its 'forwarding' pointer may be modified in rhs evaluation as result of call to Block_copy. // rdar://9309454 llvm-svn: 130545 | ||||
* | Don't crash if the AST doesn't have a sensible ObjC id type. | David Chisnall | 2011-04-29 | 1 | -4/+6 |
| | | | | llvm-svn: 130500 | ||||
* | Fixes debug info generation problem for ms_struct structs. | Fariborz Jahanian | 2011-04-28 | 1 | -1/+14 |
| | | | | | | // rdar://8823265 llvm-svn: 130458 | ||||
* | Cut down unnecessary zero'ing when value-initializing arrays of C++ objects. | Argyrios Kyrtzidis | 2011-04-28 | 2 | -3/+13 |
| | | | | | | | -C++ objects with user-declared constructor don't need zero'ing. -We can zero-initialize arrays of C++ objects in "bulk" now, in which case don't zero-initialize each object again. llvm-svn: 130453 | ||||
* | ms_struct patch for initialization and field access irgen. | Fariborz Jahanian | 2011-04-28 | 1 | -1/+15 |
| | | | | | | // rdar://8823265 - wip. llvm-svn: 130451 | ||||
* | Raise ARM byval minimum size from 32 to 64, addressing a performance | Stuart Hastings | 2011-04-28 | 1 | -1/+1 |
| | | | | | | regression in mason. rdar://problem/7662569 llvm-svn: 130444 | ||||
* | Get the base element type even in multidimensional arrays. | Argyrios Kyrtzidis | 2011-04-28 | 1 | -1/+2 |
| | | | | llvm-svn: 130427 | ||||
* | Replace unitary array with scalar. rdar://problem/7662569 | Stuart Hastings | 2011-04-28 | 1 | -3/+3 |
| | | | | llvm-svn: 130423 | ||||
* | When value-initializing the elements of an array not not included in the ↵ | Argyrios Kyrtzidis | 2011-04-28 | 1 | -1/+9 |
| | | | | | | | | | | initializer make sure that a non-trivial C++ constructor gets called. Fixes rdar://9347552 & http://llvm.org/PR9801 llvm-svn: 130421 | ||||
* | Replace SmallVector with an array, as suggested by Frits van Bommel. ↵ | Stuart Hastings | 2011-04-28 | 1 | -13/+6 |
| | | | | | | rdar://problem/7662569 llvm-svn: 130417 | ||||
* | When block-capturing a variable with a non-trivial destructor, | John McCall | 2011-04-28 | 1 | -0/+1 |
| | | | | | | | | | | make sure to mark the destructor. This normally isn't required, because the destructor should have been marked as part of the declaration of the local, but it's necessary when the variable is a parameter because it's the call sites that are responsible for those destructors. llvm-svn: 130372 | ||||
* | Parsing/AST support for Structured Exception Handling | John Wiegley | 2011-04-28 | 1 | -0/+4 |
| | | | | | | | | Patch authored by Sohail Somani. Provide parsing and AST support for Windows structured exception handling. llvm-svn: 130366 | ||||
* | Implementation of Embarcadero array type traits | John Wiegley | 2011-04-28 | 1 | -0/+4 |
| | | | | | | | | | | Patch authored by John Wiegley. These are array type traits used for parsing code that employs certain features of the Embarcadero C++ compiler: __array_rank(T) and __array_extent(T, Dim). llvm-svn: 130351 | ||||
* | Re-enable byval for ARM in clang. rdar://problem/7662569 | Stuart Hastings | 2011-04-27 | 1 | -11/+22 |
| | | | | llvm-svn: 130312 | ||||
* | Some refactoring of my ms_struct patch. | Fariborz Jahanian | 2011-04-27 | 1 | -7/+2 |
| | | | | | | // rdar://8823265 related. llvm-svn: 130311 | ||||
* | When compiling with -fno-threadsafe-statics, guard variables for globals ↵ | Anders Carlsson | 2011-04-27 | 1 | -5/+13 |
| | | | | | | with internal linkage don't have to be i64, i8 works just fine! llvm-svn: 130286 | ||||
* | With ms_struct attribut, Zero-length bitfields following | Fariborz Jahanian | 2011-04-26 | 1 | -4/+42 |
| | | | | | | non-bitfield members are ignore. // rdar://8823265 wip llvm-svn: 130257 | ||||
* | We need pointer size in bits here. | Devang Patel | 2011-04-26 | 1 | -1/+1 |
| | | | | llvm-svn: 130244 | ||||
* | Make yet another placeholder type, this one marking that an expression is a ↵ | John McCall | 2011-04-26 | 3 | -7/+8 |
| | | | | | | | | | | | bound member function, i.e. something of the form 'x.f' where 'f' is a non-static member function. Diagnose this in the general case. Some of the new diagnostics are probably worse than the old ones, but we now get this right much more universally, and there's certainly room for improvement in the diagnostics. llvm-svn: 130239 | ||||
* | IRgen/Darwin: Fix refacto introduced in Triple changes. | Daniel Dunbar | 2011-04-26 | 1 | -1/+1 |
| | | | | llvm-svn: 130233 | ||||
* | Temporarily revert r130176, it appears to have broken a few tests. | Eric Christopher | 2011-04-26 | 1 | -22/+11 |
| | | | | llvm-svn: 130179 | ||||
* | Emit intrinsic at current insert point, not at the end of current block. | Devang Patel | 2011-04-25 | 1 | -1/+1 |
| | | | | llvm-svn: 130177 | ||||
* | Turn on byval parameters in Clang for ARM APCS. rdar://problem/7662569 | Stuart Hastings | 2011-04-25 | 1 | -11/+22 |
| | | | | llvm-svn: 130176 | ||||
* | Simplify. There is no need to have a method to just call another method. | Devang Patel | 2011-04-25 | 2 | -26/+14 |
| | | | | llvm-svn: 130175 | ||||
* | Generalize case for built-in expressions having | Fariborz Jahanian | 2011-04-25 | 1 | -11/+4 |
| | | | | | | | side-effect to generate their ir. Not just for __builtin_expect. // rdar://9330105 llvm-svn: 130172 | ||||
* | Ir-gen the side-effect(s) when __builtin_expect is | Fariborz Jahanian | 2011-04-25 | 1 | -0/+9 |
| | | | | | | constant-folded. // rdar://9330105 llvm-svn: 130163 | ||||
* | t/clang/expr-traits | John Wiegley | 2011-04-25 | 1 | -0/+4 |
| | | | | | | | | | Patch authored by David Abrahams. These two expression traits (__is_lvalue_expr, __is_rvalue_expr) are used for parsing code that employs certain features of the Embarcadero C++ compiler. llvm-svn: 130122 | ||||
* | Convert size and alignment variables to CharUnits in EmitAggregateCopy(). No | Ken Dyck | 2011-04-24 | 1 | -7/+10 |
| | | | | | | change in functionality intended. llvm-svn: 130113 | ||||
* | Convert type size and alignment to CharUnits in CheckAggExprForMemSetUse(). | Ken Dyck | 2011-04-24 | 1 | -8/+9 |
| | | | | | | No change in functionality intended. llvm-svn: 130112 | ||||
* | Convert the return type of GetNumNonZeroBytesInInit() to CharUnits. No | Ken Dyck | 2011-04-24 | 1 | -7/+8 |
| | | | | | | change in functionality intended. llvm-svn: 130111 | ||||
* | Eliminate some literal 8s by converting size variables in EmitGCMove() and | Ken Dyck | 2011-04-24 | 1 | -4/+4 |
| | | | | | | EmitFinalDestCopy() to CharUnits. No change in functionality intended. llvm-svn: 130110 | ||||
* | Replace calls to ASTContext::getTypeInfo() with calls to | Ken Dyck | 2011-04-24 | 1 | -6/+2 |
| | | | | | | | ASTContext::getTypeSize() when only the size part is used. No change in functionality intended. llvm-svn: 130109 | ||||
* | Simplify AppendTailPadding() by converting its parameter to CharUnits. No | Ken Dyck | 2011-04-24 | 1 | -11/+7 |
| | | | | | | change in functionality intended. llvm-svn: 130108 | ||||
* | Eliminate literal 8s from LayoutUnionField by converting NumBytesToAppend to | Ken Dyck | 2011-04-24 | 1 | -4/+5 |
| | | | | | | CharUnits. No change in functionality intended. llvm-svn: 130107 | ||||
* | Eliminate literal 8s from LayoutBitField(), converting variables to | Ken Dyck | 2011-04-24 | 1 | -10/+16 |
| | | | | | | | CharUnits or replacing the 8s with char align. No change in functionality intended. llvm-svn: 130106 | ||||
* | Convert AccessInfo::AccessAlignment to CharUnits. No change in functionality | Ken Dyck | 2011-04-24 | 3 | -9/+10 |
| | | | | | | intended. llvm-svn: 130087 | ||||
* | PR9214: Convert the DIBuilder API to use ArrayRef. | Jay Foad | 2011-04-24 | 1 | -29/+17 |
| | | | | llvm-svn: 130086 | ||||
* | Convert CGBitFieldInfo::FieldByteOffset to CharUnits. No change in | Ken Dyck | 2011-04-24 | 3 | -9/+13 |
| | | | | | | functionality intended. llvm-svn: 130085 | ||||
* | Remove unused STL header includes. | Jay Foad | 2011-04-23 | 2 | -2/+0 |
| | | | | llvm-svn: 130068 | ||||
* | Tie debug information for method declaration with debug information for ↵ | Devang Patel | 2011-04-23 | 2 | -3/+32 |
| | | | | | | method definition. llvm-svn: 130037 | ||||
* | Add -fdelayed-template-parsing option. Using this option all templated ↵ | Francois Pichet | 2011-04-22 | 1 | -2/+6 |
| | | | | | | | | | 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 |