diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-07-18 23:19:20 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-07-18 23:19:20 +0000 |
commit | f3e0265ea03ebcecb3828bb4c8ce5e6016777aec (patch) | |
tree | 7fa0eecc12ec8710eb55dfe12f19ca96adbc5b87 /llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.cpp | |
parent | ac6b4efaab360171a5872f991913d1dc5a97e1ca (diff) | |
download | bcm5719-llvm-f3e0265ea03ebcecb3828bb4c8ce5e6016777aec.tar.gz bcm5719-llvm-f3e0265ea03ebcecb3828bb4c8ce5e6016777aec.zip |
TypePrinter should not omit the static keyword in array parameter declarators
In C99, an array parameter declarator might have the form: direct-declarator
'[' 'static' type-qual-list[opt] assign-expr ']'
and when the size of the array is a constant, don't omit the static keyword
when printing the type. Also, in the VLA case, put a space after the static
keyword (some assignment expression must follow it).
llvm-svn: 213424
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions