- Feb 11, 2010
-
-
Douglas Gregor authored
Decl subclasses. No functionality change. llvm-svn: 95841
-
Douglas Gregor authored
and CXXRecordDecl::getDefinition(); it's totally unnecessary. No functionality change. llvm-svn: 95836
-
Fariborz Jahanian authored
a __weak block. Fixes radar 7628591. llvm-svn: 95822
-
- Feb 10, 2010
-
-
Chris Lattner authored
llvm-svn: 95812
-
Daniel Dunbar authored
calls to the UnwindResumeOrRethrow function for C++/Obj-C exception handling, for Darwin ARM. llvm-svn: 95787
-
Devang Patel authored
llvm-svn: 95786
-
Devang Patel authored
llvm-svn: 95743
-
- Feb 09, 2010
-
-
Benjamin Kramer authored
This maybe fixes some of the errors GCC 4.5 gives on this code. llvm-svn: 95684
-
Devang Patel authored
llvm-svn: 95678
-
Devang Patel authored
llvm-svn: 95673
-
Daniel Dunbar authored
IRgen: Add CreateMemTemp, for creating an temporary memory object for a particular type, and flood fill. - CreateMemTemp sets the alignment on the alloca correctly, which fixes a great many places in IRgen where we were doing the wrong thing. - This fixes many many more places than the test case, but my feeling is we need to audit alignment systematically so I'm not inclined to try hard to test the individual fixes in this patch. If this bothers you, patches welcome! PR6240. llvm-svn: 95648
-
Jakob Stoklund Olesen authored
At the moment the inlinehint attribute is ignored by the Inliner unless you pass a -respect-inlinehint option. This will soon be the default. The inlinehint attribute is set if the inline keyword is explicitly specified on any declaration. llvm-svn: 95623
-
- Feb 08, 2010
-
-
Daniel Dunbar authored
element type always matched the converted LLVM type for ExprType. llvm-svn: 95596
-
John McCall authored
The standard actually says that such references should have internal linkage, but gcc doesn't do that, so we probably can't get away with it. llvm-svn: 95577
-
- Feb 07, 2010
-
-
Anders Carlsson authored
llvm-svn: 95525
-
Anders Carlsson authored
llvm-svn: 95524
-
Anders Carlsson authored
llvm-svn: 95512
-
Anders Carlsson authored
(This is kind of a risky change, but I did a self-host build and everything appears to work fine!) llvm-svn: 95511
-
Anders Carlsson authored
llvm-svn: 95509
-
Anders Carlsson authored
Daniel, I'd appreciate a review of the driver/cc1 parts. llvm-svn: 95508
-
- Feb 06, 2010
-
-
Anders Carlsson authored
llvm-svn: 95502
-
Anders Carlsson authored
If a constructor throws an exception we need to execute the destructors for all fully constructed members. Fixes ctor_dtor_count.cpp in the test suite. llvm-svn: 95501
-
Douglas Gregor authored
over to VarDecl::isThisDeclarationADefinition(), which handles variables declared with linkage specifications better (among other things). CMake 2.9 (from CVS) now builds with clang++ and is somewhat functional. llvm-svn: 95486
-
Anders Carlsson authored
Only append 'L' for internal variable declarations, not all declarations. (Found by the mangle checker, yay) llvm-svn: 95485
-
Ted Kremenek authored
llvm-svn: 95476
-
Anders Carlsson authored
llvm-svn: 95474
-
Douglas Gregor authored
crashing unceremoniously. llvm-svn: 95464
-
John McCall authored
taken for non-trivial constructors. llvm-svn: 95457
-
- Feb 05, 2010
-
-
John McCall authored
follows (as conservatively as possible) gcc's current behavior: attributes written on return types that don't apply there are applied to the function instead, etc. Only parse CC attributes as type attributes, not as decl attributes; don't accepet noreturn as a decl attribute on ValueDecls, either (it still needs to apply to other decls, like blocks). Consistently consume CC/noreturn information throughout codegen; enforce this by removing their default values in CodeGenTypes::getFunctionInfo(). llvm-svn: 95436
-
Douglas Gregor authored
llvm-svn: 95430
-
Douglas Gregor authored
llvm-svn: 95427
-
Daniel Dunbar authored
llvm-svn: 95423
-
Daniel Dunbar authored
llvm-svn: 95416
-
Fariborz Jahanian authored
(Fixes radar 7609722). llvm-svn: 95406
-
Daniel Dunbar authored
conceptually correct. Review appreciated (Chris, Eli, Anders). llvm-svn: 95401
-
Anders Carlsson authored
llvm-svn: 95400
-
Charles Davis authored
getting the calling convention from the target function, which may or may not exist. Fixes PR5280. llvm-svn: 95399
-
Daniel Dunbar authored
need to deal with aggregates specially; this is consistent with the rest of IRgen. Also, simplify EmitParmDecl and don't worry about using Decl::getNameAsString. llvm-svn: 95393
-
Douglas Gregor authored
llvm-svn: 95389
-
Anders Carlsson authored
llvm-svn: 95377
-