Modules | Files | Inheritance Tree | Inheritance Graph | Name Index | Config
File: Synopsis/Parser/C++/syn/test_prev_comments.hh
    1| // Test.cc
    2| // Test previous comments (begin with < and are mapped to previous declaration
    3| // if -Wl,-p,prev used.)
    4| //
    5| // synopsis -p C++ -Wp,-t -Wl,-p,ssd,-p,prev -f ASCII test.hh
    6| 
    7| //. A test class
    8| class Class {
    9|     //. An enum
   10|     enum Enum {
   11|         //. Comment before ALPHA
   12|         ALPHA = 1, //.< PrevComment after ALPHA
   13|         BETA = 2
   14|         //.< PrevComment after BETA
   15|     };
   16|     //.< PrevComment after the enum but before the end of the class
   17| };