| #
3efc6e6f |
| 06-Dec-2009 |
Anders Carlsson <[email protected]> |
Add rudimentary support for member pointers to CGDebugInfo.
llvm-svn: 90711
|
| #
a30e1750 |
| 04-Dec-2009 |
Anders Carlsson <[email protected]> |
Don't emit explicit specializations of static member variable declarations.
llvm-svn: 90624
|
| #
b1d3f7c9 |
| 30-Nov-2009 |
Anders Carlsson <[email protected]> |
Have ASTRecordLayout keep track of the key function, in preparation of fixing a synthetic ctor/dtor bug.
llvm-svn: 90168
|
| #
2c11cd15 |
| 30-Nov-2009 |
Daniel Dunbar <[email protected]> |
Don't try to generate common globals for C++ files, instead of depending on the FE to set NoCommon, and simplify CodeGenOptions initialization.
llvm-svn: 90119
|
| #
84a7e347 |
| 26-Nov-2009 |
Eli Friedman <[email protected]> |
Simplify and fix up the handling of implicit constructors, copy assignment operators, and destructors. Avoids generating declarations/definitions of trivial constructors/destructors, and makes sure
Simplify and fix up the handling of implicit constructors, copy assignment operators, and destructors. Avoids generating declarations/definitions of trivial constructors/destructors, and makes sure the trivial copy assignment operator is generated when necessary.
llvm-svn: 89943
show more ...
|
| #
8a5f75ed |
| 26-Nov-2009 |
Eli Friedman <[email protected]> |
Use new getLinkage() method to correctly compute whether a variable has internal linkage. Fixes PR5433.
llvm-svn: 89931
|
| #
0ade9715 |
| 24-Nov-2009 |
Anders Carlsson <[email protected]> |
Ignore constructor member templates in CodeGenModule::EmitTopLevelDecl.
llvm-svn: 89737
|
| #
e949e6cc |
| 21-Nov-2009 |
Daniel Dunbar <[email protected]> |
Mangler: Lift shouldMangleDeclName predicate out of CXXNameMangler::mangle. - Sometimes we have to mangle things we wouldn't normally (e.g., because they appear in a template expression).
- This a
Mangler: Lift shouldMangleDeclName predicate out of CXXNameMangler::mangle. - Sometimes we have to mangle things we wouldn't normally (e.g., because they appear in a template expression).
- This also tidies up the predicate to be more obvious what is getting mangled.
llvm-svn: 89555
show more ...
|
| #
e128dd18 |
| 21-Nov-2009 |
Daniel Dunbar <[email protected]> |
IRgen: Switch the C++ mangler interfaces to take the SmallVector to write into, instead of requiring clients to make a raw_svector_ostream, which is just an implementation detail.
llvm-svn: 89548
|
| #
ef5d75af |
| 21-Nov-2009 |
Daniel Dunbar <[email protected]> |
Sink free mangle* methods into MangleContext.
llvm-svn: 89547
|
| #
96d5c764 |
| 21-Nov-2009 |
Alexis Hunt <[email protected]> |
Added rudimentary C++0x attribute support. The following attributes are currently supported in C++0x attribute lists (and in GNU ones as well): - align() - semantics believed to be conformant to n30
Added rudimentary C++0x attribute support. 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
show more ...
|
| #
a7a1b7e7 |
| 20-Nov-2009 |
Mike Stump <[email protected]> |
Fixup key function calculations.
llvm-svn: 89412
|
| #
1a139f8f |
| 19-Nov-2009 |
Mike Stump <[email protected]> |
Improve instantiation control for rtti data and allow key functions to instantiate a class. WIP.
llvm-svn: 89289
|
| #
1e9de059 |
| 17-Nov-2009 |
John McCall <[email protected]> |
Skip over shadow using decls during codegen.
llvm-svn: 89079
|
| #
0d82fa66 |
| 16-Nov-2009 |
Anders Carlsson <[email protected]> |
The ssp and sspreq function attributes should only be applied to function definitions, not declarations or calls.
llvm-svn: 88915
|
| #
49ddc5fb |
| 16-Nov-2009 |
Eli Friedman <[email protected]> |
Make GetAddrOfConstantStringFromLiteral return a constant of the correct type. This doesn't have any visible effects at the moment because normally the implicit cast code forces the type to the expec
Make GetAddrOfConstantStringFromLiteral return a constant of the correct type. 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
show more ...
|
| #
bc55fe26 |
| 12-Nov-2009 |
Chandler Carruth <[email protected]> |
Move CompileOptions -> CodeGenOptions, and sink it into the CodeGen library. This resolves the layering violation where CodeGen depended on Frontend.
llvm-svn: 86998
|
| #
cc522d9a |
| 09-Nov-2009 |
Eli Friedman <[email protected]> |
Rearrange function to avoid recursive use-after-free.
llvm-svn: 86516
|
| #
15275e55 |
| 07-Nov-2009 |
Chris Lattner <[email protected]> |
add missing #include
llvm-svn: 86368
|
| #
4127b8ef |
| 05-Nov-2009 |
Fariborz Jahanian <[email protected]> |
Added support for static variables which require initialization before main. Fixes pr5396.
llvm-svn: 86145
|
| #
b7e5c847 |
| 27-Oct-2009 |
Douglas Gregor <[email protected]> |
Implement proper linkage for explicit instantiation declarations of inlined functions. For example, given
template<typename T> class string { unsigned Len;
public: unsigned size() con
Implement proper linkage for explicit instantiation declarations of 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
show more ...
|
| #
583dcafc |
| 27-Oct-2009 |
Douglas Gregor <[email protected]> |
Introduce FunctionDecl::isInlined() to tell whether a function should be inlined.
llvm-svn: 85307
|
| #
35b5753e |
| 27-Oct-2009 |
Douglas Gregor <[email protected]> |
Rename FunctionDecl::isInline/setInline to FunctionDecl::isInlineSpecified/setInlineSpecified.
llvm-svn: 85305
|
| #
29295bff |
| 27-Oct-2009 |
Anders Carlsson <[email protected]> |
Add a PrettyStackTraceDecl in CodeGenModule::EmitGlobalDefinition.
llvm-svn: 85237
|
| #
e0105ad3 |
| 26-Oct-2009 |
Douglas Gregor <[email protected]> |
assert -> llvm_unreachable
llvm-svn: 85125
|