clang 19.0.0git
Namespaces | 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/StmtObjC.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 <optional>

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Functions

static const FunctionProtoType * clang::GetUnderlyingFunction (QualType T)
 
static bool clang::exceptionSpecNotKnownYet (const FunctionDecl *FD)
 
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.
 
static bool clang::hasImplicitExceptionSpec (FunctionDecl *Decl)
 Determine whether a function has an implicitly-generated exception specification.
 
static bool clang::CheckSpecForTypesEquivalent (Sema &S, const PartialDiagnostic &DiagID, const PartialDiagnostic &NoteID, QualType Target, SourceLocation TargetLoc, QualType Source, SourceLocation SourceLoc)
 
static CanThrowResult clang::canSubStmtsThrow (Sema &Self, const Stmt *S)
 
static CanThrowResult clang::canVarDeclThrow (Sema &Self, const VarDecl *VD)
 
static CanThrowResult clang::canDynamicCastThrow (const CXXDynamicCastExpr *DC)
 
static CanThrowResult clang::canTypeidThrow (Sema &S, const CXXTypeidExpr *DC)