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

Methods

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)

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

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

Declared at: clang/include/clang/AST/Stmt.h:3096

clang::CharSourceRange getRange() const

Declared at: clang/include/clang/AST/Stmt.h:3101

const std::string& getString() const

Declared at: clang/include/clang/AST/Stmt.h:3094

bool isOperand() const

Declared at: clang/include/clang/AST/Stmt.h:3092

bool isString() const

Declared at: clang/include/clang/AST/Stmt.h:3091