History log of /external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
859c65cdbe730fd0e940b71ab4ba4884d44a8298 08-Aug-2012 Eli Friedman <eli.friedman@gmail.com> Fix an assertion failure with a C++ constructor initializing a
member of reference type in an anonymous struct. PR13154.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161473 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
4dc41c9b766140b507980a13acccf2f05ed19cd3 10-Aug-2011 Douglas Gregor <dgregor@apple.com> Rewrite default initialization of anonymous structs/unions within a
constructor. Previously, we did some bogus recursion into the fields
of anonymous structs (recursively), which ended up building invalid
ASTs that would cause CodeGen to crash due to invalid GEPs.

Now, we instead build the default initializations based on the
indirect field declarations at the top level, which properly generates
the sequence of GEPs needed to initialize the proper member. Fixes
PR10512 and <rdar://problem/9924046>.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137212 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
e7003b72e691c4d83ba5516c58bccc2f2a4b3fe0 13-Jul-2011 Douglas Gregor <dgregor@apple.com> Eliminate an incomplete/incorrect attempt to provide support for C++0x
unrestricted unions, which ended up attempting to initialize objects
in a union (which CodeGen isn't prepared for). Fixes PR9683.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135027 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
04af8aa157c55198bba9231dd6d811cf7ecda9a5 10-Jul-2011 Chris Lattner <sabre@nondot.org> relax this test a bit to hopefully work with VC++


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134870 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
57eb23f34ed2586069273c66f1a9994fe2b42967 10-Jul-2011 Chris Lattner <sabre@nondot.org> keep track of whether being in a RS_StructPointer state
caused us to skip layout out a function accurately. If
so, flush the type cache for both the function and struct
case to ensure that any pointers to the functions get
recomputed. This is overconservative, but with this patch
clang can build itself again.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134863 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
f0a8679b6e6635117533b89894646f1450cea25b 10-Jul-2011 Chris Lattner <sabre@nondot.org> Fix the clang bootstrap and Jay's testcase from llvm-dev by being completely
conservative when converting a functiontype to IR when in a "pointer within
a struct" context. This has the unfortunate sideeffect of compiling all
function pointers inside of structs into "{}*" which, though correct, is
ugly. This has the positive side effect of being correct, and it is pretty
straight-forward to improve on this.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134861 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
4955e57cd5de1e47be4e2f3e6c733beac166bbd8 12-Apr-2011 John McCall <rjmccall@apple.com> Formatting.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129336 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
bc7fbf0d37b286b37d96b033dfaaabf9c729bca8 26-Feb-2011 John McCall <rjmccall@apple.com> Pretty up the emission of field l-values and use volatile and TBAA when
loading references as part of that. Use 'char' TBAA when accessing
(immediate!) fields of a may_alias struct; fixes PR9307.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126540 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
0413db4a26b0a1577b75c2979b0eb21f3490d17a 31-Jan-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> Amazing that there are still issues with the fields of anonymous struct/unions..
Allow taking the address of such a field for a pointer-to-member constant. Fixes rdar://8818236.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124575 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
d4d3ce6ed8d4981a18d013f8694c762c47b44c77 31-Jan-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> Fix test that didn't actually test what it wanted to test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124574 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
40e17752086c2c497951d64f5ac6ab5039466113 09-Dec-2010 Francois Pichet <pichet2000@gmail.com> Fix PR8760: IndirectFieldDecl Type was not updated during template instantiation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
881b36ccbf8eaee709e7763369062a52f5961df1 16-Aug-2010 Argyrios Kyrtzidis <akyrtzi@gmail.com> Fix initialization for members of anonymous struct in a union.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111159 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
a9976d3b192690db20f59dc44099ac4ca939bdb7 21-May-2010 John McCall <rjmccall@apple.com> When emitting an lvalue for an anonymous struct or union member during
class initialization, drill down through an arbitrary number of anonymous
records.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104310 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
f1860e5c381a2710fcebe6d55d799c6b25c21041 21-May-2010 John McCall <rjmccall@apple.com> Be sure to apply initializers to members of anonymous structs and unions
recursively, e.g. so that members of anonymous unions inside anonymous structs
still get initialized. Also generate default constructor calls for anonymous
struct members when necessary.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104292 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
fe60f84c4f201c9ca8126066779da8ee004a70fc 03-May-2010 Douglas Gregor <dgregor@apple.com> When a class contains a non-empty anonymous union or struct, mark is
as non-empty. Fixes PR7021.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
a5728872c7702ddd09537c95bc3cbd20e1f2fb09 15-Dec-2009 Daniel Dunbar <daniel@zuster.org> Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
c186b8fe4a308b53569fe839a3224de70d92ab0e 02-Sep-2009 Anders Carlsson <andersca@mac.com> Fix an assertion when initializing a union using a member initializer. (We weren't casting from the union type to the initializer type correctly).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80837 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp