3ea9e33ea25e0c2b12db56418ba3f994eb662c04 |
|
08-Apr-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master clang for rebase to r233350 Change-Id: I12d4823f10bc9e445b8b86e7721b71f98d1df442
/external/clang/test/CodeGenCXX/const-init.cpp
|
96e7813f08c6adf1d8657b0da86741b54e850fd7 |
|
04-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add 'not' to commands that are expected to fail. This is at least good documentation, but also opens the possibility of using pipefail. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185652 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/const-init.cpp
|
61e616206413d1779c7545c7a8ad1ce1129ad9c1 |
|
12-Jan-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Allow constant-folding of references which were formed in a manner not permitted in a constant expression, for compatibility with g++. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148020 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/const-init.cpp
|
0ad93a3943394e1ccd017ef587a2c20f109288b1 |
|
05-Jan-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Fix test on Release builds. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147565 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/const-init.cpp
|
65639284118d54ddf2e51a05d2ffccda567fe246 |
|
05-Jan-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Add an APValue representation for the difference between two address-of-label expressions. Add support to Evaluate and CGExprConstant for generating/handling them. Remove the special-case for such differences in Expr::isConstantInitializer. With that done, remove a bunch of buggy code from CGExprConstant for handling scalar expressions which is no longer necessary. Fixes PR11705. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147561 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/const-init.cpp
|
4bb6686274c292669bac9e658b3c210a317ee61a |
|
02-Dec-2011 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fix wrong-code bug when a const automatic variable of struct type has both a mutable member and a constant initializer. We'd previously promoted such variables to global constants, resulting in nasal demons if the mutable member was modified. This is only a temporary fix. The subtle interplay between isConstantInitializer and CGExprConstant is very bug-prone; there are some other issues in this area which I will be addressing in subsequent, more major reworking of this code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145654 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/const-init.cpp
|
1bf9a9e6a5bdc0de7939908855dcddf46b661800 |
|
12-Nov-2011 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Represent an APValue based on a Decl as that Decl, rather than a DeclRefExpr or MemberExpr which refers to it. As a side-effect, MemberExprs which refer to static member functions and static data members are now emitted as constant expressions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144468 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/const-init.cpp
|
b000459901bc1c5a55246da83550ad427ad4c4ff |
|
25-Oct-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Don't try to emit CK_LValueBitCast casts as constants. PR9558. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142863 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/const-init.cpp
|
c5cbb909e8a27deb8f1a2b6b7bf56a96051af81a |
|
20-Jun-2011 |
Chris Lattner <sabre@nondot.org> |
Update to match mainline ConstantStruct::get API change. Also, use ConvertType on InitListExprs as they are being converted. This is needed for a forthcoming patch, and improves the IR generated anyway (see additional type names in testcases). This patch also converts a bunch of std::vector's in CGObjCMac to use C arrays. There are a ton more that should be converted as well. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/const-init.cpp
|
90fb58e9f5482d2be61c4acfedf4fa69585c8ac1 |
|
09-Oct-2010 |
John McCall <rjmccall@apple.com> |
Secure this test against slightly different number formatters. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116141 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/const-init.cpp
|
189d6ef40eff11b83b2cda941d5ed89a5cef09b2 |
|
09-Oct-2010 |
John McCall <rjmccall@apple.com> |
Permit constant evaluation of const floating-point variables with constant initializers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116138 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/const-init.cpp
|
88786862424cb2d478516d911709dc19c962af9c |
|
08-Feb-2010 |
John McCall <rjmccall@apple.com> |
Emit global references with constant initializers as constants. Fixes PR5585. The standard actually says that such references should have internal linkage, but gcc doesn't do that, so we probably can't get away with it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95577 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/const-init.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/const-init.cpp
|
01a79acd9a5a701c7ddb46174ddfcb0e54349f4a |
|
22-Nov-2009 |
Anders Carlsson <andersca@mac.com> |
Support emitting aggregate class initializers. Fixes PR5581. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89569 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/const-init.cpp
|
1e5dc6e12ccda4e783c67fa9ae11be419d7b0573 |
|
11-Apr-2009 |
Anders Carlsson <andersca@mac.com> |
Add support for generating reference initialization code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/const-init.cpp
|