[cfe-commits] r58909 - in /cfe/trunk: test/Parser/cxx-class.cpp www/cxx_status.html

Sebastian Redl sebastian.redl at getdesigned.at
Sat Nov 8 07:40:37 PST 2008


Author: cornedbee
Date: Sat Nov  8 09:40:37 2008
New Revision: 58909

URL: http://llvm.org/viewvc/llvm-project?rev=58909&view=rev
Log:
Update C++ status to reflect parser capabilities for chapter 9 (classes). Slightly extend the class parser test.

Modified:
    cfe/trunk/test/Parser/cxx-class.cpp
    cfe/trunk/www/cxx_status.html

Modified: cfe/trunk/test/Parser/cxx-class.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/cxx-class.cpp?rev=58909&r1=58908&r2=58909&view=diff

==============================================================================
--- cfe/trunk/test/Parser/cxx-class.cpp (original)
+++ cfe/trunk/test/Parser/cxx-class.cpp Sat Nov  8 09:40:37 2008
@@ -1,4 +1,5 @@
-// RUN: clang -parse-noop -verify %s 
+// RUN: clang -parse-noop -verify %s
+class C;
 class C {
 public:
 protected:
@@ -14,7 +15,14 @@
   void m() {
     int l = 2;
   }
+  virtual int vf() const volatile = 0;
   
 private:
   int x,f(),y,g();
+  inline int h();
+  static const int sci = 10;
 };
+void glo()
+{
+  struct local {};
+}

Modified: cfe/trunk/www/cxx_status.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/cxx_status.html?rev=58909&r1=58908&r2=58909&view=diff

==============================================================================
--- cfe/trunk/www/cxx_status.html (original)
+++ cfe/trunk/www/cxx_status.html Sat Nov  8 09:40:37 2008
@@ -585,20 +585,118 @@
   <td class="basic" align="center"></td>
   <td></td>
 </tr>
-<tr><td>9 [class]</td><td></td><td></td><td></td><td></td><td></td></tr>
-<tr><td>  9.1 [class.name]</td><td></td><td></td><td></td><td></td><td></td></tr>
-<tr><td>  9.2 [class.mem]</td><td></td><td></td><td></td><td></td><td></td></tr>
-<tr><td>  9.3 [class.mfct]</td><td></td><td></td><td></td><td></td><td></td></tr>
-<tr><td>    9.3.1 [class.mfct.non-static]</td><td></td><td></td><td></td><td></td><td></td></tr>
-<tr><td>    9.3.2 [class.this]</td><td></td><td></td><td></td><td></td><td></td></tr>
-<tr><td>  9.4 [class.static]</td><td></td><td></td><td></td><td></td><td></td></tr>
-<tr><td>    9.4.1 [class.static.mfct]</td><td></td><td></td><td></td><td></td><td></td></tr>
-<tr><td>    9.4.2 [class.static.data]</td><td></td><td></td><td></td><td></td><td></td></tr>
-<tr><td>  9.5 [class.union]</td><td></td><td></td><td></td><td></td><td></td></tr>
-<tr><td>  9.6 [class.bit]</td><td></td><td></td><td></td><td></td><td></td></tr>
-<tr><td>  9.7 [class.nest]</td><td></td><td></td><td></td><td></td><td></td></tr>
-<tr><td>  9.8 [class.local]</td><td></td><td></td><td></td><td></td><td></td></tr>
-<tr><td>  9.9 [class.nested.type]</td><td></td><td></td><td></td><td></td><td></td></tr>
+<tr>
+  <td>9 [class]</td>
+  <td class="medium" align="center"></td>
+  <td></td>
+  <td></td>
+  <td></td>
+  <td>Cannot parse nested name specifiers.</td>
+</tr>
+<tr>
+  <td>  9.1 [class.name]</td>
+  <td class="complete" align="center">&#x2713;</td>  
+  <td></td>
+  <td></td>
+  <td></td>
+  <td></td>
+</tr>
+<tr>
+  <td>  9.2 [class.mem]</td>
+  <td class="advanced" align="center"></td>
+  <td></td>
+  <td></td>
+  <td></td>
+  <td>No parser support for nested names, mutable members, using declarations, or templates.</td>
+</tr>
+<tr>
+  <td>  9.3 [class.mfct]</td>
+  <td class="medium" align="center"></td>
+  <td></td>
+  <td></td>
+  <td></td>
+  <td>Out of line definition is not possible.</td>
+</tr>
+<tr>
+  <td>    9.3.1 [class.mfct.non-static]</td>
+  <td class="complete" align="center">&#x2713;</td>  
+  <td></td>
+  <td></td>
+  <td></td>
+  <td></td>
+</tr>
+<tr>
+  <td>    9.3.2 [class.this]</td>
+  <td class="complete" align="center">&#x2713;</td>  
+  <td></td>
+  <td></td>
+  <td></td>
+  <td></td>
+</tr>
+<tr>
+  <td>  9.4 [class.static]</td>
+  <td class="basic" align="center"></td>
+  <td></td>
+  <td></td>
+  <td></td>
+  <td>Out of line definition is not possible.</td>
+</tr>
+<tr>
+  <td>    9.4.1 [class.static.mfct]</td>
+  <td class="complete" align="center">&#x2713;</td>  
+  <td></td>
+  <td></td>
+  <td></td>
+  <td></td>
+</tr>
+<tr>
+  <td>    9.4.2 [class.static.data]</td>
+  <td class="complete" align="center">&#x2713;</td>  
+  <td></td>
+  <td></td>
+  <td></td>
+  <td></td>
+</tr>
+<tr>
+  <td>  9.5 [class.union]</td>
+  <td class="complete" align="center">&#x2713;</td>  
+  <td></td>
+  <td></td>
+  <td></td>
+  <td></td>
+</tr>
+<tr>
+  <td>  9.6 [class.bit]</td>
+  <td class="complete" align="center">&#x2713;</td>  
+  <td></td>
+  <td></td>
+  <td></td>
+  <td></td>
+</tr>
+<tr>
+  <td>  9.7 [class.nest]</td>
+  <td class="advanced" align="center"></td>
+  <td></td>
+  <td></td>
+  <td></td>
+  <td>Out of line definition is not possible.</td>
+</tr>
+<tr>
+  <td>  9.8 [class.local]</td>
+  <td class="complete" align="center">&#x2713;</td>  
+  <td></td>
+  <td></td>
+  <td></td>
+  <td></td>
+</tr>
+<tr>
+  <td>  9.9 [class.nested.type]</td>
+  <td class="complete" align="center">&#x2713;</td>  
+  <td></td>
+  <td></td>
+  <td></td>
+  <td></td>
+</tr>
 <tr><td>10 [class.derived]</td><td></td><td></td><td></td><td></td><td></td></tr>
 <tr><td>  10.1 [class.mi]</td><td></td><td></td><td></td><td></td><td></td></tr>
 <tr><td>  10.2 [class.member.lookup]</td><td></td><td></td><td></td><td></td><td></td></tr>





More information about the cfe-commits mailing list