Cppcheck
Functions | Variables
checkexceptionsafety.cpp File Reference
#include "checkexceptionsafety.h"
#include "errortypes.h"
#include "library.h"
#include "settings.h"
#include "symboldatabase.h"
#include "token.h"
#include <list>
#include <set>
#include <utility>
#include <vector>

Go to the source code of this file.

Functions

static const TokenfunctionThrowsRecursive (const Function *function, std::set< const Function * > &recursive)
 
static const TokenfunctionThrows (const Function *function)
 

Variables

static const CWE CWE398 (398U)
 
static const CWE CWE703 (703U)
 
static const CWE CWE480 (480U)
 

Function Documentation

◆ functionThrows()

static const Token* functionThrows ( const Function function)
static

Definition at line 275 of file checkexceptionsafety.cpp.

References functionThrowsRecursive().

Referenced by CheckExceptionSafety::nothrowThrows().

◆ functionThrowsRecursive()

static const Token* functionThrowsRecursive ( const Function function,
std::set< const Function * > &  recursive 
)
static

Variable Documentation

◆ CWE398

const CWE CWE398(398U) ( 398U  )
static

◆ CWE480

const CWE CWE480(480U) ( 480U  )
static

◆ CWE703

const CWE CWE703(703U) ( 703U  )
static