clang  3.9.0
Public Member Functions | Static Public Member Functions | List of all members
clang::FileScopeAsmDecl Class Reference

#include <Decl.h>

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

Public Member Functions

SourceLocation getAsmLoc () const
 
SourceLocation getRParenLoc () const
 
void setRParenLoc (SourceLocation L)
 
SourceRange getSourceRange () const override LLVM_READONLY
 
const StringLiteralgetAsmString () const
 
StringLiteralgetAsmString ()
 
void setAsmString (StringLiteral *Asm)
 

Static Public Member Functions

static FileScopeAsmDeclCreate (ASTContext &C, DeclContext *DC, StringLiteral *Str, SourceLocation AsmLoc, SourceLocation RParenLoc)
 
static FileScopeAsmDeclCreateDeserialized (ASTContext &C, unsigned ID)
 
static bool classof (const Decl *D)
 
static bool classofKind (Kind K)
 

Detailed Description

Definition at line 3423 of file Decl.h.

Member Function Documentation

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

Definition at line 3448 of file Decl.h.

References clang::ParmVarDecl::classofKind().

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

Definition at line 3449 of file Decl.h.

FileScopeAsmDecl * FileScopeAsmDecl::Create ( ASTContext C,
DeclContext DC,
StringLiteral Str,
SourceLocation  AsmLoc,
SourceLocation  RParenLoc 
)
static

Definition at line 4187 of file Decl.cpp.

References AttributeLangSupport::C.

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

FileScopeAsmDecl * FileScopeAsmDecl::CreateDeserialized ( ASTContext C,
unsigned  ID 
)
static

Definition at line 4194 of file Decl.cpp.

References AttributeLangSupport::C, and ID.

SourceLocation clang::FileScopeAsmDecl::getAsmLoc ( ) const
inline

Definition at line 3437 of file Decl.h.

const StringLiteral* clang::FileScopeAsmDecl::getAsmString ( ) const
inline

Definition at line 3444 of file Decl.h.

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

StringLiteral* clang::FileScopeAsmDecl::getAsmString ( )
inline

Definition at line 3445 of file Decl.h.

SourceLocation clang::FileScopeAsmDecl::getRParenLoc ( ) const
inline

Definition at line 3438 of file Decl.h.

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

SourceRange clang::FileScopeAsmDecl::getSourceRange ( ) const
inlineoverride

Definition at line 3440 of file Decl.h.

void clang::FileScopeAsmDecl::setAsmString ( StringLiteral Asm)
inline

Definition at line 3446 of file Decl.h.

Referenced by clang::ASTDeclReader::VisitFileScopeAsmDecl().

void clang::FileScopeAsmDecl::setRParenLoc ( SourceLocation  L)
inline

Definition at line 3439 of file Decl.h.

Referenced by clang::ASTDeclReader::VisitFileScopeAsmDecl().


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