Cppcheck
Macros | Functions | Variables
tokenlist.cpp File Reference
#include "tokenlist.h"
#include "astutils.h"
#include "errorlogger.h"
#include "errortypes.h"
#include "keywords.h"
#include "library.h"
#include "path.h"
#include "platform.h"
#include "settings.h"
#include "standards.h"
#include "token.h"
#include <cctype>
#include <exception>
#include <functional>
#include <utility>
#include <set>
#include <stack>
#include <unordered_set>
#include <simplecpp.h>
#include <cassert>

Go to the source code of this file.

Macros

#define ASSERT_LANG(x)   assert(x)
 

Functions

static TokenskipDecl (Token *tok, std::vector< Token * > *inner=nullptr)
 
static bool iscast (const Token *tok, bool cpp)
 

Variables

static constexpr int AST_MAX_DEPTH = 150
 

Macro Definition Documentation

◆ ASSERT_LANG

#define ASSERT_LANG (   x)    assert(x)

Definition at line 48 of file tokenlist.cpp.

Function Documentation

◆ iscast()

static bool iscast ( const Token tok,
bool  cpp 
)
static

◆ skipDecl()

static Token* skipDecl ( Token tok,
std::vector< Token * > *  inner = nullptr 
)
static

Variable Documentation

◆ AST_MAX_DEPTH

constexpr int AST_MAX_DEPTH = 150
staticconstexpr

Definition at line 56 of file tokenlist.cpp.