[cfe-commits] [PATCH] propagate calling convention into aliases and weakrefs

John McCall rjmccall at apple.com
Tue Sep 11 11:54:33 PDT 2012


On Sep 10, 2012, at 3:26 PM, Alex Rosenberg wrote:
> A coworker noticed that you can end up with mismatched CCs if you use an alias. I extended this fix into weakrefs, which I noticed by inspection.

The FileCheckizement is approved.

Does the world explode if you pass the GlobalDecl for the alias to
GetOrCreateLLVMFunction?  Maybe only if it's a FunctionDecl?
That would the be ideal fix.

John.



More information about the cfe-commits mailing list