History log of /llvm-project/clang/lib/CodeGen/CodeGenModule.cpp (Results 1651 – 1675 of 2157)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 37bb6c98 29-Oct-2010 John McCall <rjmccall@apple.com>

Restore r117644, this time properly ignoring -fvisibility and type visibility
for namespace-scope variable declarations.

Apply visibility in IR gen to variables that are merely declared
and never de

Restore r117644, this time properly ignoring -fvisibility and type visibility
for namespace-scope variable declarations.

Apply visibility in IR gen to variables that are merely declared
and never defined. We were previously emitting these with default
visibility unless they were declared with private_extern.

Ignore global visibility settings when computing visibility for
a declaration's context, and key several conditions on whether a
visibility attribute exists anywhere in the hierarchy as opposed
to whether it exists at the current level.

llvm-svn: 117729

show more ...


# df879212 29-Oct-2010 Daniel Dunbar <daniel@zuster.org>

Revert r117644, "Apply visibility in IR gen to variables that are merely
declared", it breaks things.

llvm-svn: 117653


# 4af6bf1f 29-Oct-2010 John McCall <rjmccall@apple.com>

Apply visibility in IR gen to variables that are merely declared
and never defined. We were previously emitting these with default
visibility unless they were declared with private_extern.

Ignore g

Apply visibility in IR gen to variables that are merely declared
and never defined. We were previously emitting these with default
visibility unless they were declared with private_extern.

Ignore global visibility settings when computing visibility for
a declaration's context, and key several conditions on whether a
visibility attribute exists anywhere in the hierarchy as opposed
to whether it exists at the current level.

llvm-svn: 117644

show more ...


# 1518a5ec 27-Oct-2010 Fariborz Jahanian <fjahanian@apple.com>

Do the guarding of instantiated static data members
on if its linkage is weak. Currently this is the
case but may change in the future. (part of radar
8562966).

llvm-svn: 117452


# 457a04e3 22-Oct-2010 John McCall <rjmccall@apple.com>

Substantially revise how clang computes the visibility of a declaration to
more closely parallel the computation of linkage. This gets us to a state
much closer to what gcc emits, modulo bugs, which

Substantially revise how clang computes the visibility of a declaration to
more closely parallel the computation of linkage. This gets us to a state
much closer to what gcc emits, modulo bugs, which will undoubtedly arise in
abundance.

llvm-svn: 117147

show more ...


# 50c925fe 19-Oct-2010 Fariborz Jahanian <fjahanian@apple.com>

This patch implements Next's IRGen for -fconstant-string-class=class-name.
PR6056, //rdar: //8564463

llvm-svn: 116819


# 2e29eb5a 15-Oct-2010 Dan Gohman <gohman@apple.com>

Experimental TBAA support for enum types.

llvm-svn: 116613


# d19ee8a0 15-Oct-2010 Dan Gohman <gohman@apple.com>

Don't leak the TBAA object.

llvm-svn: 116595


# 947c9af7 14-Oct-2010 Dan Gohman <gohman@apple.com>

Experimental TBAA support.

This enables metadata generation by default, however the TBAA pass
in the optimizer is still disabled for now.

llvm-svn: 116536


# 11f6be1c 11-Oct-2010 NAKAMURA Takumi <geek4civic@gmail.com>

lib/CodeGen/CodeGenModule.cpp: DLLImportLinkage should be processed also on declaration.

It enables clang to compile Mingw's headers.

llvm-svn: 116184


Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3
# 8caf6415 29-Sep-2010 Daniel Dunbar <daniel@zuster.org>

Add support for attribute((naked)), patch by Zoxc on cfe-commits!
- Minor style tweaks by me.

llvm-svn: 115056


# ec3bec0c 27-Sep-2010 Douglas Gregor <dgregor@apple.com>

Kill FunctionDecl's IsCopyAssignment bit; it duplicated what could
already be determined by isCopyAssignmentOperator(), and was set too
late in the process for all clients to see the appropriate
valu

Kill FunctionDecl's IsCopyAssignment bit; it duplicated what could
already be determined by isCopyAssignmentOperator(), and was set too
late in the process for all clients to see the appropriate
value. Cleanup only; no functionality change.

llvm-svn: 114916

show more ...


Revision tags: llvmorg-2.8.0-rc2
# 0bdb1fd4 16-Sep-2010 John McCall <rjmccall@apple.com>

Opportunistically use the C++ personality function in ObjC++
translation units that don't catch ObjC types. rdar://problem/8434851

llvm-svn: 114070


# 535618b9 07-Sep-2010 Fariborz Jahanian <fjahanian@apple.com>

get rid of a warning.

llvm-svn: 113256


