================
Comment at: lib/AST/MicrosoftMangle.cpp:312
@@ -270,7 +311,3 @@
   FD = FD->getFirstDeclaration();
 
   // We should never ever see a FunctionNoProtoType at this point.
----------------
Timur Iskhodzhanov wrote:
> Why can't we just
> 
>   if (!Context.shouldMangleDeclName(FD)) {
>     Out << '9';
>     return
>   }
> 
> here?
Because things will eventually get more complicated later. Extern-c functions 
as template arguments show this off "nicely"


http://llvm-reviews.chandlerc.com/D1655
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to