clang  8.0.0svn
Macros | Functions
StmtProfile.cpp File Reference
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/ExprObjC.h"
#include "clang/AST/ExprOpenMP.h"
#include "clang/AST/ODRHash.h"
#include "clang/AST/StmtVisitor.h"
#include "llvm/ADT/FoldingSet.h"
#include "clang/AST/StmtNodes.inc"
#include "clang/Basic/OpenMPKinds.def"
Include dependency graph for StmtProfile.cpp:

Go to the source code of this file.

Macros

#define STMT(Node, Base)   void Visit##Node(const Node *S);
 
#define OPENMP_CLAUSE(Name, Class)   void Visit##Class(const Class *C);
 

Functions

static Stmt::StmtClass DecodeOperatorCall (const CXXOperatorCallExpr *S, UnaryOperatorKind &UnaryOp, BinaryOperatorKind &BinaryOp)
 

Macro Definition Documentation

◆ OPENMP_CLAUSE

#define OPENMP_CLAUSE (   Name,
  Class 
)    void Visit##Class(const Class *C);

Definition at line 414 of file StmtProfile.cpp.

◆ STMT

#define STMT (   Node,
  Base 
)    void Visit##Node(const Node *S);

Definition at line 43 of file StmtProfile.cpp.

Function Documentation

◆ DecodeOperatorCall()

static Stmt::StmtClass DecodeOperatorCall ( const CXXOperatorCallExpr S,
UnaryOperatorKind UnaryOp,
BinaryOperatorKind BinaryOp 
)
static

Definition at line 1287 of file StmtProfile.cpp.

