History log of /llvm-project/clang/lib/CodeGen/CodeGenModule.cpp (Results 1801 – 1825 of 2157)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e949e6cc 21-Nov-2009 Daniel Dunbar <daniel@zuster.org>

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 <daniel@zuster.org>

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 <daniel@zuster.org>

Sink free mangle* methods into MangleContext.

llvm-svn: 89547


# 96d5c764 21-Nov-2009 Alexis Hunt <alercah@gmail.com>

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 <mrs@apple.com>

Fixup key function calculations.

llvm-svn: 89412


# 1a139f8f 19-Nov-2009 Mike Stump <mrs@apple.com>

Improve instantiation control for rtti data and allow key functions to
instantiate a class. WIP.

llvm-svn: 89289


# 1e9de059 17-Nov-2009 John McCall <rjmccall@apple.com>

Skip over shadow using decls during codegen.

llvm-svn: 89079


# 0d82fa66 16-Nov-2009 Anders Carlsson <andersca@mac.com>

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 <eli.friedman@gmail.com>

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 <chandlerc@gmail.com>

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 <eli.friedman@gmail.com>

Rearrange function to avoid recursive use-after-free.

llvm-svn: 86516


# 15275e55 07-Nov-2009 Chris Lattner <sabre@nondot.org>

add missing #include

llvm-svn: 86368


# 4127b8ef 05-Nov-2009 Fariborz Jahanian <fjahanian@apple.com>

Added support for static variables which require
initialization before main. Fixes pr5396.

llvm-svn: 86145


# b7e5c847 27-Oct-2009 Douglas Gregor <dgregor@apple.com>

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 <dgregor@apple.com>

Introduce FunctionDecl::isInlined() to tell whether a function should
be inlined.

llvm-svn: 85307


# 35b5753e 27-Oct-2009 Douglas Gregor <dgregor@apple.com>

Rename FunctionDecl::isInline/setInline to
FunctionDecl::isInlineSpecified/setInlineSpecified.

llvm-svn: 85305


# 29295bff 27-Oct-2009 Anders Carlsson <andersca@mac.com>

Add a PrettyStackTraceDecl in CodeGenModule::EmitGlobalDefinition.

llvm-svn: 85237


# e0105ad3 26-Oct-2009 Douglas Gregor <dgregor@apple.com>

assert -> llvm_unreachable

llvm-svn: 85125


Revision tags: llvmorg-2.6.0
# 2c422dc9 18-Oct-2009 Daniel Dunbar <daniel@zuster.org>

Move clients to use IdentifierInfo::getNameStart() instead of getName()

llvm-svn: 84436


# 819c3ddd 14-Oct-2009 Douglas Gregor <dgregor@apple.com>

Fix a thinko that John pointed out

llvm-svn: 84142


# 3cc3cdee 14-Oct-2009 Douglas Gregor <dgregor@apple.com>

Give explicit and implicit instantiations of static data members of
class templates the proper linkage.

Daniel, please look over the CodeGenModule bits.

llvm-svn: 84140


# f33cfaf7 14-Oct-2009 Devang Patel <dpatel@apple.com>

Copy metadata associated with CI

llvm-svn: 84114


# 4f8a2e22 14-Oct-2009 Chris Lattner <sabre@nondot.org>

fix some cfstring related issues:
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 seg

fix some cfstring related issues:
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

show more ...


# 734351d2 14-Oct-2009 Chris Lattner <sabre@nondot.org>

unbreak test/CodeGen/builtins.c, reverting Devang's change.

llvm-svn: 84075


# 3b3f0f6b 13-Oct-2009 Devang Patel <dpatel@apple.com>

Check void type before using replaceAllUsesWith().

llvm-svn: 84050


1...<<71727374757677787980>>...87