#include "checkfunctions.h"
#include "astutils.h"
#include "mathlib.h"
#include "platform.h"
#include "standards.h"
#include "symboldatabase.h"
#include "token.h"
#include "tokenize.h"
#include "valueflow.h"
#include "vfvalue.h"
#include <iomanip>
#include <list>
#include <sstream>
#include <unordered_map>
#include <vector>
Go to the source code of this file.
◆ checkMissingReturnScope()
static const Token * checkMissingReturnScope |
( |
const Token * |
tok, |
|
|
const Library & |
library |
|
) |
| |
|
static |
Definition at line 345 of file checkfunctions.cpp.
References Token::getKnownIntValue(), Token::hasKnownIntValue(), isForwardJump(), Token::isKeyword(), Library::isnoreturn(), Library::isnotnoreturn(), Token::link(), Token::Match(), Token::next(), Token::previous(), Token::scope(), Token::simpleMatch(), Token::str(), and Token::tokAt().
Referenced by CheckFunctions::checkMissingReturn().
◆ isForwardJump()
static bool isForwardJump |
( |
const Token * |
gotoToken | ) |
|
|
static |
◆ CWE252
const CWE CWE252(252U) |
( |
252U |
| ) |
|
|
static |
◆ CWE477
const CWE CWE477(477U) |
( |
477U |
| ) |
|
|
static |
◆ CWE628
const CWE CWE628(628U) |
( |
628U |
| ) |
|
|
static |
◆ CWE686
const CWE CWE686(686U) |
( |
686U |
| ) |
|
|
static |
◆ CWE687
const CWE CWE687(687U) |
( |
687U |
| ) |
|
|
static |
◆ CWE688
const CWE CWE688(688U) |
( |
688U |
| ) |
|
|
static |
◆ CWE758
const CWE CWE758(758U) |
( |
758U |
| ) |
|
|
static |