[cfe-commits] r47421 - /cfe/trunk/Sema/SemaType.cpp

Chris Lattner sabre at nondot.org
Wed Feb 20 17:32:57 PST 2008


Author: lattner
Date: Wed Feb 20 19:32:57 2008
New Revision: 47421

URL: http://llvm.org/viewvc/llvm-project?rev=47421&view=rev
Log:
add a fixme.

Modified:
    cfe/trunk/Sema/SemaType.cpp

Modified: cfe/trunk/Sema/SemaType.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Sema/SemaType.cpp?rev=47421&r1=47420&r2=47421&view=diff

==============================================================================
--- cfe/trunk/Sema/SemaType.cpp (original)
+++ cfe/trunk/Sema/SemaType.cpp Wed Feb 20 19:32:57 2008
@@ -186,7 +186,7 @@
       break;
     case DeclaratorChunk::Reference:
       if (const ReferenceType *RT = T->getAsReferenceType()) {
-        // C++ 8.3.2p4: There shall be no references to references ...
+        // C++ 8.3.2p4: There shall be no references to references.
         Diag(D.getIdentifierLoc(),
              diag::err_illegal_decl_reference_to_reference,
              D.getIdentifier() ? D.getIdentifier()->getName() : "type name");
@@ -196,6 +196,8 @@
 
       T = Context.getReferenceType(T);
         
+      // FIXME: Handle Ref.Restrict!
+        
       // See if there are any attributes on the pointer that apply to it.
       if (AttributeList *AL = DeclType.Ref.AttrList)
         DeclType.Ref.AttrList = ProcessTypeAttributes(T, AL);





More information about the cfe-commits mailing list