-
Notifications
You must be signed in to change notification settings - Fork 1
/
analysis_target.h
83 lines (74 loc) · 1.32 KB
/
analysis_target.h
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#pragma once
#include <string>
#include <set>
using namespace std;
static int first//注释暂时,这里有各种中文字符
, second123, _klksd123;
template<class T>class templateclass {
int i;
templateclass();
//templateclass(int):i(0){
//}
~templateclass();
};
template<class T>void templatefunction();
;;;;
static double 中文变量名测试 = 100;
// Lambda Variant
static auto lambdavar = []() {"\}\[\}\)\("; };
;;;
enum namedenum
{
ldfslkd,
sk,
lk23
};
static enum : long long {
kladf,
klsdjf = 67,
sldf
}eee, eeee2;
//void (*lamfunc)() = []() {};
static const int* intptr = nullptr;
static const class name {} name1, name2;
static class name *name3, name4;
static set<int> funct(int, char)/*C Style Comment*/
{
char ch = 'a\\
\n\'';// VS has a bug for ch = '\t'
auto literal = "lsjdklj\"klj//kjsdf\
sk> )d]jfk}";
[]() {}();
{
// TODO
}
return set<int>();
}
// 注释
class test
{
template<class T>class tc {
T vvv;
};
public:int vvvv;
// 注释
class vvvv {
double v;
};
int vv;
double 中文变量名;
// 注释
int func();
void 中文函数名(int i);
private:
void function(const int const v);
};
class testb : public test
{
public:
int func2(void* v, int *);
};
int testb::func2(void* v, int*) throw()
{
return 0;
}