#200 [C++] pure virtual methods do not show up

closed-invalid
None
5
2007-11-11
2007-11-05
No

ctags does not detect this kind of methods:

Class MyClass
{
virtual void my_pure_virtual_method() = 0;
};

Discussion

  • Elliott Hughes

    Elliott Hughes - 2007-11-09
    • assigned_to: nobody --> elliotth
    • status: open --> open-invalid
     
  • Elliott Hughes

    Elliott Hughes - 2007-11-09

    Logged In: YES
    user_id=1127237
    Originator: NO

    hydrogen:~/Projects/ctags-5.7$ cat bug1825873.cpp
    class MyClass {
    virtual void my_pure_virtual_method() = 0;
    };

    you probably did this:

    hydrogen:~/Projects/ctags-5.7$ ./ctags --fields -o - bug1825873.cpp
    MyClass bug1825873.cpp /^class MyClass {$/

    but wanted to do this instead:

    hydrogen:~/Projects/ctags-5.7$ ./ctags --c++-kinds=+p -o - bug1825873.cpp
    MyClass bug1825873.cpp /^class MyClass {$/;" c file:
    my_pure_virtual_method bug1825873.cpp /^ virtual void my_pure_virtual_method() = 0;$/;" p class:MyClass file:

     
  • Johannes Schmid

    Johannes Schmid - 2007-11-11
    • status: open-invalid --> pending-invalid
     
  • Johannes Schmid

    Johannes Schmid - 2007-11-11

    Logged In: YES
    user_id=68699
    Originator: YES

    Thanks! Should have RTFM.

     
  • Elliott Hughes

    Elliott Hughes - 2007-11-11
    • status: pending-invalid --> closed-invalid
     

Log in to post a comment.