diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2010-07-18 16:45:46 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2010-07-18 16:45:46 +0000 |
commit | 9e73cae25ed0daabe163817938567e1159dc1283 (patch) | |
tree | 0dd4698474ff99253e2068f40128b37c999beefc /llvm/tools/llvm-mc/llvm-mc.cpp | |
parent | 8ff89f5c025acd9e7ed2fed43ceadeaaf0951768 (diff) | |
download | bcm5719-llvm-9e73cae25ed0daabe163817938567e1159dc1283.tar.gz bcm5719-llvm-9e73cae25ed0daabe163817938567e1159dc1283.zip |
When instantiating function definitions set parameter names to those used in template
The rationale is that we are copying the entire definition including
parameter names which may differ between the declaration and the
definition.
This is particularly important if any parameters are unnamed in the
declaration, as a DeclRef to an unnamed ParmVarDecl would cause the
pretty printer to produce invalid output.
llvm-svn: 108643
Diffstat (limited to 'llvm/tools/llvm-mc/llvm-mc.cpp')
0 files changed, 0 insertions, 0 deletions