commit | 4e8d569581255e2749e578cf357dc58630ce4ebc | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Thu Jul 09 00:05:08 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Thu Jul 09 00:05:08 2009 +0000 |
tree | 0721d449d098be88990bde66f45bfe9f14076921 | |
parent | a142a05732cac5218bd4f1a53880abce9a66bbea [diff] [blame] |
Store the isAddressOfOperand in the UnresolvedDeclRefExpr, so that we can pass it when instantiating the expr. Fixes another member pointer bug. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75075 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaTemplateInstantiateExpr.cpp b/lib/Sema/SemaTemplateInstantiateExpr.cpp index c82e1a7..5e664ad 100644 --- a/lib/Sema/SemaTemplateInstantiateExpr.cpp +++ b/lib/Sema/SemaTemplateInstantiateExpr.cpp
@@ -798,7 +798,7 @@ E->getDeclName(), /*HasTrailingLParen=*/false, &SS, - /*FIXME:isAddressOfOperand=*/false); + E->isAddressOfOperand()); } Sema::OwningExprResult