]> granicus.if.org Git - clang/commitdiff
Add a cautionary note about the mangling I just invented.
authorJohn McCall <rjmccall@apple.com>
Thu, 4 Feb 2010 01:48:38 +0000 (01:48 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 4 Feb 2010 01:48:38 +0000 (01:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95275 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/Mangle.cpp

index bf58c19136a0770272ff2d6c929612db80a269ad..97fb393e0e284fc541bd3c0c527133baf1f10fbd 100644 (file)
@@ -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;