Closed
Description
Describe the bug
In c++, function can be marked virtual. DoGe does not support them. When the "virtual" keyword is removed, everything works.
Also, a virtual function can be marked as "pure virtual" by appending "=0" after it. This is not supported either.
Finally, when a child class overrides a virtual function from its parent, it can/must be marked "override" or "final", this is not supported either.
To Reproduce
Steps to reproduce the behavior:
- Create a file test.h with the following content:
class Test {
virtual void my_virtual_function();
virtual void my_pure_virtual_function() = 0;
};
class Test2: public Test {
void my_virtual_function() override;
void my_pure_virtual_function() final;
}
- Try to generate documentation for any of the my_virtual_function of my_pure_virtual_function lines.
Expected behavior
Documentation is created.