References clang::FunctionParmPackExpr::begin(), clang::C, clang::TemplateArgument::Declaration, clang::FunctionParmPackExpr::end(), clang::LambdaExpr::explicit_capture_begin(), clang::LambdaExpr::explicit_capture_end(), clang::TemplateArgument::Expression, clang::CXXNewExpr::getAllocatedType(), clang::TypeTraitExpr::getArg(), clang::CallExpr::getArg(), getArgument(), clang::SubstNonTypeTemplateParmPackExpr::getArgumentPack(), clang::TemplateArgument::getAsDecl(), clang::TemplateArgument::getAsExpr(), clang::TemplateArgument::getAsIntegral(), clang::TemplateArgument::getAsTemplateOrTemplatePattern(), clang::TemplateArgument::getAsType(), clang::ObjCSubscriptRefExpr::getAtIndexMethodDecl(), clang::LambdaExpr::getBody(), clang::ObjCBridgedCastExpr::getBridgeKind(), clang::CXXConstructExpr::getConstructor(), clang::CXXInheritedCtorInitExpr::getConstructor(), clang::ObjCIvarRefExpr::getDecl(), clang::DependentScopeDeclRefExpr::getDeclName(), clang::CXXPseudoDestructorExpr::getDestroyedType(), clang::CXXPseudoDestructorExpr::getDestroyedTypeIdentifier(), clang::CXXPseudoDestructorExpr::getDestroyedTypeInfo(), clang::CXXTemporary::getDestructor(), clang::ObjCEncodeExpr::getEncodedType(), clang::ObjCPropertyRefExpr::getExplicitProperty(), clang::CXXDefaultInitExpr::getField(), clang::ObjCPropertyRefExpr::getImplicitPropertyGetter(), clang::ObjCPropertyRefExpr::getImplicitPropertySetter(), clang::CXXNewExpr::getInitializationStyle(), clang::TemplateArgument::getIntegralType(), clang::TemplateArgument::getKind(), clang::CXXDependentScopeMemberExpr::getMember(), clang::UnresolvedMemberExpr::getMemberName(), clang::ObjCMessageExpr::getMethodDecl(), clang::OverloadExpr::getName(), clang::TemplateArgument::getNullPtrType(), clang::TypeTraitExpr::getNumArgs(), clang::CallExpr::getNumArgs(), clang::FunctionParmPackExpr::getNumExpansions(), clang::CXXNewExpr::getNumPlacementArgs(), clang::OverloadExpr::getNumTemplateArgs(), clang::DependentScopeDeclRefExpr::getNumTemplateArgs(), clang::CXXDependentScopeMemberExpr::getNumTemplateArgs(), clang::CXXOperatorCallExpr::getOperator(), clang::CXXFoldExpr::getOperator(), clang::CXXNewExpr::getOperatorDelete(), clang::CXXDeleteExpr::getOperatorDelete(), clang::CXXNewExpr::getOperatorNew(), clang::SizeOfPackExpr::getPack(), clang::CXXDefaultArgExpr::getParam(), clang::SubstNonTypeTemplateParmPackExpr::getParameterPack(), clang::FunctionParmPackExpr::getParameterPack(), clang::SizeOfPackExpr::getPartialArguments(), clang::MSPropertyRefExpr::getPropertyDecl(), clang::ObjCProtocolExpr::getProtocol(), clang::CXXPseudoDestructorExpr::getQualifier(), clang::OverloadExpr::getQualifier(), clang::DependentScopeDeclRefExpr::getQualifier(), clang::CXXDependentScopeMemberExpr::getQualifier(), clang::ExpressionTraitExpr::getQueriedExpression(), clang::ArrayTypeTraitExpr::getQueriedType(), clang::SubstNonTypeTemplateParmExpr::getReplacement(), clang::CXXPseudoDestructorExpr::getScopeTypeInfo(), clang::ObjCSelectorExpr::getSelector(), clang::ObjCMessageExpr::getSelector(), clang::ObjCPropertyRefExpr::getSuperReceiverType(), clang::OverloadExpr::getTemplateArgs(), clang::DependentScopeDeclRefExpr::getTemplateArgs(), clang::CXXDependentScopeMemberExpr::getTemplateArgs(), clang::CXXBindTemporaryExpr::getTemporary(), clang::TypeTraitExpr::getTrait(), clang::ArrayTypeTraitExpr::getTrait(), clang::ExpressionTraitExpr::getTrait(), clang::TypeSourceInfo::getType(), clang::CXXUnresolvedConstructExpr::getTypeAsWritten(), clang::CXXTypeidExpr::getTypeOperandSourceInfo(), clang::CXXUuidofExpr::getTypeOperandSourceInfo(), clang::ObjCBoolLiteralExpr::getValue(), clang::CXXBoolLiteralExpr::getValue(), clang::OverloadExpr::hasExplicitTemplateArgs(), clang::DependentScopeDeclRefExpr::hasExplicitTemplateArgs(), clang::CXXDependentScopeMemberExpr::hasExplicitTemplateArgs(), clang::TemplateArgument::Integral, clang::CXXNewExpr::isArray(), clang::CXXDeleteExpr::isArrayForm(), clang::ObjCIvarRefExpr::isArrow(), clang::ObjCIsaExpr::isArrow(), clang::CXXPseudoDestructorExpr::isArrow(), clang::CXXDependentScopeMemberExpr::isArrow(), clang::UnresolvedMemberExpr::isArrow(), clang::CXXConstructExpr::isElidable(), clang::ObjCIvarRefExpr::isFreeIvar(), clang::CXXDeleteExpr::isGlobalDelete(), clang::CXXNewExpr::isGlobalNew(), clang::CXXThisExpr::isImplicit(), clang::CXXDependentScopeMemberExpr::isImplicitAccess(), clang::UnresolvedMemberExpr::isImplicitAccess(), clang::ObjCPropertyRefExpr::isImplicitProperty(), clang::CXXUnresolvedConstructExpr::isListInitialization(), clang::CXXNewExpr::isParenTypeId(), clang::SizeOfPackExpr::isPartiallySubstituted(), clang::ObjCPropertyRefExpr::isSuperReceiver(), clang::Expr::isTypeDependent(), clang::CXXTypeidExpr::isTypeOperand(), clang::CXXUuidofExpr::isTypeOperand(), clang::LCK_ByCopy, clang::LCK_ByRef, clang::LCK_StarThis, clang::LCK_This, clang::LCK_VLAType, clang::TemplateArgument::Null, clang::TemplateArgument::NullPtr, clang::NUM_OVERLOADED_OPERATORS, clang::OO_None, P, clang::TemplateArgument::Pack, clang::TemplateArgument::pack_elements(), clang::ObjCSubscriptRefExpr::setAtIndexMethodDecl(), clang::ObjCIndirectCopyRestoreExpr::shouldCopy(), clang::TemplateArgument::Template, clang::TemplateArgument::TemplateExpansion, and clang::TemplateArgument::Type.