clang  6.0.0svn
Namespaces | Macros | Functions
SemaExceptionSpec.cpp File Reference
#include "clang/Sema/SemaInternal.h"
#include "clang/AST/ASTMutationListener.h"
#include "clang/AST/CXXInheritance.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/TypeLoc.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/SourceManager.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallString.h"
#include "clang/AST/StmtNodes.inc"
Include dependency graph for SemaExceptionSpec.cpp:

Go to the source code of this file.

Namespaces

 clang
 Dataflow Directional Tag Classes.
 

Macros

#define STMT(CLASS, PARENT)   case Expr::CLASS##Class:
 
#define STMT_RANGE(Base, First, Last)
 
#define LAST_STMT_RANGE(BASE, FIRST, LAST)
 
#define EXPR(CLASS, PARENT)
 
#define ABSTRACT_STMT(STMT)
 

Functions

static const FunctionProtoType * clang::GetUnderlyingFunction (QualType T)
 
static bool clang::CheckEquivalentExceptionSpecImpl (Sema &S, const PartialDiagnostic &DiagID, const PartialDiagnostic &NoteID, const FunctionProtoType *Old, SourceLocation OldLoc, const FunctionProtoType *New, SourceLocation NewLoc, bool *MissingExceptionSpecification, bool *MissingEmptyExceptionSpecification, bool AllowNoexceptAllMatchWithNoSpec, bool IsOperatorNew)
 CheckEquivalentExceptionSpec - Check if the two types have compatible exception specifications. More...
 
static bool clang::hasImplicitExceptionSpec (FunctionDecl *Decl)
 Determine whether a function has an implicitly-generated exception specification. More...
 
static bool clang::CheckSpecForTypesEquivalent (Sema &S, const PartialDiagnostic &DiagID, const PartialDiagnostic &NoteID, QualType Target, SourceLocation TargetLoc, QualType Source, SourceLocation SourceLoc)
 
static CanThrowResult clang::canSubExprsThrow (Sema &S, const Expr *E)
 
static CanThrowResult clang::canCalleeThrow (Sema &S, const Expr *E, const Decl *D)
 
static CanThrowResult clang::canDynamicCastThrow (const CXXDynamicCastExpr *DC)
 
static CanThrowResult clang::canTypeidThrow (Sema &S, const CXXTypeidExpr *DC)
 

Macro Definition Documentation

◆ ABSTRACT_STMT

#define ABSTRACT_STMT (   STMT)

◆ EXPR

#define EXPR (   CLASS,
  PARENT 
)

◆ LAST_STMT_RANGE

#define LAST_STMT_RANGE (   BASE,
  FIRST,
  LAST 
)

◆ STMT

#define STMT (   CLASS,
  PARENT 
)    case Expr::CLASS##Class:

◆ STMT_RANGE

#define STMT_RANGE (   Base,
  First,
  Last 
)