- Nov 21, 2009
-
-
Daniel Dunbar authored
instead of requiring clients to make a raw_svector_ostream, which is just an implementation detail. llvm-svn: 89548
-
Daniel Dunbar authored
llvm-svn: 89547
-
Alexis Hunt authored
The following attributes are currently supported in C++0x attribute lists (and in GNU ones as well): - align() - semantics believed to be conformant to n3000, except for redeclarations and what entities it may apply to - final - semantics believed to be conformant to CWG issue 817's proposed wording, except for redeclarations - noreturn - semantics believed to be conformant to n3000, except for redeclarations - carries_dependency - currently ignored (this is an optimization hint) llvm-svn: 89543
-
- Nov 20, 2009
-
-
Mike Stump authored
llvm-svn: 89412
-
- Nov 19, 2009
-
-
Mike Stump authored
instantiate a class. WIP. llvm-svn: 89289
-
- Nov 17, 2009
-
-
John McCall authored
llvm-svn: 89079
-
- Nov 16, 2009
-
-
Anders Carlsson authored
The ssp and sspreq function attributes should only be applied to function definitions, not declarations or calls. llvm-svn: 88915
-
Eli Friedman authored
This doesn't have any visible effects at the moment because normally the implicit cast code forces the type to the expected type. llvm-svn: 88896
-
- Nov 12, 2009
-
-
Chandler Carruth authored
This resolves the layering violation where CodeGen depended on Frontend. llvm-svn: 86998
-
- Nov 09, 2009
-
-
Eli Friedman authored
llvm-svn: 86516
-
- Nov 07, 2009
-
-
Chris Lattner authored
llvm-svn: 86368
-
- Nov 05, 2009
-
-
Fariborz Jahanian authored
initialization before main. Fixes pr5396. llvm-svn: 86145
-
- Oct 28, 2009
-
-
Douglas Gregor authored
inlined functions. For example, given template<typename T> class string { unsigned Len; public: unsigned size() const { return Len; } }; extern template class string<char>; we now give the instantiation of string<char>::size available_externally linkage (if it is ever instantiated!), as permitted by the C++0x standard. llvm-svn: 85340
-
- Oct 27, 2009
-
-
Douglas Gregor authored
be inlined. llvm-svn: 85307
-
Douglas Gregor authored
FunctionDecl::isInlineSpecified/setInlineSpecified. llvm-svn: 85305
-
Anders Carlsson authored
llvm-svn: 85237
-
- Oct 26, 2009
-
-
Douglas Gregor authored
llvm-svn: 85125
-
- Oct 18, 2009
-
-
Daniel Dunbar authored
llvm-svn: 84436
-
- Oct 14, 2009
-
-
Douglas Gregor authored
llvm-svn: 84142
-
Douglas Gregor authored
class templates the proper linkage. Daniel, please look over the CodeGenModule bits. llvm-svn: 84140
-
Devang Patel authored
llvm-svn: 84114
-
Chris Lattner authored
1) -fwritable-string does affect the non-utf16 version of cfstrings just not the utf16 ones. 2) utf16 strings should always be marked constant, as the __TEXT segment is readonly. 3) The name of the global doesn't matter, remove it from TargetInfo. 4) Trust the asmprinter to drop cstrings into the right section, like llvmgcc does now. This fixes rdar://7115750 llvm-svn: 84077
-
Chris Lattner authored
llvm-svn: 84075
-
Devang Patel authored
llvm-svn: 84050
-
- Oct 13, 2009
-
-
Devang Patel authored
llvm-svn: 83979
-
Devang Patel authored
Let replaceAllUsesWith() adjust VHs even though there are no uses. llvm-svn: 83978
-
Benjamin Kramer authored
llvm-svn: 83964
-
- Oct 12, 2009
-
-
Anders Carlsson authored
llvm-svn: 83798
-
- Oct 08, 2009
-
-
Anders Carlsson authored
If a global initializer has a non-trivial constructor or destructor, we never want to defer generation of it, even if it is declared static. With this change we're finally able to compile and run the (infamous) #include <string> #include <iostream> int main(int argc, char **argv) { std::cout << "Hello, World" << std::endl; } $ clang hello.cpp -lstdc++ -o hello $ ./hello Hello, World llvm-svn: 83559
-
- Oct 07, 2009
-
-
Anders Carlsson authored
Add a MangleContext and pass it to all mangle functions. It will be used for keeping state, such as identifiers assigned to anonymous structs as well as scope encoding. llvm-svn: 83442
-
- Oct 06, 2009
-
-
Mike Stump authored
llvm-svn: 83342
-
Mike Stump authored
llvm-svn: 83337
-
- Oct 05, 2009
-
-
Mike Stump authored
llvm-svn: 83328
-
Benjamin Kramer authored
llvm-svn: 83303
-
- Oct 01, 2009
-
-
John McCall authored
apparently because using directives aren't quite working correctly. llvm-svn: 83184
-
- Sep 23, 2009
-
-
Anders Carlsson authored
llvm-svn: 82644
-
- Sep 22, 2009
-
-
Daniel Dunbar authored
Revert "Switch a few clients over to StringLiteral::getString.", this is breaking some projects, but I don't have a test case yet. llvm-svn: 82539
-
Daniel Dunbar authored
- Switching all of them out-of-my-current-scope-of-interest, sorry. llvm-svn: 82515
-
John McCall authored
Several of the existing methods were identical to their respective specializations, and so have been removed entirely. Several more 'leaf' optimizations were introduced. The getAsFoo() methods which imposed extra conditions, like getAsObjCInterfacePointerType(), have been left in place. llvm-svn: 82501
-
- Sep 14, 2009
-
-
Daniel Dunbar authored
The decl wasn't being passed down, which meant that function attributes were not being set correctly. This is particularly important for ARM, since it wants to override the calling convention. Instead we would emit the builtin with the wrong calling convention, and instcombine would come along and merrily shred all the calls to it. :) llvm-svn: 81756
-