diff options
author | John McCall <rjmccall@apple.com> | 2009-09-24 19:53:00 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-09-24 19:53:00 +0000 |
commit | 0953e767ff7817f97b3ab20896b229891eeff45b (patch) | |
tree | ae766419bc367458454d0ff47206caf639a6934b /test/Sema/address_spaces.c | |
parent | e7a5fd4a2969176d8b63a0a26039f895fc359ac4 (diff) | |
download | clang-0953e767ff7817f97b3ab20896b229891eeff45b.tar.gz |
Refactor the representation of qualifiers to bring ExtQualType out of the
Type hierarchy. Demote 'volatile' to extended-qualifier status. Audit our
use of qualifiers and fix a few places that weren't dealing with qualifiers
quite right; many more remain.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/address_spaces.c')
-rw-r--r-- | test/Sema/address_spaces.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/address_spaces.c b/test/Sema/address_spaces.c index 684a99faaa..616f3fcda1 100644 --- a/test/Sema/address_spaces.c +++ b/test/Sema/address_spaces.c @@ -33,6 +33,6 @@ struct _st { __attribute__((address_space(256))) void * * const base = 0; void * get_0(void) { return base[0]; // expected-error {{illegal implicit cast between two pointers with different address spaces}} \ - expected-warning {{returning 'void __attribute__((address_space(256)))*' discards qualifiers, expected 'void *'}} + expected-warning {{returning 'void __attribute__((address_space(256))) *' discards qualifiers, expected 'void *'}} } |