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 | 8cd7813ca3e90621cb31dcc76cf573c2d4f17fe2 (patch) | |
tree | cef03fff256f8515fcf3aa066037bc473cb51aaf /clang/lib/CodeGen | |
parent | e774fa6412ee5cb8b9fe552232471c5d10df6c7a (diff) | |
download | bcm5719-llvm-8cd7813ca3e90621cb31dcc76cf573c2d4f17fe2.tar.gz bcm5719-llvm-8cd7813ca3e90621cb31dcc76cf573c2d4f17fe2.zip |
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.
llvm-svn: 89402
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/Mangle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/Mangle.cpp b/clang/lib/CodeGen/Mangle.cpp index 0a7124de362..1d2f2e6454f 100644 --- a/clang/lib/CodeGen/Mangle.cpp +++ b/clang/lib/CodeGen/Mangle.cpp @@ -1061,8 +1061,8 @@ void CXXNameMangler::mangleExpression(const Expr *E) { break; } - case Expr::UnresolvedDeclRefExprClass: { - const UnresolvedDeclRefExpr *DRE = cast<UnresolvedDeclRefExpr>(E); + case Expr::DependentScopeDeclRefExprClass: { + const DependentScopeDeclRefExpr *DRE = cast<DependentScopeDeclRefExpr>(E); const Type *QTy = DRE->getQualifier()->getAsType(); assert(QTy && "Qualifier was not type!"); |