Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing triple to instantiate-sizeof.cpp test | Reid Kleckner | 2016-03-11 | 1 | -1/+1 |
| | | | | llvm-svn: 263285 | ||||
* | Allow sizeof(UnrelatedClass::field) in C++11 class template methods | Reid Kleckner | 2016-03-11 | 1 | -1/+26 |
| | | | | | | | | | | | | | | | | | This feature works outside of templates by forming a DeclRefExpr to a FieldDecl instead of a MemberExpr, which requires a base object in addition to the FieldDecl. Previously, while building up the template AST before instantiation, we formed a CXXDependentScopeMemberExpr, which always instantiates to a MemberExpr. Now, in unevaluated contexts we form a DependentScopeDeclRefExpr, which is a more flexible node that can instantiate to either a MemberExpr or a DeclRefExpr depending on lookup results. Fixes PR26893. llvm-svn: 263279 | ||||
* | Prior to adding the new "expected-no-diagnostics" directive to ↵ | Andy Gibbs | 2012-10-19 | 1 | -0/+1 |
| | | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280 | ||||
* | A couple minor bug-fixes for template instantiation for expressions which ↵ | Eli Friedman | 2012-02-29 | 1 | -0/+10 |
are sometimes potentially evaluated. llvm-svn: 151707 |