diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-07-19 02:01:03 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-07-19 02:01:03 +0000 |
commit | bfe2d3c0f966e8d6ab873b54deacee9048780d19 (patch) | |
tree | 46966232c18e963bbab202f64d0791e8a19b1a11 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 48d53e2c4c9131766e61fb52c7876fbcf9859463 (diff) | |
download | llvm-bfe2d3c0f966e8d6ab873b54deacee9048780d19.zip llvm-bfe2d3c0f966e8d6ab873b54deacee9048780d19.tar.gz llvm-bfe2d3c0f966e8d6ab873b54deacee9048780d19.tar.bz2 |
TypePrinter should not ignore IndexTypeCVRQualifiers on constant-sized arrays
C99 array parameters can have index-type CVR qualifiers, and the TypePrinter
should print them when present (and we were not for constant-sized arrays).
Otherwise, we'd drop the restrict in:
int foo(int a[restrict static 3]) { ... }
llvm-svn: 213445
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions