b4b82a500c
This required two changes in parallel. As a first and obvious step it removes a check that skipped emptys lines during documentation loading, but it was also necessary to refactore the `get_comment_lines()` utility method as a second step. This second refactoring was necessary as each line in a doc comment is trimmed and transformed in its own doc attribute. The attribute of an empty line therefore contains an empty string as value. If we now call `lines()` on such an empty string we end up with an empty iterator as the method is internally configured to ignore trailing empty lines.
20 lines
435 B
C++
20 lines
435 B
C++
#include <cstdarg>
|
|
#include <cstdint>
|
|
#include <cstdlib>
|
|
#include <new>
|
|
|
|
extern "C" {
|
|
|
|
/// The root of all evil.
|
|
///
|
|
/// But at least it contains some more documentation as someone would expect
|
|
/// from a simple test case like this.
|
|
///
|
|
/// # Hint
|
|
///
|
|
/// Always ensure that everything is properly documented, even if you feel lazy.
|
|
/// Sometimes** it is also helpful to include some markdown formatting.
|
|
void root();
|
|
|
|
} // extern "C"
|