diff options
author | Aaron Smith <aaron.smith@microsoft.com> | 2018-01-17 01:22:03 +0000 |
---|---|---|
committer | Aaron Smith <aaron.smith@microsoft.com> | 2018-01-17 01:22:03 +0000 |
commit | 53a1a1616cb7fef1e34973a5702a8e1aebb6fbce (patch) | |
tree | 1c8131a9aadecd1131bd8bad5beae267ce67b4aa /clang/lib/Rewrite/HTMLRewrite.cpp | |
parent | 7351a22b7de47db8fc7bcb2aaffb752d313cc3b7 (diff) | |
download | llvm-53a1a1616cb7fef1e34973a5702a8e1aebb6fbce.zip llvm-53a1a1616cb7fef1e34973a5702a8e1aebb6fbce.tar.gz llvm-53a1a1616cb7fef1e34973a5702a8e1aebb6fbce.tar.bz2 |
Fix pretty printing the unspecified param of a variadic function
Summary:
- Fix a bug in PrettyBuiltinDumper that returns "void" as the name for
an unspecified builtin type. Since the unspecified param of a variadic
function is considered a builtin of unspecified type in PDBs, we set
"..." for its name.
- Provide a method to determine if a PDBSymbolFunc is variadic in
PrettyFunctionDumper since PDBSymbolFunc::getArgument() doesn't return the
last unspecified-type param.
- Add a pretty-func-dumper.test to test pretty dumping of variadic
functions.
Reviewers: zturner, llvm-commits
Reviewed By: zturner
Differential Revision: https://reviews.llvm.org/D41801
llvm-svn: 322608
Diffstat (limited to 'clang/lib/Rewrite/HTMLRewrite.cpp')
0 files changed, 0 insertions, 0 deletions