clang API Documentation
#include <Decl.h>


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 StringLiteral * | getAsmString () const |
| StringLiteral * | getAsmString () |
| void | setAsmString (StringLiteral *Asm) |
Static Public Member Functions | |
| static FileScopeAsmDecl * | Create (ASTContext &C, DeclContext *DC, StringLiteral *Str, SourceLocation AsmLoc, SourceLocation RParenLoc) |
| static FileScopeAsmDecl * | CreateDeserialized (ASTContext &C, unsigned ID) |
| static bool | classof (const Decl *D) |
| static bool | classofKind (Kind K) |
| 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.
| 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().
| FileScopeAsmDecl * FileScopeAsmDecl::CreateDeserialized | ( | ASTContext & | C, |
| unsigned | ID | ||
| ) | [static] |
Definition at line 3910 of file Decl.cpp.
References AttributeLangSupport::C.
| SourceLocation clang::FileScopeAsmDecl::getAsmLoc | ( | ) | const [inline] |
| const StringLiteral* clang::FileScopeAsmDecl::getAsmString | ( | ) | const [inline] |
Definition at line 3303 of file Decl.h.
Referenced by clang::ASTDeclWriter::VisitFileScopeAsmDecl().
| StringLiteral* clang::FileScopeAsmDecl::getAsmString | ( | ) | [inline] |
| SourceLocation clang::FileScopeAsmDecl::getRParenLoc | ( | ) | const [inline] |
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.
| void clang::FileScopeAsmDecl::setAsmString | ( | StringLiteral * | Asm | ) | [inline] |
Definition at line 3305 of file Decl.h.
Referenced by clang::ASTDeclReader::VisitFileScopeAsmDecl().
| void clang::FileScopeAsmDecl::setRParenLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 3298 of file Decl.h.
Referenced by clang::ASTDeclReader::VisitFileScopeAsmDecl().