Changeset View
Changeset View
Standalone View
Standalone View
plugins/clang/tests/files/variables.cpp
1 | class foo | 1 | class foo | ||
---|---|---|---|---|---|
2 | { | 2 | { | ||
3 | /// "isStatic" : true | 3 | /// "isStatic" : true | ||
4 | static int m; | 4 | static int m; | ||
5 | /// "isStatic" : false | 5 | /// "isStatic" : false | ||
6 | int b; | 6 | int b; | ||
7 | }; | 7 | }; | ||
8 | 8 | | |||
9 | /// "internalContext" : { "localDeclarationCount" : 1, "findDeclarations" : { "" : {"range" : "[(9, 10), (9, 10)]" } } } | 9 | /// "internalContext" : { "localDeclarationCount" : 1, "findDeclarations" : { "" : {"range" : "[(9, 10), (9, 10)]" } } } | ||
10 | void f(int); | 10 | void f(int); | ||
11 | /// "internalContext" : { "localDeclarationCount" : 1} | 11 | /// "internalContext" : { "localDeclarationCount" : 1} | ||
12 | void f2(int a); | 12 | void f2(int a); | ||
13 | | ||||
14 | /// "isExplicitlyTyped" : true | ||||
15 | int a = 1; | ||||
16 | /// "isExplicitlyTyped" : false | ||||
17 | auto b = 2; |