Skip to content

Commit ece8eb9

Browse files
committed
Javadoc in Representation.h
1 parent 2cf328e commit ece8eb9

File tree

3 files changed

+21
-48
lines changed

3 files changed

+21
-48
lines changed

src/CommentVisitor.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#ifndef MRDOX_COMMENT_VISITOR_HPP
1313
#define MRDOX_COMMENT_VISITOR_HPP
1414

15-
#include "Javadoc.h"
1615
#include "Representation.h"
1716
#include <clang/AST/ASTContext.h>
1817

src/Javadoc.h

Lines changed: 0 additions & 46 deletions
This file was deleted.

src/Representation.h

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_REPRESENTATION_H
1818
#define LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_REPRESENTATION_H
1919

20-
#include "Javadoc.h"
2120
#include <clang/AST/Type.h>
2221
#include <clang/Basic/Specifiers.h>
2322
#include <clang/Tooling/StandaloneExecution.h>
@@ -49,6 +48,27 @@ enum class InfoType {
4948
IT_typedef
5049
};
5150

51+
/** A single verbatim block.
52+
*/
53+
struct VerbatimBlock
54+
{
55+
std::string text;
56+
};
57+
58+
/** A complete javadoc attached to a declaration
59+
*/
60+
struct Javadoc
61+
{
62+
/** The brief description.
63+
*/
64+
llvm::SmallString<32> brief;
65+
66+
/** The detailed description.
67+
*/
68+
//llvm::SmallString<32> desc; // asciidoc
69+
std::string desc; // asciidoc
70+
};
71+
5272
// A representation of a parsed comment.
5373
struct CommentInfo
5474
{

0 commit comments

Comments
 (0)