clang
20.0.0git
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
q
r
s
t
u
v
w
Enumerations
_
a
b
c
f
g
i
l
m
n
o
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Examples
include
clang
Index
CommentToXML.h
Go to the documentation of this file.
1
//===--- CommentToXML.h - Convert comments to XML representation ----------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLVM_CLANG_INDEX_COMMENTTOXML_H
10
#define LLVM_CLANG_INDEX_COMMENTTOXML_H
11
12
#include "
clang/Basic/LLVM.h
"
13
14
namespace
clang
{
15
class
ASTContext;
16
17
namespace
comments {
18
class
FullComment;
19
class
HTMLTagComment;
20
}
21
22
namespace
index {
23
class
CommentToXMLConverter
{
24
public
:
25
CommentToXMLConverter
();
26
~CommentToXMLConverter
();
27
28
void
convertCommentToHTML
(
const
comments::FullComment
*FC,
29
SmallVectorImpl<char>
&HTML,
30
const
ASTContext
&Context);
31
32
void
convertHTMLTagNodeToText
(
const
comments::HTMLTagComment
*HTC,
33
SmallVectorImpl<char>
&
Text
,
34
const
ASTContext
&Context);
35
36
void
convertCommentToXML
(
const
comments::FullComment
*FC,
37
SmallVectorImpl<char>
&XML,
38
const
ASTContext
&Context);
39
};
40
41
}
// namespace index
42
}
// namespace clang
43
44
#endif
// LLVM_CLANG_INDEX_COMMENTTOXML_H
45
Text
StringRef Text
Definition:
Format.cpp:3052
LLVM.h
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
clang::ASTContext
Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...
Definition:
ASTContext.h:188
clang::comments::FullComment
A full comment attached to a declaration, contains block content.
Definition:
Comment.h:1083
clang::comments::HTMLTagComment
Abstract class for opening and closing HTML tags.
Definition:
Comment.h:391
clang::index::CommentToXMLConverter
Definition:
CommentToXML.h:23
clang::index::CommentToXMLConverter::convertCommentToXML
void convertCommentToXML(const comments::FullComment *FC, SmallVectorImpl< char > &XML, const ASTContext &Context)
Definition:
CommentToXML.cpp:1163
clang::index::CommentToXMLConverter::convertHTMLTagNodeToText
void convertHTMLTagNodeToText(const comments::HTMLTagComment *HTC, SmallVectorImpl< char > &Text, const ASTContext &Context)
Definition:
CommentToXML.cpp:1155
clang::index::CommentToXMLConverter::CommentToXMLConverter
CommentToXMLConverter()
Definition:
CommentToXML.cpp:1144
clang::index::CommentToXMLConverter::~CommentToXMLConverter
~CommentToXMLConverter()
Definition:
CommentToXML.cpp:1145
clang::index::CommentToXMLConverter::convertCommentToHTML
void convertCommentToHTML(const comments::FullComment *FC, SmallVectorImpl< char > &HTML, const ASTContext &Context)
Definition:
CommentToXML.cpp:1147
llvm::SmallVectorImpl
Definition:
Randstruct.h:18
clang
The JSON file list parser is used to communicate input to InstallAPI.
Definition:
CalledOnceCheck.h:17
Generated on Thu Mar 6 2025 17:48:44 for clang by
1.9.6