[cfe-commits] r136256 - /cfe/trunk/lib/Sema/SemaType.cpp

Peter Collingbourne peter at pcc.me.uk
Wed Jul 27 13:29:53 PDT 2011


Author: pcc
Date: Wed Jul 27 15:29:53 2011
New Revision: 136256

URL: http://llvm.org/viewvc/llvm-project?rev=136256&view=rev
Log:
Fix TR 18037 citation in SemaType.cpp

Modified:
    cfe/trunk/lib/Sema/SemaType.cpp

Modified: cfe/trunk/lib/Sema/SemaType.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaType.cpp?rev=136256&r1=136255&r2=136256&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaType.cpp (original)
+++ cfe/trunk/lib/Sema/SemaType.cpp Wed Jul 27 15:29:53 2011
@@ -3064,8 +3064,8 @@
                                             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();





More information about the cfe-commits mailing list