clang API Documentation

Public Member Functions | Static Public Member Functions
clang::FileScopeAsmDecl Class Reference

#include <Decl.h>

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

List of all members.

Public Member Functions

SourceLocation getAsmLoc () const
SourceLocation getRParenLoc () const
void setRParenLoc (SourceLocation L)
SourceRange getSourceRange () const override LLVM_READONLY
 Source range that this declaration covers.
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 3282 of file Decl.h.


Member Function Documentation

static bool clang::FileScopeAsmDecl::classof ( const Decl D) [inline, static]

Definition at line 3307 of file Decl.h.

References clang::Decl::getKind().

static bool clang::FileScopeAsmDecl::classofKind ( Kind  K) [inline, static]

Reimplemented from clang::Decl.

Definition at line 3308 of file Decl.h.

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

Definition at line 3903 of file Decl.cpp.

References AttributeLangSupport::C.

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

Definition at line 3910 of file Decl.cpp.

References AttributeLangSupport::C.

Definition at line 3296 of file Decl.h.

Definition at line 3303 of file Decl.h.

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

Definition at line 3304 of file Decl.h.

Definition at line 3297 of file Decl.h.

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

SourceRange clang::FileScopeAsmDecl::getSourceRange ( ) const [inline, override, virtual]

Source range that this declaration covers.

Reimplemented from clang::Decl.

Definition at line 3299 of file Decl.h.

Definition at line 3305 of file Decl.h.

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

Definition at line 3298 of file Decl.h.

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


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