diff options
author | John McCall <rjmccall@apple.com> | 2009-11-19 22:55:06 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-11-19 22:55:06 +0000 |
commit | 865d447ac6a4721ab58e898d014a21f2eff74b06 (patch) | |
tree | 0de918aa66c08132f1dca0adafa76b7bc96ec52e /lib/Sema/SemaTemplate.cpp | |
parent | a7cf23a72b0846fc5aacf3f38bb8c8f9e76784cf (diff) |
Draw a brighter line between "unresolved" expressions, where we have done the
appropriate lookup and simply can't resolve the referrent yet, and
"dependent scope" expressions, where we can't do the lookup yet because the
entity we need to look into is a dependent type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplate.cpp')
-rw-r--r-- | lib/Sema/SemaTemplate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaTemplate.cpp b/lib/Sema/SemaTemplate.cpp index 31cd30083e..8d77b1ff9b 100644 --- a/lib/Sema/SemaTemplate.cpp +++ b/lib/Sema/SemaTemplate.cpp @@ -1679,7 +1679,7 @@ bool Sema::CheckTemplateArgument(NamedDecl *Param, // parsed as a template template argument. However, since we now // know that we need a non-type template argument, convert this // template name into an expression. - Expr *E = new (Context) UnresolvedDeclRefExpr(DTN->getIdentifier(), + Expr *E = new (Context) DependentScopeDeclRefExpr(DTN->getIdentifier(), Context.DependentTy, Arg.getTemplateNameLoc(), Arg.getTemplateQualifierRange(), |