2017-03-11 08:07:32 +00:00
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
struct MergeableUpdate {
|
|
|
|
int a;
|
|
|
|
int b;
|
|
|
|
std::vector<int> to_add;
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT:
|
|
|
|
{
|
2017-05-21 03:46:15 +00:00
|
|
|
"includes": [{
|
|
|
|
"line": 1,
|
2017-06-09 05:30:11 +00:00
|
|
|
"resolved_path": "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/vector"
|
2017-05-21 03:46:15 +00:00
|
|
|
}],
|
2017-06-09 05:30:11 +00:00
|
|
|
"dependencies": ["C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/vector", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/xmemory", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/xmemory0", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/cstdint", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/yvals.h", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/crtdefs.h", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/vcruntime.h", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/sal.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt.h", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/stdint.h", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/cstdlib", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/stdlib.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_malloc.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_search.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/stddef.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_wstdlib.h", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/limits.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/math.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_math.h", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/limits", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/ymath.h", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/cfloat", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/float.h", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/climits", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/cmath", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/xtgmath.h", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/xtr1common", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/cwchar", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/wchar.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_memcpy_s.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/errno.h", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/vcruntime_string.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_wconio.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_stdio_config.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_wctype.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_wdirect.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_wio.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_wprocess.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_wstdio.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_wstring.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/corecrt_wtime.h", "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt/sys/stat.h", "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include/xstddef", "
|
2017-03-11 08:07:32 +00:00
|
|
|
"types": [{
|
|
|
|
"id": 0,
|
|
|
|
"usr": "c:@S@MergeableUpdate",
|
|
|
|
"short_name": "MergeableUpdate",
|
2017-04-15 04:58:07 +00:00
|
|
|
"detailed_name": "MergeableUpdate",
|
2017-04-05 08:29:15 +00:00
|
|
|
"definition_spelling": "3:8-3:23",
|
|
|
|
"definition_extent": "3:1-7:2",
|
2017-03-11 08:07:32 +00:00
|
|
|
"vars": [0, 1, 2],
|
2017-04-19 04:58:39 +00:00
|
|
|
"uses": ["3:8-3:23"]
|
2017-04-03 01:34:15 +00:00
|
|
|
}, {
|
|
|
|
"id": 1,
|
|
|
|
"usr": "c:@N@std@ST>2#T#T@vector",
|
2017-04-21 07:04:56 +00:00
|
|
|
"instances": [2],
|
2017-04-19 04:58:39 +00:00
|
|
|
"uses": ["6:8-6:14"]
|
2017-03-11 08:07:32 +00:00
|
|
|
}],
|
|
|
|
"vars": [{
|
|
|
|
"id": 0,
|
|
|
|
"usr": "c:@S@MergeableUpdate@FI@a",
|
|
|
|
"short_name": "a",
|
2017-04-15 04:58:07 +00:00
|
|
|
"detailed_name": "int MergeableUpdate::a",
|
2017-04-05 08:29:15 +00:00
|
|
|
"definition_spelling": "4:7-4:8",
|
|
|
|
"definition_extent": "4:3-4:8",
|
2017-03-11 08:07:32 +00:00
|
|
|
"declaring_type": 0,
|
2017-05-21 01:26:50 +00:00
|
|
|
"is_local": false,
|
2017-04-05 08:29:15 +00:00
|
|
|
"uses": ["4:7-4:8"]
|
2017-03-11 08:07:32 +00:00
|
|
|
}, {
|
|
|
|
"id": 1,
|
|
|
|
"usr": "c:@S@MergeableUpdate@FI@b",
|
|
|
|
"short_name": "b",
|
2017-04-15 04:58:07 +00:00
|
|
|
"detailed_name": "int MergeableUpdate::b",
|
2017-04-05 08:29:15 +00:00
|
|
|
"definition_spelling": "5:7-5:8",
|
|
|
|
"definition_extent": "5:3-5:8",
|
2017-03-11 08:07:32 +00:00
|
|
|
"declaring_type": 0,
|
2017-05-21 01:26:50 +00:00
|
|
|
"is_local": false,
|
2017-04-05 08:29:15 +00:00
|
|
|
"uses": ["5:7-5:8"]
|
2017-03-11 08:07:32 +00:00
|
|
|
}, {
|
|
|
|
"id": 2,
|
|
|
|
"usr": "c:@S@MergeableUpdate@FI@to_add",
|
|
|
|
"short_name": "to_add",
|
2017-04-15 04:58:07 +00:00
|
|
|
"detailed_name": "std::vector<int> MergeableUpdate::to_add",
|
2017-04-05 08:29:15 +00:00
|
|
|
"definition_spelling": "6:20-6:26",
|
|
|
|
"definition_extent": "6:3-6:26",
|
2017-03-11 08:07:32 +00:00
|
|
|
"variable_type": 1,
|
|
|
|
"declaring_type": 0,
|
2017-05-21 01:26:50 +00:00
|
|
|
"is_local": false,
|
2017-04-05 08:29:15 +00:00
|
|
|
"uses": ["6:20-6:26"]
|
2017-03-11 08:07:32 +00:00
|
|
|
}]
|
|
|
|
}
|
|
|
|
*/
|