clang 20.0.0git
|
AsmStringPiece - this is part of a decomposed asm string specification (for use with the AnalyzeAsmString function below). More...
#include "clang/AST/Stmt.h"
Public Types | |
enum | Kind { String , Operand } |
Public Member Functions | |
AsmStringPiece (const std::string &S) | |
AsmStringPiece (unsigned OpNo, const std::string &S, SourceLocation Begin, SourceLocation End) | |
bool | isString () const |
bool | isOperand () const |
const std::string & | getString () const |
unsigned | getOperandNo () const |
CharSourceRange | getRange () const |
char | getModifier () const |
getModifier - Get the modifier for this operand, if present. | |
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.
|
inline |
|
inline |
char GCCAsmStmt::AsmStringPiece::getModifier | ( | ) | const |
getModifier - Get the modifier for this operand, if present.
This returns '\0' if there was no modifier.
Definition at line 498 of file Stmt.cpp.
References clang::isLetter(), and isOperand().
Referenced by clang::Sema::ActOnGCCAsmStmt().
|
inline |
Definition at line 3358 of file Stmt.h.
References isOperand().
Referenced by clang::Sema::ActOnGCCAsmStmt(), and isOperandMentioned().
|
inline |
Definition at line 3363 of file Stmt.h.
References isOperand(), and Range.
Referenced by clang::Sema::ActOnGCCAsmStmt().
|
inline |
Definition at line 3356 of file Stmt.h.
Referenced by clang::Sema::ActOnGCCAsmStmt().
|
inline |
Definition at line 3354 of file Stmt.h.
References Operand.
Referenced by clang::Sema::ActOnGCCAsmStmt(), getModifier(), getOperandNo(), getRange(), and isOperandMentioned().
|
inline |