diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-07-27 20:29:53 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-07-27 20:29:53 +0000 |
commit | 29e3ef8df84da298e7553a84276af4909ff6e9eb (patch) | |
tree | 313af7ed90b8156a14ba6cb3d00c070bee1fa1c4 | |
parent | e926523105dd2604ccd5c101605dea43c5269965 (diff) |
Fix TR 18037 citation in SemaType.cpp
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136256 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Sema/SemaType.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index 5f82369930..e44c6c8b41 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -3064,8 +3064,8 @@ static void HandleAddressSpaceTypeAttribute(QualType &Type, const AttributeList &Attr, Sema &S){ // If this type is already address space qualified, reject it. - // Clause 6.7.3 - Type qualifiers: "No type shall be qualified by qualifiers - // for two or more different address spaces." + // ISO/IEC TR 18037 S5.3 (amending C99 6.7.3): "No type shall be qualified by + // qualifiers for two or more different address spaces." if (Type.getAddressSpace()) { S.Diag(Attr.getLoc(), diag::err_attribute_address_multiple_qualifiers); Attr.setInvalid(); |