clang API Documentation
#include <Stmt.h>
Public Types | |
| enum | Kind { String, Operand } |
Public Member Functions | |
| AsmStringPiece (const std::string &S) | |
| AsmStringPiece (unsigned OpNo, char Modifier) | |
| bool | isString () const |
| bool | isOperand () const |
| const std::string & | getString () const |
| unsigned | getOperandNo () const |
| char | getModifier () const |
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.
| clang::AsmStmt::AsmStringPiece::AsmStringPiece | ( | const std::string & | S | ) | [inline] |
| clang::AsmStmt::AsmStringPiece::AsmStringPiece | ( | unsigned | OpNo, |
| char | Modifier | ||
| ) | [inline] |
| char clang::AsmStmt::AsmStringPiece::getModifier | ( | ) | const [inline] |
getModifier - Get the modifier for this operand, if present. This returns '\0' if there was no modifier.
Definition at line 1445 of file Stmt.h.
References isOperand().
| unsigned clang::AsmStmt::AsmStringPiece::getOperandNo | ( | ) | const [inline] |
| const std::string& clang::AsmStmt::AsmStringPiece::getString | ( | ) | const [inline] |
Definition at line 1433 of file Stmt.h.
References isString().
| bool clang::AsmStmt::AsmStringPiece::isOperand | ( | ) | const [inline] |
Definition at line 1431 of file Stmt.h.
References Operand.
Referenced by getModifier(), getOperandNo(), and isOperandMentioned().
| bool clang::AsmStmt::AsmStringPiece::isString | ( | ) | const [inline] |