clang  3.9.0
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::PragmaDetectMismatchDecl Class Referencefinal

Represents a #pragma detect_mismatch line. More...

#include <Decl.h>

Inheritance diagram for clang::PragmaDetectMismatchDecl:
[legend]
Collaboration diagram for clang::PragmaDetectMismatchDecl:
[legend]

Public Member Functions

StringRef getName () const
 
StringRef getValue () const
 

Static Public Member Functions

static PragmaDetectMismatchDeclCreate (const ASTContext &C, TranslationUnitDecl *DC, SourceLocation Loc, StringRef Name, StringRef Value)
 
static PragmaDetectMismatchDeclCreateDeserialized (ASTContext &C, unsigned ID, unsigned NameValueSize)
 
static bool classof (const Decl *D)
 
static bool classofKind (Kind K)
 

Friends

class ASTDeclReader
 
class ASTDeclWriter
 

Detailed Description

Represents a #pragma detect_mismatch line.

Always a child of TranslationUnitDecl.

Definition at line 143 of file Decl.h.

Member Function Documentation

static bool clang::PragmaDetectMismatchDecl::classof ( const Decl D)
inlinestatic

Definition at line 170 of file Decl.h.

References classofKind().

static bool clang::PragmaDetectMismatchDecl::classofKind ( Kind  K)
inlinestatic

Definition at line 171 of file Decl.h.

Referenced by classof().

PragmaDetectMismatchDecl * PragmaDetectMismatchDecl::Create ( const ASTContext C,
TranslationUnitDecl DC,
SourceLocation  Loc,
StringRef  Name,
StringRef  Value 
)
static

Definition at line 3949 of file Decl.cpp.

References AttributeLangSupport::C.

Referenced by clang::Sema::ActOnPragmaDetectMismatch().

PragmaDetectMismatchDecl * PragmaDetectMismatchDecl::CreateDeserialized ( ASTContext C,
unsigned  ID,
unsigned  NameValueSize 
)
static

Definition at line 3965 of file Decl.cpp.

References AttributeLangSupport::C, and ID.

StringRef clang::PragmaDetectMismatchDecl::getName ( ) const
inline

Definition at line 166 of file Decl.h.

Referenced by clang::ASTDeclWriter::VisitPragmaDetectMismatchDecl().

StringRef clang::PragmaDetectMismatchDecl::getValue ( ) const
inline

Definition at line 167 of file Decl.h.

Referenced by clang::ASTDeclWriter::VisitPragmaDetectMismatchDecl().

Friends And Related Function Documentation

friend class ASTDeclReader
friend

Definition at line 151 of file Decl.h.

friend class ASTDeclWriter
friend

Definition at line 152 of file Decl.h.


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