[cfe-commits] r95275 - /cfe/trunk/lib/CodeGen/Mangle.cpp

John McCall rjmccall at apple.com
Wed Feb 3 17:48:38 PST 2010


Author: rjmccall
Date: Wed Feb  3 19:48:38 2010
New Revision: 95275

URL: http://llvm.org/viewvc/llvm-project?rev=95275&view=rev
Log:
Add a cautionary note about the mangling I just invented.


Modified:
    cfe/trunk/lib/CodeGen/Mangle.cpp

Modified: cfe/trunk/lib/CodeGen/Mangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/Mangle.cpp?rev=95275&r1=95274&r2=95275&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/Mangle.cpp (original)
+++ cfe/trunk/lib/CodeGen/Mangle.cpp Wed Feb  3 19:48:38 2010
@@ -1152,6 +1152,9 @@
   }
 
   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;





More information about the cfe-commits mailing list