# 56603ef7 07-Sep-2010 Fariborz Jahanian <fjahanian@apple.com>

Have Sema check for validity of CGString literal
instead of asserting in IRGen. Fixes radar 8390459.

llvm-svn: 113253


Revision tags: llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0
# 5d865c32 31-Aug-2010 John McCall <rjmccall@apple.com>

Teach IR generation to return 'this' from constructors and destructors
under the ARM ABI.

llvm-svn: 112588


# 8e7d656a 26-Aug-2010 John McCall <rjmccall@apple.com>

De-memberify the VarDecl and FunctionDecl StorageClass enums.
This lets us remove Sema.h's dependency on Expr.h and Decl.h.

llvm-svn: 112156


# bf9294fb 23-Aug-2010 Fariborz Jahanian <fjahanian@apple.com>

Support for IRGen of synthesize bitfield ivars in
objc-nonfragile-abi2 (radar 7824380).

llvm-svn: 111823


# 614dbdcd 22-Aug-2010 John McCall <rjmccall@apple.com>

Go back to asking CodeGenTypes whether a type is zero-initializable.
Make CGT defer to the ABI on all member pointer types.
This requires giving CGT a handle to the ABI.
It's way easier to make that

Go back to asking CodeGenTypes whether a type is zero-initializable.
Make CGT defer to the ABI on all member pointer types.
This requires giving CGT a handle to the ABI.
It's way easier to make that work if we avoid lazily creating the ABI.
Make it so.

llvm-svn: 111786

show more ...


# 86353416 21-Aug-2010 John McCall <rjmccall@apple.com>

The ARM C++ ABI is sufficiently different from the Itanium C++ ABI that
it deserves its own enumerator. Obviously the implementations should
closely follow the Itanium ABI except in cases of diverge

The ARM C++ ABI is sufficiently different from the Itanium C++ ABI that
it deserves its own enumerator. Obviously the implementations should
closely follow the Itanium ABI except in cases of divergence.

llvm-svn: 111749

show more ...


# 6bcb07ad 19-Aug-2010 Charles Davis <cdavis@mines.edu>

Add some enum goodness as requested by Chris. Now instead of storing the
active C++ ABI as a raw string, we store it as an enum. This should improve
performance somewhat.

And yes, this time, I start

Add some enum goodness as requested by Chris. Now instead of storing the
active C++ ABI as a raw string, we store it as an enum. This should improve
performance somewhat.

And yes, this time, I started from a clean build directory, and
all the tests passed. :)

llvm-svn: 111507

show more ...


# dcfba7b3 18-Aug-2010 Alexis Hunt <alercah@gmail.com>

Generate Attr subclasses with TableGen.

Now all classes derived from Attr are generated from TableGen.
Additionally, Attr* is no longer its own linked list; SmallVectors or
Attr* are used. The accom

Generate Attr subclasses with TableGen.

Now all classes derived from Attr are generated from TableGen.
Additionally, Attr* is no longer its own linked list; SmallVectors or
Attr* are used. The accompanying LLVM commit contains the updates to
TableGen necessary for this.

Some other notes about newly-generated attribute classes:

- The constructor arguments are a SourceLocation and a Context&,
followed by the attributes arguments in the order that they were
defined in Attr.td

- Every argument in Attr.td has an appropriate accessor named getFoo,
and there are sometimes a few extra ones (such as to get the length
of a variadic argument).

Additionally, specific_attr_iterator has been introduced, which will
iterate over an AttrVec, but only over attributes of a certain type. It
can be accessed through either Decl::specific_attr_begin/end or
the global functions of the same name.

llvm-svn: 111455

show more ...


# 35b077e6 17-Aug-2010 Benjamin Kramer <benny.kra@googlemail.com>

Convert all uses of StringLiteral::getStrData() to StringLiteral::getString()
and remove getStrData(). Patch by Peter Davies (with some tweaks).

llvm-svn: 111229


# b3732bb3 12-Aug-2010 John McCall <rjmccall@apple.com>

Just disable the hidden-visibility optimization for now by hiding it behind
a -cc1 option. The Darwin linker complains about mixed visibility when linking
gcc-built objects with clang-built objects,

Just disable the hidden-visibility optimization for now by hiding it behind
a -cc1 option. The Darwin linker complains about mixed visibility when linking
gcc-built objects with clang-built objects, and the optimization isn't really
that valuable. Platforms with less ornery linkers can feel free to enable this.

llvm-svn: 110979

show more ...


# 6ff7161d 08-Aug-2010 Eric Christopher <echristo@apple.com>

Thread local variables aren't considered common linkage.

llvm-svn: 110530


1...<<61626364656667686970>>...87