GDB (xrefs)
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
lookup_name_info-selftests.c File Reference
#include "defs.h"
#include "gdbsupport/selftest.h"
#include "symtab.h"

Go to the source code of this file.

Namespaces

namespace  selftests
 
namespace  selftests::lookup_name
 

Macros

#define CHECK_1(INCOMPLETE, LANG, NAME, EXPECTED)
 
#define CHECK(LANG, NAME, EXPECTED)    CHECK_1(false, LANG, NAME, EXPECTED)
 
#define CHECK_INCOMPL(LANG, NAME, EXPECTED)    CHECK_1 (true, LANG, NAME, EXPECTED)
 

Functions

static void selftests::lookup_name::check_make_paramless (const char *file, int line, enum language lang, const char *name, const char *expected, bool completion_mode)
 
static void selftests::lookup_name::run_tests ()
 
void _initialize_lookup_name_info_selftests ()
 

Macro Definition Documentation

◆ CHECK

#define CHECK ( LANG,
NAME,
EXPECTED )    CHECK_1(false, LANG, NAME, EXPECTED)

◆ CHECK_1

#define CHECK_1 ( INCOMPLETE,
LANG,
NAME,
EXPECTED )
Value:
do \
{ \
check_make_paramless (__FILE__, __LINE__, \
LANG, NAME, \
(INCOMPLETE) ? "" : (EXPECTED), false); \
check_make_paramless (__FILE__, __LINE__, \
LANG, NAME, EXPECTED, true); \
} \
while (0)
#define NAME
Definition ada-exp.c:568

◆ CHECK_INCOMPL

#define CHECK_INCOMPL ( LANG,
NAME,
EXPECTED )    CHECK_1 (true, LANG, NAME, EXPECTED)

Function Documentation

◆ _initialize_lookup_name_info_selftests()

void _initialize_lookup_name_info_selftests ( )

Definition at line 108 of file lookup_name_info-selftests.c.

References selftests::lookup_name::run_tests().