diff options
author | John McCall <rjmccall@apple.com> | 2010-02-04 01:48:38 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-02-04 01:48:38 +0000 |
commit | 11ef09f8b5c69992ef344849a46cc2694c6968cf (patch) | |
tree | 40406253196ef0544245cdee05b2978241a47839 /clang/lib/CodeGen/Mangle.cpp | |
parent | 9eb8d6fb43dc5aa670310ce499d72dbce19e29dd (diff) | |
download | bcm5719-llvm-11ef09f8b5c69992ef344849a46cc2694c6968cf.tar.gz bcm5719-llvm-11ef09f8b5c69992ef344849a46cc2694c6968cf.zip |
Add a cautionary note about the mangling I just invented.
llvm-svn: 95275
Diffstat (limited to 'clang/lib/CodeGen/Mangle.cpp')
-rw-r--r-- | clang/lib/CodeGen/Mangle.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/Mangle.cpp b/clang/lib/CodeGen/Mangle.cpp index bf58c19136a..97fb393e0e2 100644 --- a/clang/lib/CodeGen/Mangle.cpp +++ b/clang/lib/CodeGen/Mangle.cpp @@ -1152,6 +1152,9 @@ void CXXNameMangler::mangleExpression(const Expr *E) { } case Expr::UnresolvedLookupExprClass: { + // The ABI doesn't cover how to mangle overload sets, so we mangle + // using something as close as possible to the original lookup + // expression. const UnresolvedLookupExpr *ULE = cast<UnresolvedLookupExpr>(E); mangleUnresolvedName(ULE->getQualifier(), ULE->getName(), UnknownArity); break; |