clang 22.0.0git
clang::CommentOptions Struct Reference

Options for controlling comment parsing. More...

#include "clang/Basic/CommentOptions.h"

Public Types

using BlockCommandNamesTy = std::vector<std::string>

Public Member Functions

 CommentOptions ()=default

Public Attributes

BlockCommandNamesTy BlockCommandNames
 Command names to treat as block commands in comments.
bool ParseAllComments = false
 Treat ordinary comments as documentation comments.

Detailed Description

Options for controlling comment parsing.

Definition at line 23 of file CommentOptions.h.

Member Typedef Documentation

◆ BlockCommandNamesTy

using clang::CommentOptions::BlockCommandNamesTy = std::vector<std::string>

Definition at line 24 of file CommentOptions.h.

Constructor & Destructor Documentation

◆ CommentOptions()

clang::CommentOptions::CommentOptions ( )
default

Member Data Documentation

◆ BlockCommandNames

BlockCommandNamesTy clang::CommentOptions::BlockCommandNames

Command names to treat as block commands in comments.

Should not include the leading backslash.

Definition at line 28 of file CommentOptions.h.

Referenced by checkLanguageOptions(), and clang::comments::CommandTraits::registerCommentOptions().

◆ ParseAllComments

bool clang::CommentOptions::ParseAllComments = false

Treat ordinary comments as documentation comments.

Definition at line 31 of file CommentOptions.h.

Referenced by clang::RawCommentList::addComment(), and clang::RawComment::RawComment().


The documentation for this struct was generated from the following file: