- Jun 20, 2012
-
-
James Dennett authored
llvm-svn: 158778
-
- Jun 19, 2012
-
-
Fariborz Jahanian authored
initializer need be null initialized before initializer takes hold, just like any other initialized retainable object pointer. // rdar://11016025 llvm-svn: 158738
-
Rafael Espindola authored
option. On the driver, check if we are using libraries from gcc 4.7 or newer and if so pass -fuse-init-array to the frontend. The crtbegin*.o files in gcc 4.7 no longer call the constructors listed in .ctors, so we have to use .init_array. llvm-svn: 158694
-
- Jun 18, 2012
-
-
Michael J. Spencer authored
__forceinline is a combination of the inline keyword and __attribute__((always_inline)) llvm-svn: 158653
-
- Jun 16, 2012
-
-
Eli Friedman authored
Fix Sema and IRGen for atomic compound assignment so it has the right semantics when promotions are involved. (As far as I can tell, this only affects some edge cases.) llvm-svn: 158591
-
Eli Friedman authored
Make the ".*" operator work correctly when the base is a prvalue and the field has a non-trivial copy constructor. PR13097. llvm-svn: 158578
-
James Dennett authored
* Escaped Objective-C @keywords in Doxygen comments; * Documented more accurate \params; * Exposed some more summaries using \brief. llvm-svn: 158559
-
- Jun 15, 2012
-
-
James Dennett authored
llvm-svn: 158511
-
James Dennett authored
llvm-svn: 158501
-
John McCall authored
semantics of a ctor/dtor function-try-block catch handler by pushing a normal cleanup is not just overkill but actually actively wrong when the handler contains an explicit return (which is only legal in a dtor). Just emit the rethrow as ordinary code at the fallthrough point. Fixes PR13102. llvm-svn: 158488
-
- Jun 14, 2012
-
-
James Dennett authored
This reduces the number of warnings generated by Doxygen by about 100 (roughly 10%). Issues addressed: (1) Primarily, backslash-escaped "@foo" and "#bah" in Doxygen comments when they're not supposed to be Doxygen commands or links, and similarly for "<baz>" when it's not intended as as HTML tag; (2) Changed some \t commands (which don't exist) to \c ("to refer to a word of code", as the Doxygen manual says); (3) \precondition becomes \pre; (4) When touching comments, deleted a couple of spurious spaces in them; (5) Changed some \n and \r to \\n and \\r; (6) Fixed one tiny typo: #pragms -> #pragma. This patch touches documentation/comments only. llvm-svn: 158422
-
- Jun 12, 2012
-
-
Bill Wendling authored
llvm-svn: 158353
-
- Jun 11, 2012
-
-
Chad Rosier authored
assembly is completely untested and unsupported. llvm-svn: 158329
-
Chad Rosier authored
llvm-svn: 158325
-
James Dennett authored
such as "protocol" and "expression" being implicitly turned into links to mistakenly-generated Doxygen pages: - Escaping @ symbols when Doxygen would otherwise incorrectly interpret them; - Escaping # symbols when they're not intended as explicit Doxygen link requests, such as when discussing preprocessor directives; - In one odd case, unescaping @ in @__experimental_modules_import, because Doxygen wrote '\@' to the output in that case, causing the example in the description of ImportDecl to be wrong; and - Fixing a typo: @breif -> @brief. llvm-svn: 158299
-
- Jun 10, 2012
-
-
Richard Smith authored
initialization, and use that information to produce the right kind of initialization during template instantiation. llvm-svn: 158288
-
- Jun 09, 2012
-
-
Michael J. Spencer authored
While this code is valid C++98, it is not valid C++11. The problem can be reduced to: class MDNode; class DIType { operator MDNode*() const {return 0;} }; class WeakVH { WeakVH(MDNode*) {} }; int main() { DIType di; std::pair<void*, WeakVH> p(std::make_pair((void*)0, di))); } This was not detected by any of the bots we have because they either compile C++98 with libstdc++ (which allows it), or C++11 with libc++ (which incorrectly allows it). I ran into the problem when compiling with VS 2012 RC. Thanks to Richard for explaining the issue. llvm-svn: 158245
-
- Jun 07, 2012
-
-
Fariborz Jahanian authored
// rdar://11485774 llvm-svn: 158157
-
Fariborz Jahanian authored
sure to emit vla size to prevent an irgen crash. // rdar://11485774 llvm-svn: 158153
-
Benjamin Kramer authored
The integral APSInt value is now stored in a decomposed form and the backing store for large values is allocated via the ASTContext. This way its not leaked as TemplateArguments are never destructed when they are allocated in the ASTContext. Since the integral data is immutable it is now shared between instances, making copying TemplateArguments a trivial operation. Currently getting the integral data out of a TemplateArgument requires creating a new APSInt object. This is cheap when the value is small but can be expensive if it's not. If this turns out to be an issue a more efficient accessor could be added. llvm-svn: 158150
-
Fariborz Jahanian authored
llvm-svn: 158119
-
Fariborz Jahanian authored
to emit vla size to prevent an irgen crash. // rdar://11485774 llvm-svn: 158117
-
- Jun 06, 2012
-
-
David Blaikie authored
In addition, I've made the pointer and reference typedef 'void' rather than T* just so they can't get misused. I would've omitted them entirely but std::distance likes them to be there even if it doesn't use them. This rolls back r155808 and r155869. Review by Doug Gregor incorporating feedback from Chandler Carruth. llvm-svn: 158104
-
Benjamin Kramer authored
llvm-svn: 158086
-
- Jun 05, 2012
-
-
-
Eric Christopher authored
As the failing testcase has been fixed. This reverts commit 0637f407e6ee7fdccde17fbf9a5fcc4853187b3e. llvm-svn: 158009
-
John McCall authored
This reverts r157970, which was not passing on clang-x86_64-darwin10-nobootstrap-RA llvm-svn: 157983
-
Eric Christopher authored
not much reason to emit for constructors and destructors that aren't user defined. rdar://11593099 llvm-svn: 157970
-
- Jun 01, 2012
-
-
Eric Christopher authored
Part of rdar://11570854 llvm-svn: 157787
-
- May 29, 2012
-
-
Fariborz Jahanian authored
getter result type is safe but does not match with property type resulting in spurious warning followed by crash in IRGen. // rdar://11515196 llvm-svn: 157641
-
Peter Collingbourne authored
the operands are vectors of doubles. llvm-svn: 157596
-
- May 28, 2012
-
-
Chris Lattner authored
llvm-svn: 157557
-
- May 25, 2012
-
-
Nuno Lopes authored
add test case for C++ codegen llvm-svn: 157500
-
Nuno Lopes authored
llvm-svn: 157483
-
- May 24, 2012
-
-
Justin Holewinski authored
NV_CONTRIB llvm-svn: 157403
-
- May 23, 2012
-
-
Richard Smith authored
pointer, but such folding encounters side-effects, ignore the side-effects rather than performing them at runtime: CodeGen generates wrong code for __builtin_object_size in that case. llvm-svn: 157310
-
Eric Christopher authored
Part of rdar://11496790 llvm-svn: 157304
-
- May 22, 2012
-
-
Nuno Lopes authored
llvm-svn: 157262
-
Nuno Lopes authored
llvm-svn: 157256
-
Eric Christopher authored
however, the range can be unknown for the upper bound. Testcase to follow. Part of rdar://11457152 llvm-svn: 157212
-