clang 20.0.0git
Namespaces | Macros | Functions
Comment.cpp File Reference
#include "clang/AST/Comment.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/Basic/CharInfo.h"
#include "llvm/Support/ErrorHandling.h"
#include <type_traits>
#include "clang/AST/CommentNodes.inc"

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::comments
 

Macros

#define ABSTRACT_COMMENT(COMMENT)
 
#define COMMENT(CLASS, PARENT)
 
#define ABSTRACT_COMMENT(COMMENT)
 
#define COMMENT(CLASS, PARENT)
 
#define ASSERT_IMPLEMENTS_child_begin(function)    (void) good(implements_child_begin_end(function))
 
#define ABSTRACT_COMMENT(COMMENT)
 
#define COMMENT(CLASS, PARENT)
 
#define ABSTRACT_COMMENT(COMMENT)
 
#define COMMENT(CLASS, PARENT)
 
#define ABSTRACT_COMMENT(COMMENT)
 
#define COMMENT(CLASS, PARENT)
 

Functions

static TypeLoc clang::comments::lookThroughTypedefOrTypeAliasLocs (TypeLoc &SrcTL)
 
static bool clang::comments::getFunctionTypeLoc (TypeLoc TL, FunctionTypeLoc &ResFTL)
 

Macro Definition Documentation

◆ ABSTRACT_COMMENT [1/5]

#define ABSTRACT_COMMENT (   COMMENT)

Definition at line 23 of file Comment.cpp.

◆ ABSTRACT_COMMENT [2/5]

#define ABSTRACT_COMMENT (   COMMENT)

Definition at line 23 of file Comment.cpp.

◆ ABSTRACT_COMMENT [3/5]

#define ABSTRACT_COMMENT (   COMMENT)

Definition at line 23 of file Comment.cpp.

◆ ABSTRACT_COMMENT [4/5]

#define ABSTRACT_COMMENT (   COMMENT)

Definition at line 23 of file Comment.cpp.

◆ ABSTRACT_COMMENT [5/5]

#define ABSTRACT_COMMENT (   COMMENT)

Definition at line 23 of file Comment.cpp.

◆ ASSERT_IMPLEMENTS_child_begin

#define ASSERT_IMPLEMENTS_child_begin (   function)     (void) good(implements_child_begin_end(function))

Definition at line 65 of file Comment.cpp.

◆ COMMENT [1/5]

#define COMMENT (   CLASS,
  PARENT 
)
Value:
static_assert(std::is_trivially_destructible<CLASS>::value, \
#CLASS " should be trivially destructible!");

Definition at line 24 of file Comment.cpp.

◆ COMMENT [2/5]

#define COMMENT (   CLASS,
  PARENT 
)
Value:
case CommentKind::CLASS: \
return #CLASS;

Definition at line 24 of file Comment.cpp.

◆ COMMENT [3/5]

#define COMMENT (   CLASS,
  PARENT 
)
Value:
ASSERT_IMPLEMENTS_child_begin(&CLASS::child_begin); \
ASSERT_IMPLEMENTS_child_begin(&CLASS::child_end);
#define ASSERT_IMPLEMENTS_child_begin(function)
Definition: Comment.cpp:65

Definition at line 24 of file Comment.cpp.

◆ COMMENT [4/5]

#define COMMENT (   CLASS,
  PARENT 
)
Value:
case CommentKind::CLASS: \
return static_cast<const CLASS *>(this)->child_begin();

Definition at line 24 of file Comment.cpp.

◆ COMMENT [5/5]

#define COMMENT (   CLASS,
  PARENT 
)
Value:
case CommentKind::CLASS: \
return static_cast<const CLASS *>(this)->child_end();

Definition at line 24 of file Comment.cpp.