aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/codemodelbackend/unittest/data/complete_extractor_variable.cpp
blob: e8a67f9c6cd6d9b1e7704c93b7d4b51cccd43e04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
void function(int Parameter)
{
    int Var = 0;

}

void function2()
{
    int Var = 0;
    auto Lambda = [&Var]()
    {

    };
}

class Class {
    int Field;

    void function() {

    }
};

template <int NonTypeTemplateParameter>
void function3() {}

#define MacroDefinition


void function4()
{
#ifdef ArgumentDefinition
    int ArgumentDefinitionVariable;
#endif

}