summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/member-expressions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Introduce a new kind of derived-to-base cast which bypasses the need forJohn McCall2010-03-301-0/+40
| | | | | | | | | null checks, and make sure we elide null checks when accessing base class members. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99963 91177308-0d34-0410-b5e6-96231b3b80d8
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - 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
* Implement IRGen for MemberExpr referring to static member function.Eli Friedman2009-11-261-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89938 91177308-0d34-0410-b5e6-96231b3b80d8
* We always need to emit the base expression of a member expression, even when ↵Anders Carlsson2009-11-241-1/+12
| | | | | | the member decl refers to an enum. Thanks to Eli for pointing this out! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89775 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't try to treat an enum constant as an lvalue.Anders Carlsson2009-11-231-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89705 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle member expressions where the member declaration is actually a static ↵Anders Carlsson2009-11-071-0/+19
variable. Fixes PR5392. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86414 91177308-0d34-0410-b5e6-96231b3b80d8