clang API Documentation

Public Types | Public Member Functions
clang::ASTContext::RawCommentAndCacheFlags Class Reference

#include <ASTContext.h>

List of all members.

Public Types

enum  Kind { NoCommentInDecl = 0, FromDecl, FromRedecl }

Public Member Functions

Kind getKind () const LLVM_READONLY
void setKind (Kind K)
const RawCommentgetRaw () const LLVM_READONLY
void setRaw (const RawComment *RC)
const DeclgetOriginalDecl () const LLVM_READONLY
void setOriginalDecl (const Decl *Orig)

Detailed Description

Definition at line 541 of file ASTContext.h.


Member Enumeration Documentation

Enumerator:
NoCommentInDecl 

We searched for a comment attached to the particular declaration, but didn't find any.

getRaw() == 0.

FromDecl 

We have found a comment attached to this particular declaration.

getRaw() != 0.

FromRedecl 

This declaration does not have an attached comment, and we have searched the redeclaration chain.

If getRaw() == 0, the whole redeclaration chain does not have any comments.

If getRaw() != 0, it is a comment propagated from other redeclaration.

Definition at line 543 of file ASTContext.h.


Member Function Documentation

Definition at line 566 of file ASTContext.h.

Referenced by clang::ASTContext::getRawCommentForAnyRedecl().

Definition at line 582 of file ASTContext.h.

Referenced by clang::ASTContext::getRawCommentForAnyRedecl().

Definition at line 574 of file ASTContext.h.

Referenced by clang::ASTContext::getRawCommentForAnyRedecl().

Definition at line 570 of file ASTContext.h.

Referenced by clang::ASTContext::getRawCommentForAnyRedecl().

Definition at line 586 of file ASTContext.h.

Referenced by clang::ASTContext::getRawCommentForAnyRedecl().

Definition at line 578 of file ASTContext.h.

Referenced by clang::ASTContext::getRawCommentForAnyRedecl().


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