class GCCAsmStmt::AsmStringPiece
Declaration
class GCCAsmStmt::AsmStringPiece { /* full declaration omitted */ };
Description
AsmStringPiece - this is part of a decomposed asm string specification (for use with the AnalyzeAsmString function below). An asm string is considered to be a concatenation of these parts.
Declared at: clang/include/clang/AST/Stmt.h:3069
Member Variables
- private clang::GCCAsmStmt::AsmStringPiece::Kind MyKind
- private std::string Str
- private unsigned int OperandNo
- private clang::CharSourceRange Range
Method Overview
- public AsmStringPiece(const std::string & S)
- public AsmStringPiece(unsigned int OpNo, const std::string & S, clang::SourceLocation Begin, clang::SourceLocation End)
- public char getModifier() const
- public unsigned int getOperandNo() const
- public clang::CharSourceRange getRange() const
- public const std::string & getString() const
- public bool isOperand() const
- public bool isString() const
Methods
¶AsmStringPiece(const std::string& S)
AsmStringPiece(const std::string& S)
Declared at: clang/include/clang/AST/Stmt.h:3085
Parameters
- const std::string& S
¶AsmStringPiece(unsigned int OpNo,
const std::string& S,
clang::SourceLocation Begin,
clang::SourceLocation End)
AsmStringPiece(unsigned int OpNo,
const std::string& S,
clang::SourceLocation Begin,
clang::SourceLocation End)
Declared at: clang/include/clang/AST/Stmt.h:3086
Parameters
- unsigned int OpNo
- const std::string& S
- clang::SourceLocation Begin
- clang::SourceLocation End
¶char getModifier() const
char getModifier() const
Description
getModifier - Get the modifier for this operand, if present. This returns ' \ 0' if there was no modifier.
Declared at: clang/include/clang/AST/Stmt.h:3108
¶unsigned int getOperandNo() const
unsigned int getOperandNo() const
Declared at: clang/include/clang/AST/Stmt.h:3096
¶clang::CharSourceRange getRange() const
clang::CharSourceRange getRange() const
Declared at: clang/include/clang/AST/Stmt.h:3101
¶const std::string& getString() const
const std::string& getString() const
Declared at: clang/include/clang/AST/Stmt.h:3094
¶bool isOperand() const
bool isOperand() const
Declared at: clang/include/clang/AST/Stmt.h:3092
¶bool isString() const
bool isString() const
Declared at: clang/include/clang/AST/Stmt.h:3091