class ExpressionTraitExpr

Declaration

class ExpressionTraitExpr : public Expr { /* full declaration omitted */ };

Description

An expression trait intrinsic. Example:

Declared at: clang/include/clang/AST/ExprCXX.h:2840

Inherits from: Expr

Member Variables

private unsigned int ET
The trait. A ExpressionTrait enum in MSVC compatible unsigned.
private unsigned int Value
The value of the type trait. Unspecified if dependent.
private clang::SourceLocation Loc
The location of the type trait keyword.
private clang::SourceLocation RParen
The location of the closing paren.
private clang::Expr* QueriedExpression = nullptr
The expression being queried.

Inherited from Stmt:

protected

Method Overview

  • public ExpressionTraitExpr(clang::SourceLocation loc, clang::ExpressionTrait et, clang::Expr * queried, bool value, clang::SourceLocation rparen, clang::QualType resultType)
  • public ExpressionTraitExpr(clang::Stmt::EmptyShell Empty)
  • public clang::Stmt::child_range children()
  • public clang::Stmt::const_child_range children() const
  • public static bool classof(const clang::Stmt * T)
  • public clang::SourceLocation getBeginLoc() const
  • public clang::SourceLocation getEndLoc() const
  • public clang::Expr * getQueriedExpression() const
  • public clang::ExpressionTrait getTrait() const
  • public bool getValue() const

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

ExpressionTraitExpr(clang::SourceLocation loc,
                    clang::ExpressionTrait et,
                    clang::Expr* queried,
                    bool value,
                    clang::SourceLocation rparen,
                    clang::QualType resultType)

Declared at: clang/include/clang/AST/ExprCXX.h:2859

Parameters

clang::SourceLocation loc
clang::ExpressionTrait et
clang::Expr* queried
bool value
clang::SourceLocation rparen
clang::QualType resultType

ExpressionTraitExpr(clang::Stmt::EmptyShell Empty)

Declared at: clang/include/clang/AST/ExprCXX.h:2869

Parameters

clang::Stmt::EmptyShell Empty

clang::Stmt::child_range children()

Declared at: clang/include/clang/AST/ExprCXX.h:2886

clang::Stmt::const_child_range children() const

Declared at: clang/include/clang/AST/ExprCXX.h:2890

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/ExprCXX.h:2881

Parameters

const clang::Stmt* T

clang::SourceLocation getBeginLoc() const

Declared at: clang/include/clang/AST/ExprCXX.h:2872

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/ExprCXX.h:2873

clang::Expr* getQueriedExpression() const

Declared at: clang/include/clang/AST/ExprCXX.h:2877

clang::ExpressionTrait getTrait() const

Declared at: clang/include/clang/AST/ExprCXX.h:2875

bool getValue() const

Declared at: clang/include/clang/AST/ExprCXX.h:2879