mirror of
https://github.com/MaskRay/ccls.git
synced 2025-12-26 08:53:31 +00:00
Compare commits
179 Commits
0.20181111
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d31cc9f076 | ||
|
|
a7068f13ec | ||
|
|
344e2e6557 | ||
|
|
791f6ba974 | ||
|
|
2b6d3753f7 | ||
|
|
e0a6ee33cc | ||
|
|
4427527ed8 | ||
|
|
44fb405d00 | ||
|
|
962c0e72b4 | ||
|
|
48f1a006b7 | ||
|
|
4331c89586 | ||
|
|
3640f899f1 | ||
|
|
664f952f38 | ||
|
|
cc13ced659 | ||
|
|
50fd8d069e | ||
|
|
192a82ba85 | ||
|
|
349cdc471b | ||
|
|
ddbe41300f | ||
|
|
e5e101253a | ||
|
|
559b416409 | ||
|
|
88e382f8a3 | ||
|
|
f8d2778b65 | ||
|
|
f36ecb0c0e | ||
|
|
490edc1e02 | ||
|
|
7b17426b9f | ||
|
|
ee2d4f5b9a | ||
|
|
ba38e13b93 | ||
|
|
8bc3959537 | ||
|
|
2468edc0b3 | ||
|
|
6dc564f2a8 | ||
|
|
8a93950fb9 | ||
|
|
74458915b3 | ||
|
|
790daca4b2 | ||
|
|
b28cec1872 | ||
|
|
c7596e3712 | ||
|
|
8422f0a522 | ||
|
|
dce86b1362 | ||
|
|
5a48e6c419 | ||
|
|
3ce756e39a | ||
|
|
f21fd7e5a2 | ||
|
|
80d06eb476 | ||
|
|
c018bce9af | ||
|
|
c6686be382 | ||
|
|
0ada56ef3b | ||
|
|
4cd308d7fd | ||
|
|
aca02d209b | ||
|
|
40145807d5 | ||
|
|
a2d2fd8167 | ||
|
|
4ff22e6603 | ||
|
|
4c66fdf09d | ||
|
|
feb153a843 | ||
|
|
68d6e4122d | ||
|
|
a3c5d4a1eb | ||
|
|
20a9f7b5f4 | ||
|
|
55c0d5b4eb | ||
|
|
aa4d2d1b43 | ||
|
|
125915e254 | ||
|
|
ca95f48a53 | ||
|
|
5108cfafcb | ||
|
|
468258d641 | ||
|
|
6244594d71 | ||
|
|
8cf8a3c4a4 | ||
|
|
7a05f1ed06 | ||
|
|
c5acf62060 | ||
|
|
de800ebb70 | ||
|
|
c10642d29b | ||
|
|
386f714f5e | ||
|
|
6c87a4656c | ||
|
|
e373f9ed97 | ||
|
|
a2ecd9a8f0 | ||
|
|
06a04d5102 | ||
|
|
760f5e57ff | ||
|
|
0a1e08a8ca | ||
|
|
7e795e9b9e | ||
|
|
0fe8a16504 | ||
|
|
5935db10fd | ||
|
|
2bffff7b0b | ||
|
|
aa9668a8fc | ||
|
|
0c6be472ce | ||
|
|
b3d694b8bd | ||
|
|
65f86d0498 | ||
|
|
0f0e679edb | ||
|
|
6717986541 | ||
|
|
61a1071634 | ||
|
|
62fbde7873 | ||
|
|
50d7fbc235 | ||
|
|
0eebe0c1a9 | ||
|
|
17dc4a6ecc | ||
|
|
a43e51f3bf | ||
|
|
ab6498e2ff | ||
|
|
86a93b2d71 | ||
|
|
3dac492025 | ||
|
|
795ad205d7 | ||
|
|
c728fe9795 | ||
|
|
ab4b4efcaf | ||
|
|
b7027f89e5 | ||
|
|
20883c047c | ||
|
|
0d911077f4 | ||
|
|
fd3e82b682 | ||
|
|
94727b7eae | ||
|
|
aa2f55eb2b | ||
|
|
0951004370 | ||
|
|
3a364c868b | ||
|
|
4c871d9783 | ||
|
|
4808ccb32c | ||
|
|
b0d42ad8f2 | ||
|
|
a858567686 | ||
|
|
aab9dd6642 | ||
|
|
34c5954420 | ||
|
|
1066548dba | ||
|
|
f1cbf8d550 | ||
|
|
17eaca8a02 | ||
|
|
b6155ddf73 | ||
|
|
7bee63d0e0 | ||
|
|
e576df4f6f | ||
|
|
dbf7d8eb41 | ||
|
|
7c70c0662f | ||
|
|
5d27ac9f34 | ||
|
|
478f849ada | ||
|
|
9ca095f49e | ||
|
|
6a3cff6e50 | ||
|
|
6c7b868556 | ||
|
|
beff1f6e89 | ||
|
|
4047db2669 | ||
|
|
74432a641d | ||
|
|
dcaa5a07af | ||
|
|
9dea14e783 | ||
|
|
f35883f9b4 | ||
|
|
0c04c27e59 | ||
|
|
633d8936a8 | ||
|
|
66e9cbd9a6 | ||
|
|
3bf921b3bd | ||
|
|
aaa97fe8df | ||
|
|
03f91f0681 | ||
|
|
2db67f6edb | ||
|
|
cd0f204349 | ||
|
|
716bc01322 | ||
|
|
84f7d5081f | ||
|
|
9bbb288b57 | ||
|
|
343fa74dc1 | ||
|
|
c6d56519e3 | ||
|
|
f496580081 | ||
|
|
c592f95be0 | ||
|
|
962dcf93c1 | ||
|
|
f99cf50456 | ||
|
|
8835a555f8 | ||
|
|
dd74d03cfc | ||
|
|
52e0289245 | ||
|
|
ab48179946 | ||
|
|
45ac75fce3 | ||
|
|
c085e07b19 | ||
|
|
3edda5cf76 | ||
|
|
6e8a45b25e | ||
|
|
836caba19b | ||
|
|
49ae9e8912 | ||
|
|
e3133bea90 | ||
|
|
20e0beb9f3 | ||
|
|
c06c2ca324 | ||
|
|
25c8928121 | ||
|
|
c941ca1bcd | ||
|
|
a47fb42e30 | ||
|
|
a599aef482 | ||
|
|
9ad2450009 | ||
|
|
b9369e055a | ||
|
|
c6c234725a | ||
|
|
65d856cf8a | ||
|
|
880c515d64 | ||
|
|
d6dd932e6d | ||
|
|
38e87a0729 | ||
|
|
9603a73421 | ||
|
|
7f8f68c0b2 | ||
|
|
19d38bc1d2 | ||
|
|
0f0c328a91 | ||
|
|
98be09cc2e | ||
|
|
741d8f2130 | ||
|
|
8f442c6c35 | ||
|
|
e27a5eaff9 | ||
|
|
46d3f075dc | ||
|
|
95bba3ed15 |
@ -15,7 +15,7 @@ install:
|
|||||||
- 7z x llvm.tar
|
- 7z x llvm.tar
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
build_script:
|
build_script:
|
||||||
- cmake -G"Visual Studio 15 2017 Win64" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release -DSYSTEM_CLANG=ON -DCLANG_ROOT=C:\projects\ccls\llvm+clang-7.0.0-win64-msvc-release
|
- cmake -G"Visual Studio 15 2017 Win64" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=C:\projects\ccls\llvm+clang-7.0.0-win64-msvc-release
|
||||||
- cmake --build build --target ccls --config Release
|
- cmake --build build --target ccls --config Release
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|||||||
@ -1 +1,2 @@
|
|||||||
BasedOnStyle: LLVM
|
BasedOnStyle: LLVM
|
||||||
|
ColumnLimit: 120
|
||||||
|
|||||||
36
.github/ISSUE_TEMPLATE
vendored
Normal file
36
.github/ISSUE_TEMPLATE
vendored
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Here are some things you should try before filing a bug report:
|
||||||
|
|
||||||
|
+ For client issues related to [emacs-ccls](https://github.com/MaskRay/emacs-ccls) or [vscode-ccls](https://github.com/MaskRay/vscode-ccls), report in their own repository.
|
||||||
|
+ For build problems, check https://github.com/MaskRay/ccls/wiki/Build
|
||||||
|
+ Check https://github.com/MaskRay/ccls/wiki/Debugging
|
||||||
|
+ Check [the FAQ](https://github.com/MaskRay/ccls/wiki/FAQ) to see if your issue is mentioned.
|
||||||
|
|
||||||
|
If none of those help, remove this section and fill out the four sections in the template below.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Observed behavior
|
||||||
|
|
||||||
|
Describe what happened. Any aids you can include (that you think could be relevant) are a tremendous help.
|
||||||
|
|
||||||
|
* `compile_commands.json` or `.ccls` ([wiki/Project-Setup](https://github.com/MaskRay/ccls/wiki/Project-Setup))
|
||||||
|
* Reduce to A minimal set of `.c` `.cc` `.h` `.hh` files that can still demonstrate the issue.
|
||||||
|
* Consider a screencast gif.
|
||||||
|
|
||||||
|
### Expected behavior
|
||||||
|
|
||||||
|
Describe what you expected to happen.
|
||||||
|
|
||||||
|
### Steps to reproduce
|
||||||
|
|
||||||
|
1. Select these example steps,
|
||||||
|
2. Delete them,
|
||||||
|
3. And replace them with precise steps to reproduce your issue.
|
||||||
|
|
||||||
|
### System information
|
||||||
|
|
||||||
|
* ccls version (`git describe --tags --long`):
|
||||||
|
* clang version:
|
||||||
|
* OS:
|
||||||
|
* Editor:
|
||||||
|
* Language client (and version):
|
||||||
16
.gitignore
vendored
16
.gitignore
vendored
@ -1,5 +1,11 @@
|
|||||||
.*
|
/*
|
||||||
build
|
!/.github/
|
||||||
debug
|
!/index_tests/
|
||||||
release
|
!/src/
|
||||||
/compile_commands.json
|
!/third_party/
|
||||||
|
!/.appveyor.yml
|
||||||
|
!/.clang-format
|
||||||
|
!/CMakeLists.txt
|
||||||
|
!/LICENSE
|
||||||
|
!/README.md
|
||||||
|
!/meow/
|
||||||
|
|||||||
248
CMakeLists.txt
248
CMakeLists.txt
@ -1,46 +1,34 @@
|
|||||||
cmake_minimum_required(VERSION 3.1)
|
cmake_minimum_required(VERSION 3.8)
|
||||||
project(ccls LANGUAGES CXX)
|
project(ccls LANGUAGES CXX C)
|
||||||
|
|
||||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/)
|
option(USE_SYSTEM_RAPIDJSON "Use system RapidJSON instead of the git submodule if exists" ON)
|
||||||
include(DefaultCMakeBuildType)
|
|
||||||
|
|
||||||
# Required Clang version
|
|
||||||
set(CLANG_DOWNLOAD_LOCATION ${CMAKE_BINARY_DIR}
|
|
||||||
CACHE STRING "Downloaded Clang location")
|
|
||||||
option(SYSTEM_CLANG "Use system installation of Clang instead of \
|
|
||||||
downloading Clang" OFF)
|
|
||||||
option(ASAN "Compile with address sanitizers" OFF)
|
|
||||||
option(LLVM_ENABLE_RTTI "-fno-rtti if OFF. This should match LLVM libraries" OFF)
|
|
||||||
option(CLANG_USE_BUNDLED_LIBC++ "Let Clang use bundled libc++" OFF)
|
|
||||||
option(USE_SHARED_LLVM "Link against libLLVM.so instead separate LLVM{Option,Support,...}" OFF)
|
|
||||||
|
|
||||||
# Sources for the executable are specified at end of CMakeLists.txt
|
# Sources for the executable are specified at end of CMakeLists.txt
|
||||||
add_executable(ccls "")
|
add_executable(ccls "")
|
||||||
|
|
||||||
### Compile options
|
### Default build type
|
||||||
|
|
||||||
# CMake default compile flags:
|
set(DEFAULT_CMAKE_BUILD_TYPE Release)
|
||||||
# MSVC + Clang(Windows):
|
|
||||||
# debug: /MDd /Zi /Ob0 /Od /RTC1
|
# CMAKE_BUILD_TYPE is not available if a multi-configuration generator is used
|
||||||
# release: /MD /O2 /Ob2 /DNDEBUG
|
# (eg Visual Studio generators)
|
||||||
# GCC + Clang(Linux):
|
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
||||||
# debug: -g
|
message(STATUS "Setting build type to '${DEFAULT_CMAKE_BUILD_TYPE}' as none \
|
||||||
# release: -O3 -DNDEBUG
|
was specified.")
|
||||||
|
set(CMAKE_BUILD_TYPE ${DEFAULT_CMAKE_BUILD_TYPE}
|
||||||
|
CACHE STRING "Choose the type of build." FORCE)
|
||||||
|
|
||||||
|
# Set the possible values of build type for cmake-gui
|
||||||
|
set_property(CACHE CMAKE_BUILD_TYPE
|
||||||
|
PROPERTY STRINGS Debug Release MinSizeRel RelWithDebInfo)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
### Compile options
|
||||||
|
|
||||||
# Enable C++17 (Required)
|
# Enable C++17 (Required)
|
||||||
set_property(TARGET ccls PROPERTY CXX_STANDARD 17)
|
set_property(TARGET ccls PROPERTY CXX_STANDARD 17)
|
||||||
set_property(TARGET ccls PROPERTY CXX_STANDARD_REQUIRED ON)
|
set_property(TARGET ccls PROPERTY CXX_STANDARD_REQUIRED ON)
|
||||||
# Disable gnu extensions except for Cygwin which needs them to build properly
|
set_property(TARGET ccls PROPERTY CXX_EXTENSIONS OFF)
|
||||||
if(NOT CYGWIN)
|
|
||||||
set_property(TARGET ccls PROPERTY CXX_EXTENSIONS OFF)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(NOT LLVM_ENABLE_RTTI)
|
|
||||||
# releases.llvm.org libraries are compiled with -fno-rtti
|
|
||||||
# The mismatch between lib{clang,LLVM}* and ccls can make libstdc++ std::make_shared return nullptr
|
|
||||||
# _Sp_counted_ptr_inplace::_M_get_deleter
|
|
||||||
target_compile_options(ccls PRIVATE -fno-rtti)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# CMake sets MSVC for both MSVC and Clang(Windows)
|
# CMake sets MSVC for both MSVC and Clang(Windows)
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
@ -57,6 +45,7 @@ if(MSVC)
|
|||||||
/wd4800
|
/wd4800
|
||||||
/wd4068 # Disable unknown pragma warning
|
/wd4068 # Disable unknown pragma warning
|
||||||
/std:c++17
|
/std:c++17
|
||||||
|
/Zc:__cplusplus
|
||||||
$<$<CONFIG:Debug>:/FS>
|
$<$<CONFIG:Debug>:/FS>
|
||||||
)
|
)
|
||||||
# relink system libs
|
# relink system libs
|
||||||
@ -76,44 +65,51 @@ else()
|
|||||||
target_compile_options(ccls PRIVATE
|
target_compile_options(ccls PRIVATE
|
||||||
$<$<CONFIG:Debug>:-fno-limit-debug-info>)
|
$<$<CONFIG:Debug>:-fno-limit-debug-info>)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ASAN)
|
|
||||||
target_compile_options(ccls PRIVATE -fsanitize=address,undefined)
|
|
||||||
# target_link_libraries also takes linker flags
|
|
||||||
target_link_libraries(ccls PRIVATE -fsanitize=address,undefined)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
### Download Clang if required
|
|
||||||
|
|
||||||
if(NOT SYSTEM_CLANG)
|
|
||||||
message(STATUS "Using downloaded Clang")
|
|
||||||
|
|
||||||
include(DownloadAndExtractClang)
|
|
||||||
download_and_extract_clang(${CLANG_DOWNLOAD_LOCATION})
|
|
||||||
# Used by FindClang
|
|
||||||
set(CLANG_ROOT ${DOWNLOADED_CLANG_DIR})
|
|
||||||
|
|
||||||
if(${CMAKE_CXX_COMPILER_ID} STREQUAL Clang AND CLANG_USE_BUNDLED_LIBC++)
|
|
||||||
message(STATUS "Using bundled libc++")
|
|
||||||
target_compile_options(ccls PRIVATE -nostdinc++ -cxx-isystem ${CLANG_ROOT}/include/c++/v1)
|
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL Linux)
|
|
||||||
# Don't use -stdlib=libc++ because while ccls is linked with libc++, bundled clang+llvm require libstdc++
|
|
||||||
target_link_libraries(ccls PRIVATE -L${CLANG_ROOT}/lib c++ c++abi)
|
|
||||||
|
|
||||||
# FreeBSD defaults to -stdlib=libc++ and uses system libcxxrt.a
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
else()
|
|
||||||
message(STATUS "Using system Clang")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
### Libraries
|
### Libraries
|
||||||
|
|
||||||
# See cmake/FindClang.cmake
|
find_package(Clang REQUIRED)
|
||||||
find_package(Clang 6.0.0)
|
|
||||||
target_link_libraries(ccls PRIVATE Clang::Clang)
|
if(CLANG_LINK_CLANG_DYLIB)
|
||||||
|
target_link_libraries(ccls PRIVATE clang-cpp)
|
||||||
|
else()
|
||||||
|
target_link_libraries(ccls PRIVATE
|
||||||
|
clangIndex
|
||||||
|
clangFormat
|
||||||
|
clangTooling
|
||||||
|
clangToolingInclusions
|
||||||
|
clangToolingCore
|
||||||
|
clangFrontend
|
||||||
|
clangParse
|
||||||
|
clangSerialization
|
||||||
|
clangSema
|
||||||
|
clangAST
|
||||||
|
clangLex
|
||||||
|
clangDriver
|
||||||
|
clangBasic
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(LLVM_LINK_LLVM_DYLIB)
|
||||||
|
target_link_libraries(ccls PRIVATE LLVM)
|
||||||
|
else()
|
||||||
|
target_link_libraries(ccls PRIVATE LLVMOption LLVMSupport)
|
||||||
|
if(LLVM_VERSION_MAJOR GREATER_EQUAL 16) # llvmorg-16-init-15123-gf09cf34d0062
|
||||||
|
target_link_libraries(ccls PRIVATE LLVMTargetParser)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(NOT LLVM_ENABLE_RTTI)
|
||||||
|
# releases.llvm.org libraries are compiled with -fno-rtti
|
||||||
|
# The mismatch between lib{clang,LLVM}* and ccls can make libstdc++ std::make_shared return nullptr
|
||||||
|
# _Sp_counted_ptr_inplace::_M_get_deleter
|
||||||
|
if(MSVC)
|
||||||
|
target_compile_options(ccls PRIVATE /GR-)
|
||||||
|
else()
|
||||||
|
target_compile_options(ccls PRIVATE -fno-rtti)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
# Enable threading support
|
# Enable threading support
|
||||||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||||
@ -127,78 +123,95 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD)
|
|||||||
target_link_libraries(ccls PRIVATE thr)
|
target_link_libraries(ccls PRIVATE thr)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(LLVM_ENABLE_ZLIB)
|
||||||
|
find_package(ZLIB)
|
||||||
|
endif()
|
||||||
|
|
||||||
### Definitions
|
### Definitions
|
||||||
|
|
||||||
target_compile_definitions(ccls PRIVATE
|
# Find Clang resource directory with Clang executable.
|
||||||
DEFAULT_RESOURCE_DIRECTORY=R"\(${Clang_RESOURCE_DIR}\)")
|
|
||||||
|
if(NOT CLANG_RESOURCE_DIR)
|
||||||
|
find_program(CLANG_EXECUTABLE clang)
|
||||||
|
if(NOT CLANG_EXECUTABLE)
|
||||||
|
message(FATAL_ERROR "clang executable not found.")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
execute_process(
|
||||||
|
COMMAND ${CLANG_EXECUTABLE} -print-resource-dir
|
||||||
|
RESULT_VARIABLE CLANG_FIND_RESOURCE_DIR_RESULT
|
||||||
|
OUTPUT_VARIABLE CLANG_RESOURCE_DIR
|
||||||
|
ERROR_VARIABLE CLANG_FIND_RESOURCE_DIR_ERROR
|
||||||
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
|
)
|
||||||
|
|
||||||
|
if(CLANG_FIND_RESOURCE_DIR_RESULT)
|
||||||
|
message(FATAL_ERROR "Error retrieving Clang resource directory with Clang \
|
||||||
|
executable. Output:\n ${CLANG_FIND_RESOURCE_DIR_ERROR}")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set_property(SOURCE src/utils.cc APPEND PROPERTY COMPILE_DEFINITIONS
|
||||||
|
CLANG_RESOURCE_DIRECTORY=R"\(${CLANG_RESOURCE_DIR}\)")
|
||||||
|
|
||||||
### Includes
|
### Includes
|
||||||
|
|
||||||
|
if(USE_SYSTEM_RAPIDJSON)
|
||||||
|
set(RapidJSON_MIN_VERSION "1.1.0")
|
||||||
|
find_package(RapidJSON ${RapidJSON_MIN_VERSION} QUIET)
|
||||||
|
if(NOT DEFINED RapidJSON_INCLUDE_DIRS AND DEFINED RAPIDJSON_INCLUDE_DIRS)
|
||||||
|
set(RapidJSON_INCLUDE_DIRS "${RAPIDJSON_INCLUDE_DIRS}")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
if(NOT RapidJSON_FOUND)
|
||||||
|
if(EXISTS "${CMAKE_SOURCE_DIR}/third_party/rapidjson/include")
|
||||||
|
message(STATUS "Using local RapidJSON")
|
||||||
|
set(RapidJSON_INCLUDE_DIRS third_party/rapidjson/include)
|
||||||
|
else()
|
||||||
|
message(STATUS "Plase initialize rapidJSON git submodule as currently installed version is to old:")
|
||||||
|
message(STATUS "git submodule init && git submodule update")
|
||||||
|
message(FATAL_ERROR "RapidJSON version is likely too old. See https://github.com/MaskRay/ccls/issues/455")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
target_include_directories(ccls PRIVATE src)
|
target_include_directories(ccls PRIVATE src)
|
||||||
target_include_directories(ccls SYSTEM PRIVATE
|
|
||||||
third_party
|
foreach(include_dir third_party
|
||||||
third_party/rapidjson/include)
|
${LLVM_INCLUDE_DIRS} ${CLANG_INCLUDE_DIRS} ${RapidJSON_INCLUDE_DIRS})
|
||||||
|
get_filename_component(include_dir_realpath ${include_dir} REALPATH)
|
||||||
|
# Don't add as SYSTEM if they are in CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES.
|
||||||
|
# It would reorder the system search paths and cause issues with libstdc++'s
|
||||||
|
# use of #include_next. See https://github.com/MaskRay/ccls/pull/417
|
||||||
|
if(NOT "${include_dir_realpath}" IN_LIST CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES)
|
||||||
|
target_include_directories(ccls SYSTEM PRIVATE ${include_dir})
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
|
|
||||||
install(TARGETS ccls RUNTIME DESTINATION bin)
|
install(TARGETS ccls RUNTIME DESTINATION bin)
|
||||||
|
|
||||||
if(NOT SYSTEM_CLANG AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL Windows)
|
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} MATCHES Linux|FreeBSD)
|
|
||||||
set_property(TARGET ccls APPEND PROPERTY
|
|
||||||
INSTALL_RPATH $ORIGIN/../lib)
|
|
||||||
elseif(${CMAKE_SYSTEM_NAME} STREQUAL Darwin)
|
|
||||||
set_property(TARGET ccls APPEND PROPERTY
|
|
||||||
INSTALL_RPATH @loader_path/../lib)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
file(GLOB LIBCLANG_PLUS_SYMLINKS
|
|
||||||
${DOWNLOADED_CLANG_DIR}/lib/libclang.[so,dylib]*)
|
|
||||||
install(FILES ${LIBCLANG_PLUS_SYMLINKS} DESTINATION lib)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Allow running from build Windows by copying libclang.dll to build directory
|
|
||||||
if(NOT SYSTEM_CLANG AND ${CMAKE_SYSTEM_NAME} STREQUAL Windows)
|
|
||||||
add_custom_command(TARGET ccls
|
|
||||||
POST_BUILD
|
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy
|
|
||||||
${DOWNLOADED_CLANG_DIR}/bin/libclang.dll
|
|
||||||
$<TARGET_FILE_DIR:ccls>
|
|
||||||
COMMENT "Copying libclang.dll to build directory ...")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
### Tools
|
|
||||||
|
|
||||||
# We use glob here since source files are already manually added with
|
|
||||||
# target_sources further down
|
|
||||||
file(GLOB SOURCES src/*.cc src/*.h src/serializers/*.cc src/serializers/*.h
|
|
||||||
src/messages/*.h src/messages/*.cc)
|
|
||||||
|
|
||||||
### Sources
|
### Sources
|
||||||
|
|
||||||
target_sources(ccls PRIVATE third_party/siphash.cc)
|
target_sources(ccls PRIVATE third_party/siphash.cc)
|
||||||
|
|
||||||
target_sources(ccls PRIVATE
|
target_sources(ccls PRIVATE
|
||||||
src/clang_complete.cc
|
|
||||||
src/clang_tu.cc
|
src/clang_tu.cc
|
||||||
src/config.cc
|
src/config.cc
|
||||||
src/filesystem.cc
|
src/filesystem.cc
|
||||||
src/fuzzy_match.cc
|
src/fuzzy_match.cc
|
||||||
src/main.cc
|
src/main.cc
|
||||||
src/include_complete.cc
|
|
||||||
src/indexer.cc
|
src/indexer.cc
|
||||||
src/log.cc
|
src/log.cc
|
||||||
src/lsp.cc
|
src/lsp.cc
|
||||||
src/match.cc
|
|
||||||
src/message_handler.cc
|
src/message_handler.cc
|
||||||
src/pipeline.cc
|
src/pipeline.cc
|
||||||
src/platform_posix.cc
|
src/platform_posix.cc
|
||||||
src/platform_win.cc
|
src/platform_win.cc
|
||||||
src/position.cc
|
src/position.cc
|
||||||
src/project.cc
|
src/project.cc
|
||||||
src/query_utils.cc
|
|
||||||
src/query.cc
|
src/query.cc
|
||||||
|
src/sema_manager.cc
|
||||||
src/serializer.cc
|
src/serializer.cc
|
||||||
src/test.cc
|
src/test.cc
|
||||||
src/utils.cc
|
src/utils.cc
|
||||||
@ -227,3 +240,22 @@ target_sources(ccls PRIVATE
|
|||||||
src/messages/textDocument_signatureHelp.cc
|
src/messages/textDocument_signatureHelp.cc
|
||||||
src/messages/workspace.cc
|
src/messages/workspace.cc
|
||||||
)
|
)
|
||||||
|
|
||||||
|
### Obtain CCLS version information from Git
|
||||||
|
### This only happens when cmake is re-run!
|
||||||
|
|
||||||
|
if(NOT CCLS_VERSION)
|
||||||
|
execute_process(COMMAND git describe --tag --long HEAD
|
||||||
|
OUTPUT_VARIABLE CCLS_VERSION
|
||||||
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
|
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}")
|
||||||
|
|
||||||
|
if(NOT CCLS_VERSION)
|
||||||
|
set(CCLS_VERSION "<unknown>")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set_property(SOURCE src/main.cc APPEND PROPERTY
|
||||||
|
COMPILE_DEFINITIONS CCLS_VERSION=\"${CCLS_VERSION}\")
|
||||||
|
set_property(SOURCE src/messages/initialize.cc APPEND PROPERTY
|
||||||
|
COMPILE_DEFINITIONS CCLS_VERSION=\"${CCLS_VERSION}\")
|
||||||
|
|||||||
27
README.md
27
README.md
@ -1,6 +1,6 @@
|
|||||||
# ccls
|
# ccls
|
||||||
|
|
||||||
[](https://telegram.me/cclsp)
|
[](https://telegram.me/ccls_lsp)
|
||||||
[](https://gitter.im/ccls-project/ccls)
|
[](https://gitter.im/ccls-project/ccls)
|
||||||
|
|
||||||
ccls, which originates from [cquery](https://github.com/cquery-project/cquery), is a C/C++/Objective-C language server.
|
ccls, which originates from [cquery](https://github.com/cquery-project/cquery), is a C/C++/Objective-C language server.
|
||||||
@ -11,7 +11,7 @@ ccls, which originates from [cquery](https://github.com/cquery-project/cquery),
|
|||||||
* formatting
|
* formatting
|
||||||
* hierarchies: [call (caller/callee) hierarchy](src/messages/ccls_call.cc), [inheritance (base/derived) hierarchy](src/messages/ccls_inheritance.cc), [member hierarchy](src/messages/ccls_member.cc)
|
* hierarchies: [call (caller/callee) hierarchy](src/messages/ccls_call.cc), [inheritance (base/derived) hierarchy](src/messages/ccls_inheritance.cc), [member hierarchy](src/messages/ccls_member.cc)
|
||||||
* [symbol rename](src/messages/textDocument_rename.cc)
|
* [symbol rename](src/messages/textDocument_rename.cc)
|
||||||
* [document symbols](src/messages/textDocument_documentSymbol.cc) and approximate search of [workspace symbol](src/messages/workspace_symbol.cc)
|
* [document symbols](src/messages/textDocument_document.cc) and approximate search of [workspace symbol](src/messages/workspace.cc)
|
||||||
* [hover information](src/messages/textDocument_hover.cc)
|
* [hover information](src/messages/textDocument_hover.cc)
|
||||||
* diagnostics and code actions (clang FixIts)
|
* diagnostics and code actions (clang FixIts)
|
||||||
* semantic highlighting and preprocessor skipped regions
|
* semantic highlighting and preprocessor skipped regions
|
||||||
@ -21,28 +21,9 @@ It has a global view of the code base and support a lot of cross reference featu
|
|||||||
It starts indexing the whole project (including subprojects if exist) parallelly when you open the first file, while the main thread can serve requests before the indexing is complete.
|
It starts indexing the whole project (including subprojects if exist) parallelly when you open the first file, while the main thread can serve requests before the indexing is complete.
|
||||||
Saving files will incrementally update the index.
|
Saving files will incrementally update the index.
|
||||||
|
|
||||||
Compared with cquery, it makes use of C++17 features, has less third-party dependencies and slimmed-down code base.
|
# >>> [Getting started](../../wiki/Home) (CLICK HERE) <<<
|
||||||
It leverages Clang C++ API as [clangd](https://clang.llvm.org/extra/clangd.html) does, which provides better support for code completion and diagnostics.
|
|
||||||
Refactoring is a non-goal as it can be provided by clang-include-fixer and other Clang based tools.
|
|
||||||
|
|
||||||
The comparison with cquery as noted on 2018-07-15:
|
|
||||||
|
|
||||||
| | cquery | ccls |
|
|
||||||
|------------ |--------------------------------|------------------------------|
|
|
||||||
| third_party | more | fewer |
|
|
||||||
| C++ | C++14 | C++17 |
|
|
||||||
| clang API | libclang (C) | clang/llvm C++ |
|
|
||||||
| Filesystem | AbsolutePath + custom routines | llvm/Support |
|
|
||||||
| index | libclang | clangIndex, some enhancement |
|
|
||||||
| pipeline | index merge+id remapping | simpler and more robust |
|
|
||||||
|
|
||||||
cquery has system include path detection (through running the compiler driver) while ccls uses clangDriver.
|
|
||||||
|
|
||||||
# >>> [Getting started](../../wiki/Getting-started) (CLICK HERE) <<<
|
|
||||||
|
|
||||||
* [Build](../../wiki/Build)
|
* [Build](../../wiki/Build)
|
||||||
* [Emacs](../../wiki/Emacs)
|
|
||||||
* [LanguageClient-neovim](../../wiki/LanguageClient-neovim)
|
|
||||||
* [FAQ](../../wiki/FAQ)
|
* [FAQ](../../wiki/FAQ)
|
||||||
|
|
||||||
ccls can index itself (~180MiB RSS when ide, noted on 2018-09-01), FreeBSD, glibc, Linux, LLVM (~1800MiB RSS), musl (~60MiB RSS), ... with decent memory footprint. See [wiki/compile_commands.json](../../wiki/compile_commands.json) for examples.
|
ccls can index itself (~180MiB RSS when idle, noted on 2018-09-01), FreeBSD, glibc, Linux, LLVM (~1800MiB RSS), musl (~60MiB RSS), ... with decent memory footprint. See [wiki/Project-Setup](../../wiki/Project-Setup) for examples.
|
||||||
|
|||||||
@ -1,45 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
root=$(cd "$(dirname "$0")/.."; pwd)
|
|
||||||
version=$(TZ=UTC date +v%Y%m%d)
|
|
||||||
cd "$root/build/release"
|
|
||||||
|
|
||||||
case $(uname -s) in
|
|
||||||
Darwin)
|
|
||||||
libclang=(lib/clang+llvm-*/lib/libclang.dylib)
|
|
||||||
strip_option="-x"
|
|
||||||
name=ccls-$version-x86_64-apple-darwin ;;
|
|
||||||
FreeBSD)
|
|
||||||
libclang=(lib/clang+llvm-*/lib/libclang.so.?)
|
|
||||||
strip_option="-s"
|
|
||||||
name=ccls-$version-x86_64-unknown-freebsd10 ;;
|
|
||||||
Linux)
|
|
||||||
libclang=(lib/clang+llvm-*/lib/libclang.so.?)
|
|
||||||
strip_option="-s"
|
|
||||||
name=ccls-$version-x86_64-unknown-linux-gnu ;;
|
|
||||||
*)
|
|
||||||
echo Unsupported >&2
|
|
||||||
exit 1 ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
pkg=$(mktemp -d)
|
|
||||||
mkdir "$pkg/$name"
|
|
||||||
rsync -rtLR bin "./${libclang[-1]}" ./lib/clang+llvm-*/lib/clang/*/include "$pkg/$name"
|
|
||||||
|
|
||||||
cd "$pkg"
|
|
||||||
strip "$strip_option" "$name/bin/ccls" "$name/${libclang[-1]}"
|
|
||||||
case $(uname -s) in
|
|
||||||
Darwin)
|
|
||||||
# https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/tar.1.html
|
|
||||||
# macOS's bsdtar is lack of flags to set uid/gid.
|
|
||||||
# First, we generate a list of file in mtree format.
|
|
||||||
tar -cf filelist --format=mtree --options="!all,time,mode,type" "$name"
|
|
||||||
# Then add a line "/set uid=0 gid=0" after the first line "#mtree".
|
|
||||||
awk '/#mtree/{print;print "/set uid=0 gid=0";next}1' filelist > newflielist
|
|
||||||
# Finally, use the list to generate the tarball.
|
|
||||||
tar -zcf "$root/build/$name.tar.gz" @newflielist ;;
|
|
||||||
Linux)
|
|
||||||
tar -Jcf "$root/build/$name.tar.xz" --owner 0 --group 0 $name ;;
|
|
||||||
*)
|
|
||||||
tar -Jcf "$root/build/$name.tar.xz" --uid 0 --gid 0 $name ;;
|
|
||||||
esac
|
|
||||||
rm -r "$pkg"
|
|
||||||
@ -1 +0,0 @@
|
|||||||
74b197a3959b0408adf0824be01db8dddfa2f9a967f4085af3fad900ed5fdbf6
|
|
||||||
@ -1 +0,0 @@
|
|||||||
95ceb933ccf76e3ddaa536f41ab82c442bbac07cdea6f9fbf6e3b13cc1711255
|
|
||||||
@ -1 +0,0 @@
|
|||||||
b3ad93c3d69dfd528df9c5bb1a434367babb8f3baea47fbb99bf49f1b03c94ca
|
|
||||||
@ -1 +0,0 @@
|
|||||||
5c90e61b06d37270bc26edb305d7e498e2c7be22d99e0afd9f2274ef5458575a
|
|
||||||
@ -1 +0,0 @@
|
|||||||
69b85c833cd28ea04ce34002464f10a6ad9656dd2bba0f7133536a9927c660d2
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
set(DEFAULT_CMAKE_BUILD_TYPE Release)
|
|
||||||
|
|
||||||
# CMAKE_BUILD_TYPE is not available if a multi-configuration generator is used
|
|
||||||
# (eg Visual Studio generators)
|
|
||||||
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
|
||||||
message(STATUS "Setting build type to '${DEFAULT_CMAKE_BUILD_TYPE}' as none \
|
|
||||||
was specified.")
|
|
||||||
set(CMAKE_BUILD_TYPE ${DEFAULT_CMAKE_BUILD_TYPE}
|
|
||||||
CACHE STRING "Choose the type of build." FORCE)
|
|
||||||
|
|
||||||
# Set the possible values of build type for cmake-gui
|
|
||||||
set_property(CACHE CMAKE_BUILD_TYPE
|
|
||||||
PROPERTY STRINGS Debug Release MinSizeRel RelWithDebInfo)
|
|
||||||
endif()
|
|
||||||
@ -1,52 +0,0 @@
|
|||||||
# Downloads and extracts the 7-Zip MSI installer from https://www.7-zip.org/.
|
|
||||||
#
|
|
||||||
# Returns the extracted 7-Zip directory in DOWNLOADED_7ZIP_DIR
|
|
||||||
function(download_and_extract_7zip 7ZIP_DOWNLOAD_LOCATION)
|
|
||||||
|
|
||||||
set(7ZIP_VERSION 1801)
|
|
||||||
set(7ZIP_EXT .msi)
|
|
||||||
set(7ZIP_NAME 7z${7ZIP_VERSION}-x64)
|
|
||||||
set(7ZIP_FULL_NAME ${7ZIP_NAME}${7ZIP_EXT})
|
|
||||||
|
|
||||||
set(7ZIP_FILE ${7ZIP_DOWNLOAD_LOCATION}/${7ZIP_FULL_NAME})
|
|
||||||
set(7ZIP_EXTRACT_DIR ${7ZIP_DOWNLOAD_LOCATION}/${7ZIP_NAME})
|
|
||||||
set(7ZIP_URL https://www.7-zip.org/a/${7ZIP_FULL_NAME})
|
|
||||||
|
|
||||||
# Exit if 7-Zip is already downloaded and extracted
|
|
||||||
find_program(7ZIP_EXECUTABLE 7z NO_DEFAULT_PATH
|
|
||||||
PATHS ${7ZIP_EXTRACT_DIR}/Files/7-Zip)
|
|
||||||
if(7ZIP_EXECUTABLE)
|
|
||||||
message(STATUS "7-Zip already downloaded")
|
|
||||||
return()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
message(STATUS "Downloading 7-Zip ${7ZIP_VERSION} (${7ZIP_URL}) ...")
|
|
||||||
file(DOWNLOAD ${7ZIP_URL} ${7ZIP_FILE})
|
|
||||||
|
|
||||||
find_program(MSIEXEC_EXECUTABLE msiexec)
|
|
||||||
if(NOT MSIEXEC_EXECUTABLE)
|
|
||||||
message(FATAL_ERROR "Unable to find msiexec (required to extract 7-Zip msi \
|
|
||||||
installer). Install 7-Zip yourself and make sure it is available in the path")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
message(STATUS "Extracting downloaded 7-Zip ...")
|
|
||||||
|
|
||||||
# msiexec requires Windows path separators (\)
|
|
||||||
file(TO_NATIVE_PATH ${7ZIP_FILE} 7ZIP_FILE)
|
|
||||||
file(TO_NATIVE_PATH ${7ZIP_EXTRACT_DIR} 7ZIP_EXTRACT_DIR)
|
|
||||||
|
|
||||||
# msiexec with /a option allows extraction of msi installers without requiring
|
|
||||||
# admin privileges. We use this to extract the 7-Zip installer without
|
|
||||||
# requiring any actions from the user
|
|
||||||
execute_process(COMMAND ${MSIEXEC_EXECUTABLE} /a ${7ZIP_FILE} /qn
|
|
||||||
TARGETDIR=${7ZIP_EXTRACT_DIR}
|
|
||||||
WORKING_DIRECTORY ${7ZIP_DOWNLOAD_LOCATION}
|
|
||||||
OUTPUT_QUIET)
|
|
||||||
|
|
||||||
# Convert back to CMake separators (/) before returning
|
|
||||||
file(TO_CMAKE_PATH ${7ZIP_EXTRACT_DIR} 7ZIP_EXTRACT_DIR)
|
|
||||||
|
|
||||||
# Actual 7-Zip directory is nested inside the extract directory.
|
|
||||||
set(DOWNLOADED_7ZIP_DIR ${7ZIP_EXTRACT_DIR}/Files/7-Zip PARENT_SCOPE)
|
|
||||||
|
|
||||||
endfunction()
|
|
||||||
@ -1,129 +0,0 @@
|
|||||||
# Downloads and extracts the Clang archive for the current system from
|
|
||||||
# https://releases.llvm.org
|
|
||||||
#
|
|
||||||
# Returns the extracted Clang archive directory in DOWNLOADED_CLANG_DIR
|
|
||||||
#
|
|
||||||
# Downloads 7-Zip to extract Clang if it isn't available in the PATH
|
|
||||||
function(download_and_extract_clang CLANG_DOWNLOAD_LOCATION)
|
|
||||||
|
|
||||||
set(CLANG_VERSION 7.0.0)
|
|
||||||
set(CLANG_ARCHIVE_EXT .tar.xz)
|
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL Linux)
|
|
||||||
|
|
||||||
# Default to Ubuntu 16.04
|
|
||||||
set(CLANG_ARCHIVE_NAME
|
|
||||||
clang+llvm-${CLANG_VERSION}-x86_64-linux-gnu-ubuntu-16.04)
|
|
||||||
|
|
||||||
elseif(${CMAKE_SYSTEM_NAME} STREQUAL Darwin)
|
|
||||||
|
|
||||||
set(CLANG_ARCHIVE_NAME clang+llvm-${CLANG_VERSION}-x86_64-apple-darwin)
|
|
||||||
|
|
||||||
elseif(${CMAKE_SYSTEM_NAME} STREQUAL Windows)
|
|
||||||
|
|
||||||
set(CLANG_ARCHIVE_NAME LLVM-${CLANG_VERSION}-win64)
|
|
||||||
set(CLANG_ARCHIVE_EXT .exe)
|
|
||||||
|
|
||||||
elseif(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD)
|
|
||||||
|
|
||||||
set(CLANG_ARCHIVE_NAME clang+llvm-${CLANG_VERSION}-amd64-unknown-freebsd11)
|
|
||||||
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CLANG_ARCHIVE_FULL_NAME ${CLANG_ARCHIVE_NAME}${CLANG_ARCHIVE_EXT})
|
|
||||||
set(CLANG_ARCHIVE_FILE ${CLANG_DOWNLOAD_LOCATION}/${CLANG_ARCHIVE_FULL_NAME})
|
|
||||||
set(CLANG_ARCHIVE_EXTRACT_DIR ${CLANG_DOWNLOAD_LOCATION}/${CLANG_ARCHIVE_NAME})
|
|
||||||
set(CLANG_ARCHIVE_URL
|
|
||||||
https://releases.llvm.org/${CLANG_VERSION}/${CLANG_ARCHIVE_FULL_NAME})
|
|
||||||
set(CLANG_ARCHIVE_HASH_FILE
|
|
||||||
${CMAKE_SOURCE_DIR}/clang_archive_hashes/${CLANG_ARCHIVE_FULL_NAME}.SHA256)
|
|
||||||
|
|
||||||
# Exit if Clang is already downloaded and extracted
|
|
||||||
set(CLANG_ROOT ${CLANG_ARCHIVE_EXTRACT_DIR})
|
|
||||||
find_package(Clang ${CLANG_VERSION} QUIET)
|
|
||||||
if(Clang_FOUND)
|
|
||||||
message(STATUS "Clang already downloaded")
|
|
||||||
set(DOWNLOADED_CLANG_DIR ${CLANG_ARCHIVE_EXTRACT_DIR} PARENT_SCOPE)
|
|
||||||
return()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(NOT CLANG_ARCHIVE_NAME)
|
|
||||||
message(FATAL_ERROR "No Clang archive url specified for current platform \
|
|
||||||
(${CMAKE_SYSTEM_NAME}). Please file an issue to get it added.")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(NOT EXISTS ${CLANG_ARCHIVE_HASH_FILE})
|
|
||||||
message(FATAL_ERROR "No SHA256 hash available for the current platform \
|
|
||||||
(${CMAKE_SYSTEM_NAME}) + clang version (${CLANG_VERSION}) combination. Please \
|
|
||||||
file an issue to get it added.")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Download Clang archive
|
|
||||||
message(STATUS "Downloading Clang ${CLANG_VERSION} (${CLANG_ARCHIVE_URL}) ...")
|
|
||||||
file(DOWNLOAD ${CLANG_ARCHIVE_URL} ${CLANG_ARCHIVE_FILE}
|
|
||||||
STATUS CLANG_ARCHIVE_DOWNLOAD_RESULT)
|
|
||||||
|
|
||||||
# Abort if download failed
|
|
||||||
list(GET ${CLANG_ARCHIVE_DOWNLOAD_RESULT} 0 ERROR_CODE)
|
|
||||||
if(${ERROR_CODE})
|
|
||||||
list(GET ${CLANG_ARCHIVE_DOWNLOAD_RESULT} 1 ERROR_STRING)
|
|
||||||
message(FATAL_ERROR ${ERROR_STRING})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Retrieve expected hash from file and strip newline
|
|
||||||
file(READ ${CLANG_ARCHIVE_HASH_FILE} CLANG_ARCHIVE_EXPECTED_HASH)
|
|
||||||
string(STRIP ${CLANG_ARCHIVE_EXPECTED_HASH} CLANG_ARCHIVE_EXPECTED_HASH)
|
|
||||||
# Calculate actual hash
|
|
||||||
file(SHA256 ${CLANG_ARCHIVE_FILE} CLANG_ARCHIVE_HASH)
|
|
||||||
# Abort if hashes do not match
|
|
||||||
if(NOT ${CLANG_ARCHIVE_EXPECTED_HASH} STREQUAL ${CLANG_ARCHIVE_HASH})
|
|
||||||
message(FATAL_ERROR "SHA256 hash of downloaded Clang does not match \
|
|
||||||
expected hash. Remove the build directory and try running CMake again. If this \
|
|
||||||
keeps happening, file an issue to report the problem.")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(${CLANG_ARCHIVE_EXT} STREQUAL .exe)
|
|
||||||
# Download and extract 7-zip if not found in PATH
|
|
||||||
find_program(7ZIP_EXECUTABLE 7z)
|
|
||||||
if(NOT 7ZIP_EXECUTABLE)
|
|
||||||
message(STATUS "7-Zip not found in PATH")
|
|
||||||
|
|
||||||
include(DownloadAndExtract7zip)
|
|
||||||
download_and_extract_7zip(${CLANG_DOWNLOAD_LOCATION})
|
|
||||||
find_program(7ZIP_EXECUTABLE
|
|
||||||
NAMES 7z
|
|
||||||
NO_DEFAULT_PATH
|
|
||||||
PATHS ${DOWNLOADED_7ZIP_DIR}
|
|
||||||
)
|
|
||||||
else()
|
|
||||||
message(STATUS "7-Zip found in PATH")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
message(STATUS "Extracting downloaded Clang with 7-Zip ...")
|
|
||||||
|
|
||||||
# Avoid running the Clang installer by extracting the exe with 7-Zip
|
|
||||||
execute_process(
|
|
||||||
COMMAND ${7ZIP_EXECUTABLE} x
|
|
||||||
-o${CLANG_ARCHIVE_EXTRACT_DIR}
|
|
||||||
-xr!$PLUGINSDIR ${CLANG_ARCHIVE_FILE}
|
|
||||||
WORKING_DIRECTORY ${CLANG_DOWNLOAD_LOCATION}
|
|
||||||
OUTPUT_QUIET
|
|
||||||
)
|
|
||||||
|
|
||||||
elseif(${CLANG_ARCHIVE_EXT} STREQUAL .tar.xz)
|
|
||||||
message(STATUS "Extracting downloaded Clang with CMake built-in tar ...")
|
|
||||||
|
|
||||||
# CMake has builtin support for tar via the -E flag
|
|
||||||
execute_process(
|
|
||||||
COMMAND ${CMAKE_COMMAND} -E tar -xf ${CLANG_ARCHIVE_FILE}
|
|
||||||
# Specify working directory to allow running cmake from
|
|
||||||
# everywhere
|
|
||||||
# (example: cmake -H"$HOME/cquery" -B"$home/cquery/build")
|
|
||||||
WORKING_DIRECTORY ${CLANG_DOWNLOAD_LOCATION}
|
|
||||||
OUTPUT_QUIET
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(DOWNLOADED_CLANG_DIR ${CLANG_ARCHIVE_EXTRACT_DIR} PARENT_SCOPE)
|
|
||||||
|
|
||||||
endfunction()
|
|
||||||
@ -1,154 +0,0 @@
|
|||||||
#.rst
|
|
||||||
# FindClang
|
|
||||||
# ---------
|
|
||||||
#
|
|
||||||
# Find Clang and LLVM libraries required by ccls
|
|
||||||
#
|
|
||||||
# Results are reported in the following variables::
|
|
||||||
#
|
|
||||||
# Clang_FOUND - True if headers and requested libraries were found
|
|
||||||
# Clang_EXECUTABLE - Clang executable
|
|
||||||
# Clang_RESOURCE_DIR - Clang resource directory
|
|
||||||
# Clang_VERSION - Clang version as reported by Clang executable
|
|
||||||
#
|
|
||||||
# The following :prop_tgt:`IMPORTED` targets are also defined::
|
|
||||||
#
|
|
||||||
# Clang::Clang - Target for all required Clang libraries and headers
|
|
||||||
#
|
|
||||||
# This module reads hints about which libraries to look for and where to find
|
|
||||||
# them from the following variables::
|
|
||||||
#
|
|
||||||
# CLANG_ROOT - If set, only look for Clang components in CLANG_ROOT
|
|
||||||
#
|
|
||||||
# Example to link against Clang target::
|
|
||||||
#
|
|
||||||
# target_link_libraries(<target> PRIVATE Clang::Clang)
|
|
||||||
|
|
||||||
### Definitions
|
|
||||||
|
|
||||||
# Wrapper macro's around the find_* macro's from CMake that only search in
|
|
||||||
# CLANG_ROOT if it is defined
|
|
||||||
|
|
||||||
macro(_Clang_find_library VAR NAME)
|
|
||||||
# Windows needs lib prefix
|
|
||||||
if (CLANG_ROOT)
|
|
||||||
find_library(${VAR} NAMES ${NAME} lib${NAME}
|
|
||||||
NO_DEFAULT_PATH PATHS ${CLANG_ROOT} PATH_SUFFIXES lib)
|
|
||||||
else()
|
|
||||||
find_library(${VAR} NAMES ${NAME} lib${NAME})
|
|
||||||
endif()
|
|
||||||
endmacro()
|
|
||||||
|
|
||||||
macro(_Clang_find_add_library NAME)
|
|
||||||
_Clang_find_library(${NAME}_LIBRARY ${NAME})
|
|
||||||
list(APPEND _Clang_LIBRARIES ${${NAME}_LIBRARY})
|
|
||||||
endmacro()
|
|
||||||
|
|
||||||
macro(_Clang_find_path VAR INCLUDE_FILE)
|
|
||||||
if (CLANG_ROOT)
|
|
||||||
find_path(${VAR} ${INCLUDE_FILE}
|
|
||||||
NO_DEFAULT_PATH PATHS ${CLANG_ROOT} PATH_SUFFIXES include)
|
|
||||||
else()
|
|
||||||
find_path(${VAR} ${INCLUDE_FILE})
|
|
||||||
endif()
|
|
||||||
endmacro()
|
|
||||||
|
|
||||||
macro(_Clang_find_program VAR NAME)
|
|
||||||
if (CLANG_ROOT)
|
|
||||||
find_program(${VAR} ${NAME}
|
|
||||||
NO_DEFAULT_PATH PATHS ${CLANG_ROOT} PATH_SUFFIXES bin)
|
|
||||||
else()
|
|
||||||
find_program(${VAR} ${NAME})
|
|
||||||
endif()
|
|
||||||
endmacro()
|
|
||||||
|
|
||||||
### Start
|
|
||||||
|
|
||||||
set(_Clang_REQUIRED_VARS Clang_LIBRARY Clang_INCLUDE_DIR Clang_EXECUTABLE
|
|
||||||
Clang_RESOURCE_DIR Clang_VERSION
|
|
||||||
LLVM_INCLUDE_DIR LLVM_BUILD_INCLUDE_DIR)
|
|
||||||
|
|
||||||
_Clang_find_library(Clang_LIBRARY clangIndex)
|
|
||||||
_Clang_find_add_library(clangFormat)
|
|
||||||
_Clang_find_add_library(clangTooling)
|
|
||||||
|
|
||||||
# TODO Remove after dropping clang 6
|
|
||||||
_Clang_find_library(clangToolingInclusions_LIBRARY clangToolingInclusions)
|
|
||||||
if (clangToolingInclusions_LIBRARY)
|
|
||||||
list(APPEND _Clang_LIBRARIES ${clangToolingInclusions_LIBRARY})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
_Clang_find_add_library(clangToolingCore)
|
|
||||||
_Clang_find_add_library(clangRewrite)
|
|
||||||
_Clang_find_add_library(clangFrontend)
|
|
||||||
_Clang_find_add_library(clangParse)
|
|
||||||
_Clang_find_add_library(clangSerialization)
|
|
||||||
_Clang_find_add_library(clangSema)
|
|
||||||
_Clang_find_add_library(clangAnalysis)
|
|
||||||
_Clang_find_add_library(clangEdit)
|
|
||||||
_Clang_find_add_library(clangAST)
|
|
||||||
_Clang_find_add_library(clangLex)
|
|
||||||
_Clang_find_add_library(clangDriver)
|
|
||||||
_Clang_find_add_library(clangBasic)
|
|
||||||
if(USE_SHARED_LLVM)
|
|
||||||
_Clang_find_add_library(LLVM)
|
|
||||||
else()
|
|
||||||
_Clang_find_add_library(LLVMMCParser)
|
|
||||||
_Clang_find_add_library(LLVMMC)
|
|
||||||
_Clang_find_add_library(LLVMBitReader)
|
|
||||||
_Clang_find_add_library(LLVMOption)
|
|
||||||
_Clang_find_add_library(LLVMProfileData)
|
|
||||||
_Clang_find_add_library(LLVMCore)
|
|
||||||
_Clang_find_add_library(LLVMBinaryFormat)
|
|
||||||
_Clang_find_add_library(LLVMSupport)
|
|
||||||
_Clang_find_add_library(LLVMDemangle)
|
|
||||||
endif()
|
|
||||||
_Clang_find_path(Clang_INCLUDE_DIR clang-c/Index.h)
|
|
||||||
_Clang_find_path(Clang_BUILD_INCLUDE_DIR clang/Driver/Options.inc)
|
|
||||||
_Clang_find_path(LLVM_INCLUDE_DIR llvm/PassInfo.h)
|
|
||||||
_Clang_find_path(LLVM_BUILD_INCLUDE_DIR llvm/Config/llvm-config.h)
|
|
||||||
|
|
||||||
_Clang_find_program(Clang_EXECUTABLE clang)
|
|
||||||
if(Clang_EXECUTABLE)
|
|
||||||
# Find Clang resource directory with Clang executable
|
|
||||||
execute_process(COMMAND ${Clang_EXECUTABLE} -print-resource-dir
|
|
||||||
RESULT_VARIABLE _Clang_FIND_RESOURCE_DIR_RESULT
|
|
||||||
OUTPUT_VARIABLE Clang_RESOURCE_DIR
|
|
||||||
ERROR_VARIABLE _Clang_FIND_RESOURCE_DIR_ERROR
|
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
||||||
|
|
||||||
if(_Clang_FIND_RESOURCE_DIR_RESULT)
|
|
||||||
message(FATAL_ERROR "Error retrieving Clang resource directory with Clang \
|
|
||||||
executable. Output:\n ${_Clang_FIND_RESOURCE_DIR_ERROR}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Find Clang version
|
|
||||||
set(_Clang_VERSION_REGEX "([0-9]+)\\.([0-9]+)\\.([0-9]+)")
|
|
||||||
execute_process(
|
|
||||||
COMMAND ${Clang_EXECUTABLE} --version
|
|
||||||
OUTPUT_VARIABLE Clang_VERSION
|
|
||||||
)
|
|
||||||
string(REGEX MATCH ${_Clang_VERSION_REGEX} Clang_VERSION ${Clang_VERSION})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
|
||||||
find_package_handle_standard_args(Clang
|
|
||||||
FOUND_VAR Clang_FOUND
|
|
||||||
REQUIRED_VARS ${_Clang_REQUIRED_VARS}
|
|
||||||
VERSION_VAR Clang_VERSION
|
|
||||||
)
|
|
||||||
|
|
||||||
if(Clang_FOUND AND NOT TARGET Clang::Clang)
|
|
||||||
add_library(Clang::Clang UNKNOWN IMPORTED)
|
|
||||||
set_target_properties(Clang::Clang PROPERTIES
|
|
||||||
IMPORTED_LOCATION ${Clang_LIBRARY}
|
|
||||||
INTERFACE_INCLUDE_DIRECTORIES "${Clang_INCLUDE_DIR};${Clang_BUILD_INCLUDE_DIR};${LLVM_INCLUDE_DIR};${LLVM_BUILD_INCLUDE_DIR}")
|
|
||||||
if(NOT MSVC)
|
|
||||||
find_package(Curses REQUIRED)
|
|
||||||
find_package(ZLIB REQUIRED)
|
|
||||||
endif()
|
|
||||||
set_property(TARGET Clang::Clang PROPERTY IMPORTED_LINK_INTERFACE_LIBRARIES "${_Clang_LIBRARIES};${CURSES_LIBRARIES};${ZLIB_LIBRARIES}")
|
|
||||||
if(MINGW)
|
|
||||||
set_property(TARGET Clang::Clang APPEND_STRING PROPERTY IMPORTED_LINK_INTERFACE_LIBRARIES ";version")
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
@ -1,4 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{}
|
{
|
||||||
|
"includes": [],
|
||||||
|
"skipped_ranges": [],
|
||||||
|
"usr2func": [],
|
||||||
|
"usr2type": [],
|
||||||
|
"usr2var": []
|
||||||
|
}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -11,7 +11,7 @@ OUTPUT:
|
|||||||
"usr2func": [],
|
"usr2func": [],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 15041163540773201510,
|
"usr": 15041163540773201510,
|
||||||
"detailed_name": "class Foo",
|
"detailed_name": "class Foo {}",
|
||||||
"qual_name_offset": 6,
|
"qual_name_offset": 6,
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"spell": "3:7-3:10|3:1-3:13|2|-1",
|
"spell": "3:7-3:10|3:1-3:13|2|-1",
|
||||||
@ -21,7 +21,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": ["1:7-1:10|1:1-1:10|1|-1", "2:7-2:10|2:1-2:10|1|-1", "4:7-4:10|4:1-4:10|1|-1"],
|
"declarations": ["1:7-1:10|1:1-1:10|1|-1", "2:7-2:10|2:1-2:10|1|-1", "4:7-4:10|4:1-4:10|1|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -36,9 +36,8 @@ OUTPUT:
|
|||||||
"spell": "6:6-6:9|6:1-9:2|2|-1",
|
"spell": "6:6-6:9|6:1-9:2|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [10983126130596230582, 17165811951126099095],
|
"vars": [10983126130596230582, 17165811951126099095],
|
||||||
"callees": ["7:7-7:8|3385168158331140247|3|16676", "7:7-7:8|3385168158331140247|3|16676", "8:17-8:20|3385168158331140247|3|16676", "8:17-8:20|3385168158331140247|3|16676"],
|
"callees": ["7:7-7:8|3385168158331140247|3|16676", "7:7-7:8|3385168158331140247|3|16676",
|
||||||
"kind": 12,
|
"8:17-8:20|3385168158331140247|3|16676", "8:17-8:20|3385168158331140247|3|16676"], "kind": 12, "parent_kind": 1,
|
||||||
"parent_kind": 0,
|
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -56,7 +55,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [10983126130596230582, 17165811951126099095],
|
"instances": [10983126130596230582, 17165811951126099095],
|
||||||
|
|||||||
@ -43,7 +43,7 @@ OUTPUT:
|
|||||||
"vars": [1893354193220338759],
|
"vars": [1893354193220338759],
|
||||||
"callees": ["8:7-8:8|3385168158331140247|3|16676", "8:7-8:8|3385168158331140247|3|16676"],
|
"callees": ["8:7-8:8|3385168158331140247|3|16676", "8:7-8:8|3385168158331140247|3|16676"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -76,7 +76,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [1893354193220338759],
|
"instances": [1893354193220338759],
|
||||||
|
|||||||
@ -20,9 +20,8 @@ OUTPUT:
|
|||||||
"spell": "5:6-5:10|5:1-8:2|2|-1",
|
"spell": "5:6-5:10|5:1-8:2|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [449111627548814328, 17097499197730163115],
|
"vars": [449111627548814328, 17097499197730163115],
|
||||||
"callees": ["6:8-6:12|10530961286677896857|3|16676", "6:8-6:12|10530961286677896857|3|16676", "7:15-7:19|10530961286677896857|3|16676", "7:15-7:19|10530961286677896857|3|16676"],
|
"callees": ["6:8-6:12|10530961286677896857|3|16676", "6:8-6:12|10530961286677896857|3|16676",
|
||||||
"kind": 12,
|
"7:15-7:19|10530961286677896857|3|16676", "7:15-7:19|10530961286677896857|3|16676"], "kind": 12, "parent_kind": 1,
|
||||||
"parent_kind": 0,
|
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -55,7 +54,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [449111627548814328, 17097499197730163115],
|
"instances": [449111627548814328, 17097499197730163115],
|
||||||
|
|||||||
@ -29,6 +29,22 @@ OUTPUT:
|
|||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
|
"usr": 9174142900507230378,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["3:16-3:17|3:10-3:17|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
"usr": 15041163540773201510,
|
"usr": 15041163540773201510,
|
||||||
"detailed_name": "struct Foo {}",
|
"detailed_name": "struct Foo {}",
|
||||||
"qual_name_offset": 7,
|
"qual_name_offset": 7,
|
||||||
@ -40,7 +56,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -101,7 +101,7 @@ OUTPUT: make_functions.h
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -118,7 +118,7 @@ OUTPUT: make_functions.h
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -157,7 +157,7 @@ OUTPUT: make_functions.cc
|
|||||||
"vars": [3908732770590594660],
|
"vars": [3908732770590594660],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -170,9 +170,8 @@ OUTPUT: make_functions.cc
|
|||||||
"spell": "13:6-13:14|13:1-18:2|2|-1",
|
"spell": "13:6-13:14|13:1-18:2|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": ["14:3-14:13|15793662558620604611|3|16420", "15:3-15:13|15793662558620604611|3|16420", "16:3-16:13|15793662558620604611|3|16420", "17:3-17:14|2532818908869373467|3|16420"],
|
"callees": ["14:3-14:13|15793662558620604611|3|16420", "15:3-15:13|15793662558620604611|3|16420",
|
||||||
"kind": 12,
|
"16:3-16:13|15793662558620604611|3|16420", "17:3-17:14|2532818908869373467|3|16420"], "kind": 12, "parent_kind": 1,
|
||||||
"parent_kind": 0,
|
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -215,14 +214,14 @@ OUTPUT: make_functions.cc
|
|||||||
"vars": [8463700030555379526],
|
"vars": [8463700030555379526],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"uses": ["14:3-14:13|16420|-1", "15:3-15:13|16420|-1", "16:3-16:13|16420|-1"]
|
"uses": ["14:3-14:13|16420|-1", "15:3-15:13|16420|-1", "16:3-16:13|16420|-1"]
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -238,7 +237,7 @@ OUTPUT: make_functions.cc
|
|||||||
"instances": [180270746871803062],
|
"instances": [180270746871803062],
|
||||||
"uses": []
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 87,
|
"usr": 488,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -253,6 +252,70 @@ OUTPUT: make_functions.cc
|
|||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [180270746871803062],
|
"instances": [180270746871803062],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 3337128087216004141,
|
||||||
|
"detailed_name": "Args",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["8:35-8:39|8:23-8:39|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["9:16-9:20|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 9281343527065946499,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["3:20-3:21|3:11-3:21|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["4:1-4:2|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 10771590811355716928,
|
||||||
|
"detailed_name": "Args",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["3:35-3:39|3:23-3:39|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["4:15-4:19|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 11897454629873246477,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["8:20-8:21|8:11-8:21|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["9:1-9:2|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 12993848456528750350,
|
"usr": 12993848456528750350,
|
||||||
"detailed_name": "struct Bar {}",
|
"detailed_name": "struct Bar {}",
|
||||||
@ -292,7 +355,7 @@ OUTPUT: make_functions.cc
|
|||||||
"qual_name_offset": 4,
|
"qual_name_offset": 4,
|
||||||
"short_name": "args",
|
"short_name": "args",
|
||||||
"spell": "9:24-9:28|9:16-9:28|1026|-1",
|
"spell": "9:24-9:28|9:16-9:28|1026|-1",
|
||||||
"type": 87,
|
"type": 488,
|
||||||
"kind": 253,
|
"kind": 253,
|
||||||
"parent_kind": 12,
|
"parent_kind": 12,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
|
|||||||
@ -13,7 +13,7 @@ OUTPUT:
|
|||||||
"usr2func": [],
|
"usr2func": [],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 15041163540773201510,
|
"usr": 15041163540773201510,
|
||||||
"detailed_name": "class Foo",
|
"detailed_name": "class Foo {}",
|
||||||
"qual_name_offset": 6,
|
"qual_name_offset": 6,
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"spell": "3:7-3:10|3:1-3:13|2|-1",
|
"spell": "3:7-3:10|3:1-3:13|2|-1",
|
||||||
@ -23,7 +23,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": ["1:7-1:10|1:1-1:10|1|-1", "2:7-2:10|2:1-2:10|1|-1", "4:7-4:10|4:1-4:10|1|-1"],
|
"declarations": ["1:7-1:10|1:1-1:10|1|-1", "2:7-2:10|2:1-2:10|1|-1", "4:7-4:10|4:1-4:10|1|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -9,7 +9,7 @@ OUTPUT:
|
|||||||
"skipped_ranges": [],
|
"skipped_ranges": [],
|
||||||
"usr2func": [],
|
"usr2func": [],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -39,7 +39,7 @@ OUTPUT:
|
|||||||
}],
|
}],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -51,7 +51,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 4,
|
"qual_name_offset": 4,
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"spell": "2:7-2:10|2:3-2:10|1026|-1",
|
"spell": "2:7-2:10|2:3-2:10|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 8,
|
"kind": 8,
|
||||||
"parent_kind": 5,
|
"parent_kind": 5,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
|
|||||||
@ -11,7 +11,7 @@ OUTPUT:
|
|||||||
"skipped_ranges": [],
|
"skipped_ranges": [],
|
||||||
"usr2func": [],
|
"usr2func": [],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -38,7 +38,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -50,8 +50,8 @@ OUTPUT:
|
|||||||
"qual_name_offset": 11,
|
"qual_name_offset": 11,
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"spell": "5:10-5:13|5:1-5:13|1026|-1",
|
"spell": "5:10-5:13|5:1-5:13|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 8,
|
||||||
"parent_kind": 5,
|
"parent_kind": 5,
|
||||||
"storage": 2,
|
"storage": 2,
|
||||||
"declarations": ["2:14-2:17|2:3-2:17|1025|-1"],
|
"declarations": ["2:14-2:17|2:3-2:17|1025|-1"],
|
||||||
|
|||||||
@ -19,7 +19,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": ["1:6-1:9|1:1-1:11|1|-1", "2:6-2:9|2:1-2:11|1|-1", "4:6-4:9|4:1-4:11|1|-1"],
|
"declarations": ["1:6-1:9|1:1-1:11|1|-1", "2:6-2:9|2:1-2:11|1|-1", "4:6-4:9|4:1-4:11|1|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
|
|||||||
@ -16,17 +16,12 @@ OUTPUT:
|
|||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"spell": "5:5-5:8|5:1-5:36|2|-1",
|
"spell": "5:5-5:8|5:1-5:36|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [14555488990109936920, 10963664335057337329],
|
"vars": [7892962471424670909, 17130001153697799035, 16879535361702603834, 10198518325066875844,
|
||||||
"callees": [],
|
14555488990109936920, 10963664335057337329], "callees": [], "kind": 12, "parent_kind": 1, "storage": 0, "declarations":
|
||||||
"kind": 12,
|
["1:5-1:8|1:1-1:18|1|-1", "2:5-2:8|2:1-3:16|1|-1", "4:5-4:8|4:1-4:26|1|-1"], "derived": [], "uses": []
|
||||||
"parent_kind": 0,
|
|
||||||
"storage": 0,
|
|
||||||
"declarations": ["1:5-1:8|1:1-1:18|1|-1", "2:5-2:8|2:1-3:16|1|-1", "4:5-4:8|4:1-4:26|1|-1"],
|
|
||||||
"derived": [],
|
|
||||||
"uses": []
|
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -39,16 +34,40 @@ OUTPUT:
|
|||||||
"parent_kind": 0,
|
"parent_kind": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [14555488990109936920, 10963664335057337329],
|
"instances": [7892962471424670909, 17130001153697799035, 16879535361702603834, 10198518325066875844,
|
||||||
"uses": []
|
14555488990109936920, 10963664335057337329], "uses": []
|
||||||
}],
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
|
"usr": 7892962471424670909,
|
||||||
|
"detailed_name": "int aa",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "aa",
|
||||||
|
"spell": "2:13-2:15|2:9-2:15|1026|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 10198518325066875844,
|
||||||
|
"detailed_name": "int bbb",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "bbb",
|
||||||
|
"spell": "4:22-4:25|4:18-4:25|1026|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
"usr": 10963664335057337329,
|
"usr": 10963664335057337329,
|
||||||
"detailed_name": "int b",
|
"detailed_name": "int b",
|
||||||
"qual_name_offset": 4,
|
"qual_name_offset": 4,
|
||||||
"short_name": "b",
|
"short_name": "b",
|
||||||
"spell": "5:20-5:21|5:16-5:21|1026|-1",
|
"spell": "5:20-5:21|5:16-5:21|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 253,
|
"kind": 253,
|
||||||
"parent_kind": 12,
|
"parent_kind": 12,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
@ -60,7 +79,31 @@ OUTPUT:
|
|||||||
"qual_name_offset": 4,
|
"qual_name_offset": 4,
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"spell": "5:13-5:14|5:9-5:14|1026|-1",
|
"spell": "5:13-5:14|5:9-5:14|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 16879535361702603834,
|
||||||
|
"detailed_name": "int aaa",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "aaa",
|
||||||
|
"spell": "4:13-4:16|4:9-4:16|1026|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 17130001153697799035,
|
||||||
|
"detailed_name": "int bb",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "bb",
|
||||||
|
"spell": "3:13-3:15|3:9-3:15|1026|-1",
|
||||||
|
"type": 452,
|
||||||
"kind": 253,
|
"kind": 253,
|
||||||
"parent_kind": 12,
|
"parent_kind": 12,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
|
|||||||
@ -67,7 +67,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -22,11 +22,11 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 252,
|
"kind": 252,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": []
|
"uses": ["2:18-2:25|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 16985894625255407295,
|
"usr": 16985894625255407295,
|
||||||
"detailed_name": "enum class Foo : uint8_t {}",
|
"detailed_name": "enum class Foo : uint8_t {}",
|
||||||
@ -45,7 +45,7 @@ OUTPUT:
|
|||||||
}],
|
}],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -21,7 +21,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -36,7 +36,7 @@ OUTPUT:
|
|||||||
"spell": "2:3-2:4|2:3-2:4|1026|-1",
|
"spell": "2:3-2:4|2:3-2:4|1026|-1",
|
||||||
"type": 16985894625255407295,
|
"type": 16985894625255407295,
|
||||||
"kind": 22,
|
"kind": 22,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -48,7 +48,7 @@ OUTPUT:
|
|||||||
"spell": "3:3-3:4|3:3-3:9|1026|-1",
|
"spell": "3:3-3:4|3:3-3:9|1026|-1",
|
||||||
"type": 16985894625255407295,
|
"type": 16985894625255407295,
|
||||||
"kind": 22,
|
"kind": 22,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -34,7 +34,7 @@ OUTPUT:
|
|||||||
}],
|
}],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -51,11 +51,11 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 252,
|
"kind": 252,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": []
|
"uses": ["8:16-8:23|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 16985894625255407295,
|
"usr": 16985894625255407295,
|
||||||
"detailed_name": "enum Foo : int {}",
|
"detailed_name": "enum Foo : int {}",
|
||||||
@ -68,7 +68,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -83,7 +83,7 @@ OUTPUT:
|
|||||||
"spell": "2:3-2:4|2:3-2:4|1026|-1",
|
"spell": "2:3-2:4|2:3-2:4|1026|-1",
|
||||||
"type": 16985894625255407295,
|
"type": 16985894625255407295,
|
||||||
"kind": 22,
|
"kind": 22,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -95,7 +95,7 @@ OUTPUT:
|
|||||||
"spell": "3:3-3:4|3:3-3:9|1026|-1",
|
"spell": "3:3-3:4|3:3-3:9|1026|-1",
|
||||||
"type": 16985894625255407295,
|
"type": 16985894625255407295,
|
||||||
"kind": 22,
|
"kind": 22,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -29,7 +29,7 @@ OUTPUT:
|
|||||||
}],
|
}],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [10677751717622394455],
|
"instances": [10677751717622394455],
|
||||||
@ -57,7 +57,7 @@ OUTPUT:
|
|||||||
"spell": "6:5-6:6|6:1-6:15|2|-1",
|
"spell": "6:5-6:6|6:1-6:15|2|-1",
|
||||||
"type": 16985894625255407295,
|
"type": 16985894625255407295,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -26,7 +26,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -39,11 +39,11 @@ OUTPUT:
|
|||||||
"spell": "5:8-5:11|5:1-7:2|2|-1",
|
"spell": "5:8-5:11|5:1-7:2|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [13938528237873543349],
|
"types": [14891869080606636243, 13938528237873543349],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [12028309045033782423],
|
"instances": [12028309045033782423],
|
||||||
@ -60,7 +60,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -82,6 +82,22 @@ OUTPUT:
|
|||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [16721564935990383768],
|
"instances": [16721564935990383768],
|
||||||
"uses": ["9:9-9:14|4|-1"]
|
"uses": ["9:9-9:14|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 14891869080606636243,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["4:19-4:20|4:10-4:20|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
"usr": 12028309045033782423,
|
"usr": 12028309045033782423,
|
||||||
@ -91,7 +107,7 @@ OUTPUT:
|
|||||||
"spell": "10:8-10:9|10:1-10:9|2|-1",
|
"spell": "10:8-10:9|10:1-10:9|2|-1",
|
||||||
"type": 10528472276654770367,
|
"type": 10528472276654770367,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -103,7 +119,7 @@ OUTPUT:
|
|||||||
"spell": "9:15-9:16|9:1-9:16|2|-1",
|
"spell": "9:15-9:16|9:1-9:16|2|-1",
|
||||||
"type": 13938528237873543349,
|
"type": 13938528237873543349,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -11,7 +11,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 5,
|
"qual_name_offset": 5,
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [],
|
"vars": [8158338140950637730, 17005964293310927058],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 0,
|
||||||
@ -20,7 +20,47 @@ OUTPUT:
|
|||||||
"derived": [],
|
"derived": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2type": [],
|
"usr2type": [{
|
||||||
"usr2var": []
|
"usr": 452,
|
||||||
|
"detailed_name": "",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 0,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [8158338140950637730, 17005964293310927058],
|
||||||
|
"uses": []
|
||||||
|
}],
|
||||||
|
"usr2var": [{
|
||||||
|
"usr": 8158338140950637730,
|
||||||
|
"detailed_name": "int a",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "a",
|
||||||
|
"spell": "1:14-1:15|1:10-1:15|1026|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 17005964293310927058,
|
||||||
|
"detailed_name": "int b",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "b",
|
||||||
|
"spell": "1:21-1:22|1:17-1:22|1026|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -17,7 +17,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": ["1:6-1:9|1:1-1:11|1|-1"],
|
"declarations": ["1:6-1:9|1:1-1:11|1|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
|
|||||||
@ -15,7 +15,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
|
|||||||
@ -19,7 +19,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [10963370434658308541],
|
"derived": [10963370434658308541],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -36,7 +36,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -19,6 +19,22 @@ OUTPUT:
|
|||||||
"skipped_ranges": [],
|
"skipped_ranges": [],
|
||||||
"usr2func": [],
|
"usr2func": [],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
|
"usr": 444,
|
||||||
|
"detailed_name": "",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 0,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [2713508113307684499, 12990052348105569112],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
"usr": 5863733211528032190,
|
"usr": 5863733211528032190,
|
||||||
"detailed_name": "class Derived1 : Base1<T> {}",
|
"detailed_name": "class Derived1 : Base1<T> {}",
|
||||||
"qual_name_offset": 6,
|
"qual_name_offset": 6,
|
||||||
@ -30,11 +46,27 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [10963370434658308541],
|
"derived": [10963370434658308541],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": ["13:43-13:51|2052|-1"]
|
"uses": ["13:43-13:51|2052|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 7916588271848318236,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["10:19-10:20|10:10-10:20|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["11:24-11:25|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 10651399730831737929,
|
"usr": 10651399730831737929,
|
||||||
"detailed_name": "class Derived2 : Base2<T> {}",
|
"detailed_name": "class Derived2 : Base2<T> {}",
|
||||||
@ -43,11 +75,11 @@ OUTPUT:
|
|||||||
"spell": "11:7-11:15|11:1-11:29|2|-1",
|
"spell": "11:7-11:15|11:1-11:29|2|-1",
|
||||||
"bases": [11118288764693061434],
|
"bases": [11118288764693061434],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [7916588271848318236],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [10963370434658308541],
|
"derived": [10963370434658308541],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -64,11 +96,11 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": ["13:33-13:40|2052|-1", "13:65-13:72|2052|-1"]
|
"uses": ["13:33-13:40|4|-1", "13:65-13:72|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 11118288764693061434,
|
"usr": 11118288764693061434,
|
||||||
"detailed_name": "class Base2 {}",
|
"detailed_name": "class Base2 {}",
|
||||||
@ -77,11 +109,11 @@ OUTPUT:
|
|||||||
"spell": "5:7-5:12|5:1-5:15|2|-1",
|
"spell": "5:7-5:12|5:1-5:15|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [11972372958367790157],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [10651399730831737929, 10963370434658308541],
|
"derived": [10651399730831737929, 10963370434658308541],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -98,12 +130,50 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [5863733211528032190, 10963370434658308541],
|
"derived": [5863733211528032190, 10963370434658308541],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": ["8:18-8:23|2052|-1", "13:17-13:22|2052|-1"]
|
"uses": ["8:18-8:23|2052|-1", "13:17-13:22|2052|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 11972372958367790157,
|
||||||
|
"detailed_name": "C",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["4:19-4:20|4:10-4:20|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2var": []
|
"usr2var": [{
|
||||||
|
"usr": 2713508113307684499,
|
||||||
|
"detailed_name": "unsigned int Base1::C",
|
||||||
|
"qual_name_offset": 13,
|
||||||
|
"short_name": "C",
|
||||||
|
"type": 444,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 5,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": ["1:23-1:24|1:10-1:24|1025|-1"],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 12990052348105569112,
|
||||||
|
"detailed_name": "unsigned int Derived1::T",
|
||||||
|
"qual_name_offset": 13,
|
||||||
|
"short_name": "T",
|
||||||
|
"type": 444,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 5,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": ["7:23-7:24|7:10-7:24|1025|-1"],
|
||||||
|
"uses": ["8:24-8:25|4|-1"]
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -21,7 +21,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [11863524815063131483, 14022569716337624303],
|
"derived": [11863524815063131483, 14022569716337624303],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -38,7 +38,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -55,7 +55,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [10963370434658308541],
|
"derived": [10963370434658308541],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -72,7 +72,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [10963370434658308541],
|
"derived": [10963370434658308541],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -12,7 +12,7 @@ OUTPUT:
|
|||||||
"skipped_ranges": [],
|
"skipped_ranges": [],
|
||||||
"usr2func": [{
|
"usr2func": [{
|
||||||
"usr": 6666242542855173890,
|
"usr": 6666242542855173890,
|
||||||
"detailed_name": "void Derived::foo()",
|
"detailed_name": "void Derived::foo() override",
|
||||||
"qual_name_offset": 5,
|
"qual_name_offset": 5,
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"spell": "5:8-5:11|5:3-5:25|5186|-1",
|
"spell": "5:8-5:11|5:3-5:25|5186|-1",
|
||||||
@ -52,7 +52,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [10963370434658308541],
|
"derived": [10963370434658308541],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -69,7 +69,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -34,7 +34,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -30,7 +30,7 @@ OUTPUT:
|
|||||||
"uses": []
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 13164726294460837993,
|
"usr": 13164726294460837993,
|
||||||
"detailed_name": "Derived::~Derived() noexcept",
|
"detailed_name": "Derived::~Derived() noexcept override",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "~Derived",
|
"short_name": "~Derived",
|
||||||
"spell": "8:3-8:11|8:3-8:26|5186|-1",
|
"spell": "8:3-8:11|8:3-8:26|5186|-1",
|
||||||
@ -71,7 +71,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -88,7 +88,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [10963370434658308541],
|
"derived": [10963370434658308541],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -105,7 +105,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [10963370434658308541],
|
"derived": [10963370434658308541],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -24,20 +24,16 @@ OUTPUT:
|
|||||||
"spell": "1:6-1:9|1:1-12:2|2|-1",
|
"spell": "1:6-1:9|1:1-12:2|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [12666114896600231317, 2981279427664991319],
|
"vars": [12666114896600231317, 2981279427664991319],
|
||||||
"callees": ["9:14-9:15|17926497908620168464|3|16420", "10:14-10:15|17926497908620168464|3|16420", "11:14-11:15|17926497908620168464|3|16420"],
|
"callees": ["9:14-9:15|17926497908620168464|3|16420", "10:14-10:15|17926497908620168464|3|16420",
|
||||||
"kind": 12,
|
"11:14-11:15|17926497908620168464|3|16420"], "kind": 12, "parent_kind": 1, "storage": 0, "declarations": [], "derived":
|
||||||
"parent_kind": 0,
|
[], "uses": []
|
||||||
"storage": 0,
|
|
||||||
"declarations": [],
|
|
||||||
"derived": [],
|
|
||||||
"uses": []
|
|
||||||
}, {
|
}, {
|
||||||
"usr": 17926497908620168464,
|
"usr": 17926497908620168464,
|
||||||
"detailed_name": "inline void foo()::(anon class)::operator()(int y) const",
|
"detailed_name": "inline constexpr void foo()::(anon class)::operator()(int y) const",
|
||||||
"qual_name_offset": 12,
|
"qual_name_offset": 22,
|
||||||
"short_name": "operator()",
|
"short_name": "operator()",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [],
|
"vars": [12879188959314906706, 12879188959314906706],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"parent_kind": 0,
|
"parent_kind": 0,
|
||||||
@ -47,7 +43,7 @@ OUTPUT:
|
|||||||
"uses": ["9:14-9:15|16420|-1", "10:14-10:15|16420|-1", "11:14-11:15|16420|-1"]
|
"uses": ["9:14-9:15|16420|-1", "10:14-10:15|16420|-1", "11:14-11:15|16420|-1"]
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -60,7 +56,7 @@ OUTPUT:
|
|||||||
"parent_kind": 0,
|
"parent_kind": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [12666114896600231317],
|
"instances": [12666114896600231317, 12879188959314906706, 12879188959314906706],
|
||||||
"uses": []
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 14635009347499519042,
|
"usr": 14635009347499519042,
|
||||||
@ -84,7 +80,7 @@ OUTPUT:
|
|||||||
"detailed_name": "(lambda) dosomething",
|
"detailed_name": "(lambda) dosomething",
|
||||||
"qual_name_offset": 9,
|
"qual_name_offset": 9,
|
||||||
"short_name": "dosomething",
|
"short_name": "dosomething",
|
||||||
"hover": "(lambda) dosomething",
|
"hover": "(lambda) dosomething = [&x](int y) {\n ++x;\n ++y;\n }",
|
||||||
"spell": "4:8-4:19|4:3-7:4|2|-1",
|
"spell": "4:8-4:19|4:3-7:4|2|-1",
|
||||||
"type": 14635009347499519042,
|
"type": 14635009347499519042,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
@ -98,7 +94,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 4,
|
"qual_name_offset": 4,
|
||||||
"short_name": "x",
|
"short_name": "x",
|
||||||
"spell": "2:7-2:8|2:3-2:8|2|-1",
|
"spell": "2:7-2:8|2:3-2:8|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 12,
|
"parent_kind": 12,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
@ -109,8 +105,8 @@ OUTPUT:
|
|||||||
"detailed_name": "int y",
|
"detailed_name": "int y",
|
||||||
"qual_name_offset": 4,
|
"qual_name_offset": 4,
|
||||||
"short_name": "y",
|
"short_name": "y",
|
||||||
"spell": "4:31-4:32|4:27-4:32|2|-1",
|
"spell": "4:31-4:32|4:27-4:32|1026|-1",
|
||||||
"type": 0,
|
"type": 452,
|
||||||
"kind": 253,
|
"kind": 253,
|
||||||
"parent_kind": 6,
|
"parent_kind": 6,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
|
|||||||
@ -26,7 +26,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": ["12:5-12:10|14400399977994209582|3|16420"],
|
"callees": ["12:5-12:10|14400399977994209582|3|16420"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": ["12:1-12:20|12:1-12:4|1|-1"],
|
"declarations": ["12:1-12:20|12:1-12:4|1|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -41,14 +41,14 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"uses": ["12:5-12:10|16420|-1", "12:5-12:10|64|0"]
|
"uses": ["12:5-12:10|16420|-1", "12:5-12:10|64|0"]
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -71,9 +71,9 @@ OUTPUT:
|
|||||||
"short_name": "make2",
|
"short_name": "make2",
|
||||||
"hover": "const int make2 = 5",
|
"hover": "const int make2 = 5",
|
||||||
"spell": "9:11-9:16|9:1-9:20|2|-1",
|
"spell": "9:11-9:16|9:1-9:20|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": ["12:14-12:19|12|-1", "12:14-12:19|64|0"]
|
"uses": ["12:14-12:19|12|-1", "12:14-12:19|64|0"]
|
||||||
|
|||||||
@ -29,7 +29,7 @@ OUTPUT:
|
|||||||
"uses": ["5:12-5:15|64|0"]
|
"uses": ["5:12-5:15|64|0"]
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -56,7 +56,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -95,9 +95,9 @@ OUTPUT:
|
|||||||
"short_name": "x",
|
"short_name": "x",
|
||||||
"hover": "int x = A",
|
"hover": "int x = A",
|
||||||
"spell": "8:5-8:6|8:1-8:10|2|-1",
|
"spell": "8:5-8:6|8:1-8:10|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -38,7 +38,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -37,7 +37,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -35,7 +35,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -22,7 +22,7 @@ OUTPUT: funky_enum.h
|
|||||||
"spell": "4:1-4:2|4:1-4:2|1026|-1",
|
"spell": "4:1-4:2|4:1-4:2|1026|-1",
|
||||||
"type": 16985894625255407295,
|
"type": 16985894625255407295,
|
||||||
"kind": 22,
|
"kind": 22,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -36,7 +36,7 @@ OUTPUT: funky_enum.h
|
|||||||
"spell": "6:1-6:2|6:1-6:2|1026|-1",
|
"spell": "6:1-6:2|6:1-6:2|1026|-1",
|
||||||
"type": 16985894625255407295,
|
"type": 16985894625255407295,
|
||||||
"kind": 22,
|
"kind": 22,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -50,7 +50,7 @@ OUTPUT: funky_enum.h
|
|||||||
"spell": "5:1-5:2|5:1-5:2|1026|-1",
|
"spell": "5:1-5:2|5:1-5:2|1026|-1",
|
||||||
"type": 16985894625255407295,
|
"type": 16985894625255407295,
|
||||||
"kind": 22,
|
"kind": 22,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -76,7 +76,7 @@ OUTPUT: funky_enum.cc
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -19,14 +19,14 @@ OUTPUT: header.h
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -49,11 +49,11 @@ OUTPUT: header.h
|
|||||||
"spell": "13:8-13:12|13:1-13:15|2|-1",
|
"spell": "13:8-13:12|13:1-13:15|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [873975420211778410],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -70,11 +70,27 @@ OUTPUT: header.h
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 16750616846959666305,
|
"alias_of": 16750616846959666305,
|
||||||
"kind": 252,
|
"kind": 252,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 873975420211778410,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["12:20-12:21|12:11-12:21|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 4481210672785600703,
|
"usr": 4481210672785600703,
|
||||||
"detailed_name": "enum Foo3 {}",
|
"detailed_name": "enum Foo3 {}",
|
||||||
@ -87,7 +103,7 @@ OUTPUT: header.h
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -104,11 +120,27 @@ OUTPUT: header.h
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [16750616846959666305],
|
"derived": [16750616846959666305],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": ["5:26-5:30|2052|-1"]
|
"uses": ["5:26-5:30|2052|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 11499613911650781751,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["9:20-9:21|9:11-9:21|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 16750616846959666305,
|
"usr": 16750616846959666305,
|
||||||
"detailed_name": "struct SameFileDerived : Base {}",
|
"detailed_name": "struct SameFileDerived : Base {}",
|
||||||
@ -121,7 +153,7 @@ OUTPUT: header.h
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -133,9 +165,9 @@ OUTPUT: header.h
|
|||||||
"qual_name_offset": 4,
|
"qual_name_offset": 4,
|
||||||
"short_name": "Foo4",
|
"short_name": "Foo4",
|
||||||
"spell": "17:5-17:9|17:1-17:9|2|-1",
|
"spell": "17:5-17:9|17:1-17:9|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -148,7 +180,7 @@ OUTPUT: header.h
|
|||||||
"spell": "15:13-15:14|15:13-15:14|1026|-1",
|
"spell": "15:13-15:14|15:13-15:14|1026|-1",
|
||||||
"type": 4481210672785600703,
|
"type": 4481210672785600703,
|
||||||
"kind": 22,
|
"kind": 22,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -161,7 +193,7 @@ OUTPUT: header.h
|
|||||||
"spell": "15:19-15:20|15:19-15:20|1026|-1",
|
"spell": "15:19-15:20|15:19-15:20|1026|-1",
|
||||||
"type": 4481210672785600703,
|
"type": 4481210672785600703,
|
||||||
"kind": 22,
|
"kind": 22,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -171,9 +203,9 @@ OUTPUT: header.h
|
|||||||
"qual_name_offset": 11,
|
"qual_name_offset": 11,
|
||||||
"short_name": "Foo5",
|
"short_name": "Foo5",
|
||||||
"spell": "18:12-18:16|18:1-18:16|2|-1",
|
"spell": "18:12-18:16|18:1-18:16|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 2,
|
"storage": 2,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -186,7 +218,7 @@ OUTPUT: header.h
|
|||||||
"spell": "15:16-15:17|15:16-15:17|1026|-1",
|
"spell": "15:16-15:17|15:16-15:17|1026|-1",
|
||||||
"type": 4481210672785600703,
|
"type": 4481210672785600703,
|
||||||
"kind": 22,
|
"kind": 22,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -209,7 +241,7 @@ OUTPUT: impl.cc
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": ["4:3-4:7|11650481237659640387|3|16420"],
|
"callees": ["4:3-4:7|11650481237659640387|3|16420"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
|
|||||||
@ -44,7 +44,7 @@ OUTPUT: simple_impl.cc
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": ["4:3-4:9|16236105532929924676|3|16420"],
|
"callees": ["4:3-4:9|16236105532929924676|3|16420"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
|
|||||||
@ -34,7 +34,7 @@ OUTPUT: static.h
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -13,7 +13,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 5,
|
"qual_name_offset": 5,
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [],
|
"vars": [11261617957951052010, 6927976078246688450],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 0,
|
||||||
@ -23,6 +23,22 @@ OUTPUT:
|
|||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
|
"usr": 452,
|
||||||
|
"detailed_name": "",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 0,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [11261617957951052010, 6927976078246688450],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
"usr": 2029211996748007610,
|
"usr": 2029211996748007610,
|
||||||
"detailed_name": "namespace hello {}",
|
"detailed_name": "namespace hello {}",
|
||||||
"qual_name_offset": 10,
|
"qual_name_offset": 10,
|
||||||
@ -39,6 +55,30 @@ OUTPUT:
|
|||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2var": []
|
"usr2var": [{
|
||||||
|
"usr": 6927976078246688450,
|
||||||
|
"detailed_name": "int b",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "b",
|
||||||
|
"spell": "2:21-2:22|2:17-2:22|1026|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 11261617957951052010,
|
||||||
|
"detailed_name": "int a",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "a",
|
||||||
|
"spell": "2:14-2:15|2:10-2:15|1026|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -28,14 +28,14 @@ OUTPUT:
|
|||||||
"vars": [6030927277961448585, 7657277353101371136],
|
"vars": [6030927277961448585, 7657277353101371136],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -76,7 +76,7 @@ OUTPUT:
|
|||||||
"types": [],
|
"types": [],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 14450849931009540802,
|
"alias_of": 14450849931009540802,
|
||||||
"kind": 252,
|
"kind": 3,
|
||||||
"parent_kind": 0,
|
"parent_kind": 0,
|
||||||
"declarations": ["9:11-9:14|9:1-9:30|1|-1"],
|
"declarations": ["9:11-9:14|9:1-9:30|1|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -125,7 +125,7 @@ OUTPUT:
|
|||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"hover": "int a = foo::bar::baz::qux",
|
"hover": "int a = foo::bar::baz::qux",
|
||||||
"spell": "12:7-12:8|12:3-12:29|2|-1",
|
"spell": "12:7-12:8|12:3-12:29|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 12,
|
"parent_kind": 12,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
@ -138,7 +138,7 @@ OUTPUT:
|
|||||||
"short_name": "b",
|
"short_name": "b",
|
||||||
"hover": "int b = fbz::qux",
|
"hover": "int b = fbz::qux",
|
||||||
"spell": "13:7-13:8|13:3-13:19|2|-1",
|
"spell": "13:7-13:8|13:3-13:19|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 12,
|
"parent_kind": 12,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
@ -151,7 +151,7 @@ OUTPUT:
|
|||||||
"short_name": "qux",
|
"short_name": "qux",
|
||||||
"hover": "int foo::bar::baz::qux = 42",
|
"hover": "int foo::bar::baz::qux = 42",
|
||||||
"spell": "4:18-4:21|4:14-4:26|1026|-1",
|
"spell": "4:18-4:21|4:14-4:26|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 3,
|
"parent_kind": 3,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
|
|||||||
@ -24,7 +24,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": ["7:7-7:13|17328473273923617489|3|16420", "9:3-9:9|17328473273923617489|3|16420"],
|
"callees": ["7:7-7:13|17328473273923617489|3|16420", "9:3-9:9|17328473273923617489|3|16420"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -46,7 +46,7 @@ OUTPUT:
|
|||||||
"uses": ["7:7-7:13|16420|-1", "9:3-9:9|16420|-1"]
|
"uses": ["7:7-7:13|16420|-1", "9:3-9:9|16420|-1"]
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -87,7 +87,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 4,
|
"qual_name_offset": 4,
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"spell": "3:19-3:20|3:15-3:20|1026|-1",
|
"spell": "3:19-3:20|3:15-3:20|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 253,
|
"kind": 253,
|
||||||
"parent_kind": 12,
|
"parent_kind": 12,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
@ -99,7 +99,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 4,
|
"qual_name_offset": 4,
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"spell": "2:7-2:10|2:3-2:10|1026|-1",
|
"spell": "2:7-2:10|2:3-2:10|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 3,
|
"parent_kind": 3,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
@ -108,6 +108,3 @@ OUTPUT:
|
|||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -20,165 +20,128 @@ int main(void)
|
|||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"includes": [],
|
"includes": [],
|
||||||
"skipped_by_preprocessor": [],
|
"skipped_ranges": [],
|
||||||
"types": [{
|
"usr2func": [{
|
||||||
"id": 0,
|
|
||||||
"usr": 11832280568361305387,
|
|
||||||
"detailed_name": "AClass",
|
|
||||||
"short_name": "AClass",
|
|
||||||
"kind": 7,
|
|
||||||
"spell": "7:17-7:23|-1|1|2",
|
|
||||||
"extent": "7:1-10:2|-1|1|0",
|
|
||||||
"parents": [],
|
|
||||||
"derived": [],
|
|
||||||
"types": [],
|
|
||||||
"funcs": [],
|
|
||||||
"vars": [],
|
|
||||||
"instances": [2],
|
|
||||||
"uses": ["14:3-14:9|-1|1|4", "14:23-14:29|-1|1|4"]
|
|
||||||
}, {
|
|
||||||
"id": 1,
|
|
||||||
"usr": 17,
|
|
||||||
"detailed_name": "",
|
|
||||||
"short_name": "",
|
|
||||||
"kind": 0,
|
|
||||||
"parents": [],
|
|
||||||
"derived": [],
|
|
||||||
"types": [],
|
|
||||||
"funcs": [],
|
|
||||||
"vars": [],
|
|
||||||
"instances": [0, 1],
|
|
||||||
"uses": []
|
|
||||||
}],
|
|
||||||
"funcs": [{
|
|
||||||
"id": 0,
|
|
||||||
"usr": 12775970426728664910,
|
|
||||||
"detailed_name": "AClass::test",
|
|
||||||
"short_name": "test",
|
|
||||||
"kind": 17,
|
|
||||||
"storage": 0,
|
|
||||||
"declarations": [{
|
|
||||||
"spelling": "2:11-2:15",
|
|
||||||
"extent": "2:3-2:16",
|
|
||||||
"content": "+ (void)test;",
|
|
||||||
"param_spellings": []
|
|
||||||
}],
|
|
||||||
"spell": "8:9-8:13|-1|1|2",
|
|
||||||
"extent": "8:1-8:16|-1|1|0",
|
|
||||||
"base": [],
|
|
||||||
"derived": [],
|
|
||||||
"locals": [],
|
|
||||||
"uses": [],
|
|
||||||
"callees": []
|
|
||||||
}, {
|
|
||||||
"id": 1,
|
|
||||||
"usr": 4096877434426330804,
|
"usr": 4096877434426330804,
|
||||||
"detailed_name": "AClass::anInstanceMethod",
|
"detailed_name": "- (void)AClass::anInstanceMethod;",
|
||||||
|
"qual_name_offset": 2,
|
||||||
"short_name": "anInstanceMethod",
|
"short_name": "anInstanceMethod",
|
||||||
"kind": 16,
|
"spell": "9:9-9:25|9:1-9:28|1090|-1",
|
||||||
|
"bases": [],
|
||||||
|
"vars": [],
|
||||||
|
"callees": [],
|
||||||
|
"kind": 6,
|
||||||
|
"parent_kind": 11,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [{
|
"declarations": ["3:11-3:27|3:3-3:28|1089|-1"],
|
||||||
"spelling": "3:11-3:27",
|
|
||||||
"extent": "3:3-3:28",
|
|
||||||
"content": "- (void)anInstanceMethod;",
|
|
||||||
"param_spellings": []
|
|
||||||
}],
|
|
||||||
"spell": "9:9-9:25|-1|1|2",
|
|
||||||
"extent": "9:1-9:28|-1|1|0",
|
|
||||||
"base": [],
|
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"locals": [],
|
"uses": ["15:13-15:29|24676|-1"]
|
||||||
"uses": ["15:13-15:29|4|3|64"],
|
|
||||||
"callees": []
|
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"usr": 7924728095432766067,
|
||||||
"usr": 12774569141855220778,
|
"detailed_name": "int main(void)",
|
||||||
"detailed_name": "AClass::aProp",
|
"qual_name_offset": 4,
|
||||||
"short_name": "aProp",
|
|
||||||
"kind": 16,
|
|
||||||
"storage": 0,
|
|
||||||
"declarations": [{
|
|
||||||
"spelling": "0:0-0:0",
|
|
||||||
"extent": "4:29-4:34",
|
|
||||||
"content": "aProp",
|
|
||||||
"param_spellings": []
|
|
||||||
}],
|
|
||||||
"extent": "4:29-4:34|-1|1|0",
|
|
||||||
"base": [],
|
|
||||||
"derived": [],
|
|
||||||
"locals": [],
|
|
||||||
"uses": [],
|
|
||||||
"callees": []
|
|
||||||
}, {
|
|
||||||
"id": 3,
|
|
||||||
"usr": 17992064398538597892,
|
|
||||||
"detailed_name": "AClass::setAProp:",
|
|
||||||
"short_name": "setAProp:",
|
|
||||||
"kind": 16,
|
|
||||||
"storage": 0,
|
|
||||||
"declarations": [{
|
|
||||||
"spelling": "0:0-0:0",
|
|
||||||
"extent": "4:29-4:34",
|
|
||||||
"content": "aProp",
|
|
||||||
"param_spellings": ["4:29-4:34"]
|
|
||||||
}],
|
|
||||||
"extent": "4:29-4:34|-1|1|0",
|
|
||||||
"base": [],
|
|
||||||
"derived": [],
|
|
||||||
"locals": [],
|
|
||||||
"uses": ["0:0-0:0|4|3|64"],
|
|
||||||
"callees": []
|
|
||||||
}, {
|
|
||||||
"id": 4,
|
|
||||||
"usr": 7033269674615638282,
|
|
||||||
"detailed_name": "int main()",
|
|
||||||
"short_name": "main",
|
"short_name": "main",
|
||||||
|
"spell": "12:5-12:9|12:1-17:2|2|-1",
|
||||||
|
"bases": [],
|
||||||
|
"vars": [11068172662702654556],
|
||||||
|
"callees": ["15:13-15:29|4096877434426330804|3|24676", "16:12-16:17|17992064398538597892|3|24932"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"storage": 1,
|
"parent_kind": 1,
|
||||||
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"spell": "12:5-12:9|-1|1|2",
|
|
||||||
"extent": "12:1-17:2|-1|1|0",
|
|
||||||
"base": [],
|
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"locals": [],
|
"uses": []
|
||||||
"uses": [],
|
}, {
|
||||||
"callees": ["15:13-15:29|1|3|64", "0:0-0:0|3|3|64"]
|
"usr": 12774569141855220778,
|
||||||
}],
|
"detailed_name": "- (int)AClass::aProp;",
|
||||||
"vars": [{
|
"qual_name_offset": 2,
|
||||||
"id": 0,
|
|
||||||
"usr": 14842397373703114213,
|
|
||||||
"detailed_name": "int AClass::aProp",
|
|
||||||
"short_name": "aProp",
|
"short_name": "aProp",
|
||||||
"declarations": ["4:29-4:34|-1|1|1"],
|
"bases": [],
|
||||||
"type": 1,
|
"vars": [],
|
||||||
"uses": ["16:12-16:17|4|3|4"],
|
"callees": [],
|
||||||
"kind": 19,
|
"kind": 6,
|
||||||
"storage": 0
|
"parent_kind": 0,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": ["4:29-4:34|4:29-4:34|1345|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"usr": 12775970426728664910,
|
||||||
"usr": 17112602610366149042,
|
"detailed_name": "+ (void)AClass::test;",
|
||||||
"detailed_name": "int AClass::_aProp",
|
"qual_name_offset": 2,
|
||||||
"short_name": "_aProp",
|
"short_name": "test",
|
||||||
"declarations": [],
|
"spell": "8:9-8:13|8:1-8:16|1090|-1",
|
||||||
"spell": "4:29-4:34|-1|1|2",
|
"bases": [],
|
||||||
"extent": "4:29-4:34|-1|1|0",
|
"vars": [],
|
||||||
"type": 1,
|
"callees": [],
|
||||||
"uses": [],
|
"kind": 6,
|
||||||
"kind": 14,
|
"parent_kind": 11,
|
||||||
"storage": 0
|
"storage": 0,
|
||||||
|
"declarations": ["2:11-2:15|2:3-2:16|1089|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"usr": 17992064398538597892,
|
||||||
"usr": 6849095699869081177,
|
"detailed_name": "- (void)AClass::setAProp:(int)aProp;",
|
||||||
|
"qual_name_offset": 2,
|
||||||
|
"short_name": "setAProp:",
|
||||||
|
"bases": [],
|
||||||
|
"vars": [],
|
||||||
|
"callees": [],
|
||||||
|
"kind": 6,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": ["4:29-4:34|4:29-4:34|1345|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"uses": ["16:12-16:17|24932|-1"]
|
||||||
|
}],
|
||||||
|
"usr2type": [{
|
||||||
|
"usr": 11832280568361305387,
|
||||||
|
"detailed_name": "@implementation AClass\n@end",
|
||||||
|
"qual_name_offset": 16,
|
||||||
|
"short_name": "AClass",
|
||||||
|
"spell": "7:17-7:23|7:1-10:2|2|-1",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [12775970426728664910, 4096877434426330804, 12774569141855220778, 17992064398538597892],
|
||||||
|
"types": [14842397373703114213],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 11,
|
||||||
|
"parent_kind": 1,
|
||||||
|
"declarations": ["1:12-1:18|1:1-5:5|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["14:3-14:9|4|-1", "14:23-14:29|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 14842397373703114213,
|
||||||
|
"detailed_name": "@property(nonatomic, assign, unsafe_unretained, readwrite) int AClass::aProp;",
|
||||||
|
"qual_name_offset": 63,
|
||||||
|
"short_name": "aProp",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 7,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["4:29-4:34|4:3-4:34|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["16:12-16:17|20|-1"]
|
||||||
|
}],
|
||||||
|
"usr2var": [{
|
||||||
|
"usr": 11068172662702654556,
|
||||||
"detailed_name": "AClass *instance",
|
"detailed_name": "AClass *instance",
|
||||||
|
"qual_name_offset": 8,
|
||||||
"short_name": "instance",
|
"short_name": "instance",
|
||||||
"hover": "AClass *instance = [AClass init]",
|
"hover": "AClass *instance = [AClass init]",
|
||||||
"declarations": [],
|
"spell": "14:11-14:19|14:3-14:35|2|-1",
|
||||||
"spell": "14:11-14:19|4|3|2",
|
|
||||||
"extent": "14:3-14:35|4|3|2",
|
|
||||||
"type": 0,
|
"type": 0,
|
||||||
"uses": ["15:4-15:12|4|3|4", "16:3-16:11|4|3|4"],
|
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"storage": 1
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": ["15:4-15:12|12|-1", "16:3-16:11|12|-1"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -31,7 +31,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 4,
|
"qual_name_offset": 4,
|
||||||
"short_name": "operator()",
|
"short_name": "operator()",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [],
|
"vars": [18194802024223591994, 3165816734756776484],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"parent_kind": 0,
|
"parent_kind": 0,
|
||||||
@ -70,6 +70,22 @@ OUTPUT:
|
|||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
|
"usr": 452,
|
||||||
|
"detailed_name": "",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 0,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [18194802024223591994, 3165816734756776484],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
"usr": 15041163540773201510,
|
"usr": 15041163540773201510,
|
||||||
"detailed_name": "class Foo {}",
|
"detailed_name": "class Foo {}",
|
||||||
"qual_name_offset": 6,
|
"qual_name_offset": 6,
|
||||||
@ -81,12 +97,36 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": ["7:1-7:4|4|-1", "7:25-7:28|4|-1"]
|
"uses": ["7:1-7:4|4|-1", "7:25-7:28|4|-1"]
|
||||||
}],
|
}],
|
||||||
"usr2var": []
|
"usr2var": [{
|
||||||
|
"usr": 3165816734756776484,
|
||||||
|
"detailed_name": "int b",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "b",
|
||||||
|
"spell": "4:29-4:30|4:25-4:30|1026|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 6,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 18194802024223591994,
|
||||||
|
"detailed_name": "int a",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "a",
|
||||||
|
"spell": "4:22-4:23|4:18-4:23|1026|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 6,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -13,7 +13,7 @@ OUTPUT: static_function_in_type.h
|
|||||||
"skipped_ranges": [],
|
"skipped_ranges": [],
|
||||||
"usr2func": [{
|
"usr2func": [{
|
||||||
"usr": 17019747379608639279,
|
"usr": 17019747379608639279,
|
||||||
"detailed_name": "static void ns::Foo::Register(ns::Manager *)",
|
"detailed_name": "static void ns::Foo::Register(Manager *)",
|
||||||
"qual_name_offset": 12,
|
"qual_name_offset": 12,
|
||||||
"short_name": "Register",
|
"short_name": "Register",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
@ -87,7 +87,7 @@ OUTPUT: static_function_in_type.cc
|
|||||||
"skipped_ranges": [],
|
"skipped_ranges": [],
|
||||||
"usr2func": [{
|
"usr2func": [{
|
||||||
"usr": 17019747379608639279,
|
"usr": 17019747379608639279,
|
||||||
"detailed_name": "static void ns::Foo::Register(ns::Manager *)",
|
"detailed_name": "static void ns::Foo::Register(Manager *)",
|
||||||
"qual_name_offset": 12,
|
"qual_name_offset": 12,
|
||||||
"short_name": "Register",
|
"short_name": "Register",
|
||||||
"spell": "5:11-5:19|5:1-6:2|1026|-1",
|
"spell": "5:11-5:19|5:1-6:2|1026|-1",
|
||||||
@ -153,8 +153,8 @@ OUTPUT: static_function_in_type.cc
|
|||||||
}],
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
"usr": 13569879755236306838,
|
"usr": 13569879755236306838,
|
||||||
"detailed_name": "ns::Manager *m",
|
"detailed_name": "Manager *m",
|
||||||
"qual_name_offset": 13,
|
"qual_name_offset": 9,
|
||||||
"short_name": "m",
|
"short_name": "m",
|
||||||
"spell": "5:29-5:30|5:20-5:30|1026|-1",
|
"spell": "5:29-5:30|5:20-5:30|1026|-1",
|
||||||
"type": 1972401196751872203,
|
"type": 1972401196751872203,
|
||||||
|
|||||||
@ -17,7 +17,7 @@ void hello();
|
|||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"includes": [],
|
"includes": [],
|
||||||
"skipped_ranges": ["2:1-5:1", "6:1-11:1", "12:1-15:1"],
|
"skipped_ranges": ["2:1-4:7", "6:1-10:7", "12:1-14:7"],
|
||||||
"usr2func": [],
|
"usr2func": [],
|
||||||
"usr2type": [],
|
"usr2type": [],
|
||||||
"usr2var": []
|
"usr2var": []
|
||||||
|
|||||||
307
index_tests/templates/concept.cc
Normal file
307
index_tests/templates/concept.cc
Normal file
@ -0,0 +1,307 @@
|
|||||||
|
|
||||||
|
template <class T> struct type_trait {
|
||||||
|
const static bool value = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
template <> struct type_trait<int> {
|
||||||
|
const static bool value = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
template <class T>
|
||||||
|
concept Con1 = type_trait<T>::value;
|
||||||
|
|
||||||
|
constexpr int sizeFunc() { return 4; }
|
||||||
|
|
||||||
|
template <class T>
|
||||||
|
concept ConWithLogicalAnd = Con1<T> && sizeof(T) > sizeFunc();
|
||||||
|
|
||||||
|
namespace ns {
|
||||||
|
template <class T>
|
||||||
|
concept ConInNamespace = sizeof(T) > 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
template <class T1, class T2>
|
||||||
|
concept ConTwoTemplateParams = ns::ConInNamespace<T1> && ConWithLogicalAnd<T2>;
|
||||||
|
|
||||||
|
/*
|
||||||
|
OUTPUT:
|
||||||
|
{
|
||||||
|
"includes": [],
|
||||||
|
"skipped_ranges": [],
|
||||||
|
"usr2func": [{
|
||||||
|
"usr": 3226866773869731400,
|
||||||
|
"detailed_name": "constexpr int sizeFunc()",
|
||||||
|
"qual_name_offset": 14,
|
||||||
|
"short_name": "sizeFunc",
|
||||||
|
"spell": "13:15-13:23|13:1-13:39|2|-1",
|
||||||
|
"bases": [],
|
||||||
|
"vars": [],
|
||||||
|
"callees": [],
|
||||||
|
"kind": 12,
|
||||||
|
"parent_kind": 1,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"uses": ["16:52-16:60|36|-1"]
|
||||||
|
}],
|
||||||
|
"usr2type": [{
|
||||||
|
"usr": 436,
|
||||||
|
"detailed_name": "",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 0,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [3643386974125063532, 4683419091429829178],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 452,
|
||||||
|
"detailed_name": "",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 0,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [15611304989063975809, 15197037962155352994, 7075924720131397743, 8419381068906673567],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 368613743269466510,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["19:17-19:18|19:11-19:18|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["20:33-20:34|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 1341599025369786548,
|
||||||
|
"detailed_name": "T1",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["23:17-23:19|23:11-23:19|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["24:51-24:53|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 1789177110200181456,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["15:17-15:18|15:11-15:18|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["16:34-16:35|4|-1", "16:47-16:48|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 4001289545226345448,
|
||||||
|
"detailed_name": "struct type_trait {}",
|
||||||
|
"qual_name_offset": 7,
|
||||||
|
"short_name": "type_trait",
|
||||||
|
"spell": "2:27-2:37|2:20-4:2|2|-1",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [13813325012676356715],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 23,
|
||||||
|
"parent_kind": 1,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [10139416838611429657],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["11:16-11:26|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 8987540007709901036,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["10:17-10:18|10:11-10:18|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["11:27-11:28|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 10139416838611429657,
|
||||||
|
"detailed_name": "template<> struct type_trait<int> {}",
|
||||||
|
"qual_name_offset": 18,
|
||||||
|
"short_name": "type_trait",
|
||||||
|
"spell": "6:20-6:30|6:1-8:2|2|-1",
|
||||||
|
"bases": [4001289545226345448],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 5,
|
||||||
|
"parent_kind": 1,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 10306412732558468540,
|
||||||
|
"detailed_name": "T2",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["23:27-23:29|23:21-23:29|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["24:76-24:78|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 11072669167287398027,
|
||||||
|
"detailed_name": "namespace ns {}",
|
||||||
|
"qual_name_offset": 10,
|
||||||
|
"short_name": "ns",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [368613743269466510],
|
||||||
|
"vars": [{
|
||||||
|
"L": 7075924720131397743,
|
||||||
|
"R": -1
|
||||||
|
}],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 3,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["18:11-18:13|18:1-21:2|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["24:32-24:34|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 13813325012676356715,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["2:17-2:18|2:11-2:18|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
|
}],
|
||||||
|
"usr2var": [{
|
||||||
|
"usr": 3643386974125063532,
|
||||||
|
"detailed_name": "static const bool type_trait::value",
|
||||||
|
"qual_name_offset": 18,
|
||||||
|
"short_name": "value",
|
||||||
|
"hover": "static const bool type_trait::value = false",
|
||||||
|
"type": 436,
|
||||||
|
"kind": 8,
|
||||||
|
"parent_kind": 23,
|
||||||
|
"storage": 2,
|
||||||
|
"declarations": ["3:21-3:26|3:3-3:34|1025|-1"],
|
||||||
|
"uses": ["11:31-11:36|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 4683419091429829178,
|
||||||
|
"detailed_name": "static const bool type_trait<int>::value",
|
||||||
|
"qual_name_offset": 18,
|
||||||
|
"short_name": "value",
|
||||||
|
"hover": "static const bool type_trait<int>::value = true",
|
||||||
|
"type": 436,
|
||||||
|
"kind": 8,
|
||||||
|
"parent_kind": 5,
|
||||||
|
"storage": 2,
|
||||||
|
"declarations": ["7:21-7:26|7:3-7:33|1025|-1"],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 7075924720131397743,
|
||||||
|
"detailed_name": "int ns::ConInNamespace",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "ConInNamespace",
|
||||||
|
"hover": "int ns::ConInNamespace = sizeof(T) > 4",
|
||||||
|
"spell": "20:9-20:23|20:1-20:39|1026|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 13,
|
||||||
|
"parent_kind": 3,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": ["24:36-24:50|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 8419381068906673567,
|
||||||
|
"detailed_name": "int ConTwoTemplateParams",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "ConTwoTemplateParams",
|
||||||
|
"hover": "int ConTwoTemplateParams = ns::ConInNamespace<T1> && ConWithLogicalAnd<T2>",
|
||||||
|
"spell": "24:9-24:29|24:1-24:79|2|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 13,
|
||||||
|
"parent_kind": 1,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 15197037962155352994,
|
||||||
|
"detailed_name": "int ConWithLogicalAnd",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "ConWithLogicalAnd",
|
||||||
|
"hover": "int ConWithLogicalAnd = Con1<T> && sizeof(T) > sizeFunc()",
|
||||||
|
"spell": "16:9-16:26|16:1-16:62|2|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 13,
|
||||||
|
"parent_kind": 1,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": ["24:58-24:75|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 15611304989063975809,
|
||||||
|
"detailed_name": "int Con1",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "Con1",
|
||||||
|
"hover": "int Con1 = type_trait<T>::value",
|
||||||
|
"spell": "11:9-11:13|11:1-11:36|2|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 13,
|
||||||
|
"parent_kind": 1,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": ["16:29-16:33|4|-1"]
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
*/
|
||||||
@ -29,6 +29,22 @@ OUTPUT:
|
|||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
|
"usr": 3122724794825267268,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["1:16-1:17|1:10-1:17|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
"usr": 15041163540773201510,
|
"usr": 15041163540773201510,
|
||||||
"detailed_name": "struct Foo {}",
|
"detailed_name": "struct Foo {}",
|
||||||
"qual_name_offset": 7,
|
"qual_name_offset": 7,
|
||||||
@ -40,7 +56,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -53,11 +69,11 @@ OUTPUT:
|
|||||||
"spell": "2:7-2:15|2:1-2:18|2|-1",
|
"spell": "2:7-2:15|2:1-2:18|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [3122724794825267268],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -21,7 +21,7 @@ OUTPUT:
|
|||||||
"skipped_ranges": [],
|
"skipped_ranges": [],
|
||||||
"usr2func": [],
|
"usr2func": [],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -53,6 +53,38 @@ OUTPUT:
|
|||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [4731849186641714451, 4731849186641714451],
|
"instances": [4731849186641714451, 4731849186641714451],
|
||||||
"uses": ["6:22-6:29|4|-1", "6:44-6:51|4|-1", "10:18-10:25|4|-1"]
|
"uses": ["6:22-6:29|4|-1", "6:44-6:51|4|-1", "10:18-10:25|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 2205716167465743256,
|
||||||
|
"detailed_name": "_",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["10:33-10:34|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 2743282246975181395,
|
||||||
|
"detailed_name": "_",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["4:21-4:22|4:12-4:22|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 11072669167287398027,
|
"usr": 11072669167287398027,
|
||||||
"detailed_name": "namespace ns {}",
|
"detailed_name": "namespace ns {}",
|
||||||
@ -83,7 +115,7 @@ OUTPUT:
|
|||||||
"spell": "5:10-5:16|5:3-7:4|1026|-1",
|
"spell": "5:10-5:16|5:3-7:4|1026|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [2743282246975181395],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
@ -95,16 +127,16 @@ OUTPUT:
|
|||||||
}],
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
"usr": 4731849186641714451,
|
"usr": 4731849186641714451,
|
||||||
"detailed_name": "static constexpr ns::VarType ns::Holder::static_var",
|
"detailed_name": "static constexpr VarType ns::Holder::static_var",
|
||||||
"qual_name_offset": 29,
|
"qual_name_offset": 25,
|
||||||
"short_name": "static_var",
|
"short_name": "static_var",
|
||||||
"hover": "static constexpr ns::VarType ns::Holder::static_var = (VarType)0x0",
|
"hover": "static constexpr VarType ns::Holder::static_var = (VarType)0x0",
|
||||||
"spell": "10:37-10:47|9:3-10:47|1026|-1",
|
"spell": "6:30-6:40|6:5-6:55|1026|-1",
|
||||||
"type": 1532099849728741556,
|
"type": 1532099849728741556,
|
||||||
"kind": 13,
|
"kind": 8,
|
||||||
"parent_kind": 23,
|
"parent_kind": 23,
|
||||||
"storage": 2,
|
"storage": 2,
|
||||||
"declarations": ["6:30-6:40|6:5-6:55|1025|-1"],
|
"declarations": ["10:37-10:47|9:3-10:47|1025|-1"],
|
||||||
"uses": ["13:26-13:36|12|-1", "14:27-14:37|12|-1"]
|
"uses": ["13:26-13:36|12|-1", "14:27-14:37|12|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 9008550860229740818,
|
"usr": 9008550860229740818,
|
||||||
@ -113,7 +145,7 @@ OUTPUT:
|
|||||||
"short_name": "Foo2",
|
"short_name": "Foo2",
|
||||||
"hover": "int ns::Foo2 = Holder<int>::static_var",
|
"hover": "int ns::Foo2 = Holder<int>::static_var",
|
||||||
"spell": "14:7-14:11|14:3-14:37|1026|-1",
|
"spell": "14:7-14:11|14:3-14:37|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 3,
|
"parent_kind": 3,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
@ -126,7 +158,7 @@ OUTPUT:
|
|||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"hover": "int ns::Foo = Holder<int>::static_var",
|
"hover": "int ns::Foo = Holder<int>::static_var",
|
||||||
"spell": "13:7-13:10|13:3-13:36|1026|-1",
|
"spell": "13:7-13:10|13:3-13:36|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 3,
|
"parent_kind": 3,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
|
|||||||
@ -35,7 +35,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -63,14 +63,14 @@ OUTPUT:
|
|||||||
"spell": "2:8-2:9|2:1-5:2|2|-1",
|
"spell": "2:8-2:9|2:1-5:2|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [8905286151237717330],
|
"funcs": [8905286151237717330],
|
||||||
"types": [],
|
"types": [14750650276757822712],
|
||||||
"vars": [{
|
"vars": [{
|
||||||
"L": 5866801090710377175,
|
"L": 5866801090710377175,
|
||||||
"R": -1
|
"R": -1
|
||||||
}],
|
}],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -79,18 +79,33 @@ OUTPUT:
|
|||||||
"usr": 14750650276757822712,
|
"usr": 14750650276757822712,
|
||||||
"detailed_name": "T",
|
"detailed_name": "T",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "T",
|
"short_name": "",
|
||||||
"spell": "1:17-1:18|1:11-1:18|2|-1",
|
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 26,
|
"kind": 26,
|
||||||
"parent_kind": 5,
|
"parent_kind": 0,
|
||||||
"declarations": [],
|
"declarations": ["1:17-1:18|1:11-1:18|1025|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [5866801090710377175],
|
"instances": [5866801090710377175],
|
||||||
|
"uses": ["3:3-3:4|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 14756043565860085104,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["7:17-7:18|7:11-7:18|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
|
|||||||
@ -33,7 +33,7 @@ OUTPUT:
|
|||||||
"uses": ["10:21-10:24|36|-1", "11:22-11:25|36|-1"]
|
"uses": ["10:21-10:24|36|-1", "11:22-11:25|36|-1"]
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -48,6 +48,22 @@ OUTPUT:
|
|||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [15768138241775955040, 3182917058194750998],
|
"instances": [15768138241775955040, 3182917058194750998],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 404962309137154484,
|
||||||
|
"detailed_name": "R",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["4:23-4:24|4:14-4:24|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 11072669167287398027,
|
"usr": 11072669167287398027,
|
||||||
"detailed_name": "namespace ns {}",
|
"detailed_name": "namespace ns {}",
|
||||||
@ -70,6 +86,22 @@ OUTPUT:
|
|||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 14005287469305211602,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["2:21-2:22|2:12-2:22|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 14042997404480181958,
|
"usr": 14042997404480181958,
|
||||||
"detailed_name": "struct ns::Foo {}",
|
"detailed_name": "struct ns::Foo {}",
|
||||||
@ -78,7 +110,7 @@ OUTPUT:
|
|||||||
"spell": "3:10-3:13|3:3-8:4|1026|-1",
|
"spell": "3:10-3:13|3:3-8:4|1026|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [8221803074608342407],
|
"funcs": [8221803074608342407],
|
||||||
"types": [],
|
"types": [14005287469305211602],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
@ -95,7 +127,7 @@ OUTPUT:
|
|||||||
"short_name": "b",
|
"short_name": "b",
|
||||||
"hover": "int ns::b = Foo<bool>::foo<double>()",
|
"hover": "int ns::b = Foo<bool>::foo<double>()",
|
||||||
"spell": "11:7-11:8|11:3-11:35|1026|-1",
|
"spell": "11:7-11:8|11:3-11:35|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 3,
|
"parent_kind": 3,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
@ -108,7 +140,7 @@ OUTPUT:
|
|||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"hover": "int ns::a = Foo<int>::foo<float>()",
|
"hover": "int ns::a = Foo<int>::foo<float>()",
|
||||||
"spell": "10:7-10:8|10:3-10:33|1026|-1",
|
"spell": "10:7-10:8|10:3-10:33|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 3,
|
"parent_kind": 3,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
|
|||||||
@ -42,7 +42,7 @@ OUTPUT:
|
|||||||
"spell": "3:9-3:12|3:3-3:15|1026|-1",
|
"spell": "3:9-3:12|3:3-3:15|1026|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [17234941064111183681],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
@ -51,6 +51,22 @@ OUTPUT:
|
|||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [15768138241775955040, 3182917058194750998],
|
"instances": [15768138241775955040, 3182917058194750998],
|
||||||
"uses": ["5:3-5:6|4|-1", "6:3-6:6|4|-1"]
|
"uses": ["5:3-5:6|4|-1", "6:3-6:6|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 17234941064111183681,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["2:21-2:22|2:12-2:22|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
"usr": 3182917058194750998,
|
"usr": 3182917058194750998,
|
||||||
|
|||||||
@ -53,7 +53,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 16,
|
"qual_name_offset": 16,
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [],
|
"vars": [12904523933304867124],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 0,
|
||||||
@ -63,7 +63,7 @@ OUTPUT:
|
|||||||
"uses": []
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 6113470698424012876,
|
"usr": 6113470698424012876,
|
||||||
"detailed_name": "void vector<Z2, allocator<Z2> >::clear()",
|
"detailed_name": "void vector<Z2>::clear()",
|
||||||
"qual_name_offset": 5,
|
"qual_name_offset": 5,
|
||||||
"short_name": "clear",
|
"short_name": "clear",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
@ -82,10 +82,10 @@ OUTPUT:
|
|||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"spell": "39:6-39:9|39:1-39:21|2|-1",
|
"spell": "39:6-39:9|39:1-39:21|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [17826688417349629938],
|
"vars": [9217877221147056536, 3621126593459656452, 17826688417349629938],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -106,7 +106,7 @@ OUTPUT:
|
|||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -119,11 +119,27 @@ OUTPUT:
|
|||||||
"parent_kind": 0,
|
"parent_kind": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [13914496963221806870],
|
"instances": [9217877221147056536, 3621126593459656452, 13914496963221806870],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 481,
|
||||||
|
"detailed_name": "",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 0,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [12904523933304867124],
|
||||||
"uses": []
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 218068462278884837,
|
"usr": 218068462278884837,
|
||||||
"detailed_name": "template <typename T, typename ...Args> class function<type-parameter-0-0 (type-parameter-0-1...)> {}",
|
"detailed_name": "template <typename T, typename ...Args> class function<T (Args...)> {}",
|
||||||
"qual_name_offset": 46,
|
"qual_name_offset": 46,
|
||||||
"short_name": "function",
|
"short_name": "function",
|
||||||
"spell": "5:7-5:15|4:1-5:30|2|-1",
|
"spell": "5:7-5:15|4:1-5:30|2|-1",
|
||||||
@ -133,14 +149,14 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [2933643612409209903],
|
"instances": [2933643612409209903],
|
||||||
"uses": ["7:1-7:9|4|-1"]
|
"uses": ["7:1-7:9|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 1663022413889915338,
|
"usr": 1663022413889915338,
|
||||||
"detailed_name": "template<> class vector<Z2, allocator<Z2>> {}",
|
"detailed_name": "template<> class vector<Z2> {}",
|
||||||
"qual_name_offset": 17,
|
"qual_name_offset": 17,
|
||||||
"short_name": "vector",
|
"short_name": "vector",
|
||||||
"spell": "26:7-26:13|25:1-28:2|2|-1",
|
"spell": "26:7-26:13|25:1-28:2|2|-1",
|
||||||
@ -150,11 +166,11 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [15931696253641284761],
|
"instances": [15931696253641284761],
|
||||||
"uses": ["26:7-26:13|4|-1", "33:1-33:7|4|-1"]
|
"uses": ["33:1-33:7|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 5760043510674081814,
|
"usr": 5760043510674081814,
|
||||||
"detailed_name": "struct Z1 {}",
|
"detailed_name": "struct Z1 {}",
|
||||||
@ -167,11 +183,43 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": ["21:23-21:25|4|-1", "32:8-32:10|4|-1"]
|
"uses": ["21:23-21:25|4|-1", "32:8-32:10|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 6953303017847795730,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["11:19-11:20|11:10-11:20|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["11:49-11:50|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 7143192229126273961,
|
||||||
|
"detailed_name": "Args",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["5:18-5:22|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 7440942986741176606,
|
"usr": 7440942986741176606,
|
||||||
"detailed_name": "class vector {}",
|
"detailed_name": "class vector {}",
|
||||||
@ -180,15 +228,31 @@ OUTPUT:
|
|||||||
"spell": "12:7-12:13|12:1-14:2|2|-1",
|
"spell": "12:7-12:13|12:1-14:2|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [18107614608385228556],
|
"funcs": [18107614608385228556],
|
||||||
"types": [],
|
"types": [6953303017847795730, 9777924294257602255],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [16155717907537731864, 1663022413889915338],
|
"derived": [16155717907537731864, 1663022413889915338],
|
||||||
"instances": [5792869548777559988],
|
"instances": [5792869548777559988, 3566687051827176322],
|
||||||
"uses": ["17:7-17:13|4|-1", "21:16-21:22|4|-1", "30:1-30:7|4|-1", "32:1-32:7|4|-1"]
|
"uses": ["30:1-30:7|4|-1", "32:1-32:7|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 8880262253425334092,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["17:14-17:15|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 9201299975592934124,
|
"usr": 9201299975592934124,
|
||||||
"detailed_name": "enum Enum {}",
|
"detailed_name": "enum Enum {}",
|
||||||
@ -201,10 +265,42 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
|
"parent_kind": 1,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["38:30-38:34|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 9673599782548740467,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
"parent_kind": 0,
|
"parent_kind": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
"uses": ["5:16-5:17|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 9777924294257602255,
|
||||||
|
"detailed_name": "Alloc",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["11:31-11:36|11:22-11:51|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 10124869160135436852,
|
"usr": 10124869160135436852,
|
||||||
@ -218,7 +314,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -227,19 +323,18 @@ OUTPUT:
|
|||||||
"usr": 14111105212951082474,
|
"usr": 14111105212951082474,
|
||||||
"detailed_name": "T",
|
"detailed_name": "T",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "T",
|
"short_name": "",
|
||||||
"spell": "38:20-38:21|38:11-38:21|2|-1",
|
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 26,
|
"kind": 26,
|
||||||
"parent_kind": 5,
|
"parent_kind": 0,
|
||||||
"declarations": [],
|
"declarations": ["38:20-38:21|38:11-38:21|1|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [17826688417349629938],
|
"instances": [17826688417349629938],
|
||||||
"uses": []
|
"uses": ["39:10-39:11|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 15019211479263750068,
|
"usr": 15019211479263750068,
|
||||||
"detailed_name": "class function",
|
"detailed_name": "class function",
|
||||||
@ -247,7 +342,7 @@ OUTPUT:
|
|||||||
"short_name": "function",
|
"short_name": "function",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [18140454020659517869],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
@ -255,22 +350,6 @@ OUTPUT:
|
|||||||
"declarations": ["2:7-2:15|2:1-2:15|1|-1"],
|
"declarations": ["2:7-2:15|2:1-2:15|1|-1"],
|
||||||
"derived": [218068462278884837],
|
"derived": [218068462278884837],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": ["5:7-5:15|4|-1"]
|
|
||||||
}, {
|
|
||||||
"usr": 15440970074034693939,
|
|
||||||
"detailed_name": "",
|
|
||||||
"qual_name_offset": 0,
|
|
||||||
"short_name": "",
|
|
||||||
"bases": [],
|
|
||||||
"funcs": [],
|
|
||||||
"types": [],
|
|
||||||
"vars": [],
|
|
||||||
"alias_of": 0,
|
|
||||||
"kind": 0,
|
|
||||||
"parent_kind": 0,
|
|
||||||
"declarations": [],
|
|
||||||
"derived": [],
|
|
||||||
"instances": [3566687051827176322],
|
|
||||||
"uses": []
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 15695704394170757108,
|
"usr": 15695704394170757108,
|
||||||
@ -279,7 +358,7 @@ OUTPUT:
|
|||||||
"short_name": "allocator",
|
"short_name": "allocator",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [17690566930043896921],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
@ -290,7 +369,7 @@ OUTPUT:
|
|||||||
"uses": ["11:39-11:48|4|-1"]
|
"uses": ["11:39-11:48|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 16155717907537731864,
|
"usr": 16155717907537731864,
|
||||||
"detailed_name": "template <typename T> class vector<type-parameter-0-0 *, allocator<type-parameter-0-0 *>> {}",
|
"detailed_name": "template <typename T> class vector<T *> {}",
|
||||||
"qual_name_offset": 28,
|
"qual_name_offset": 28,
|
||||||
"short_name": "vector",
|
"short_name": "vector",
|
||||||
"spell": "17:7-17:13|16:1-17:20|2|-1",
|
"spell": "17:7-17:13|16:1-17:20|2|-1",
|
||||||
@ -300,11 +379,43 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [86949563628772958],
|
"instances": [86949563628772958],
|
||||||
"uses": ["31:1-31:7|4|-1"]
|
"uses": ["31:1-31:7|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 17690566930043896921,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["9:19-9:20|9:10-9:20|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 18140454020659517869,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["1:16-1:17|1:10-1:17|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
"usr": 86949563628772958,
|
"usr": 86949563628772958,
|
||||||
@ -314,7 +425,7 @@ OUTPUT:
|
|||||||
"spell": "31:14-31:17|31:1-31:17|2|-1",
|
"spell": "31:14-31:17|31:1-31:17|2|-1",
|
||||||
"type": 16155717907537731864,
|
"type": 16155717907537731864,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -326,7 +437,7 @@ OUTPUT:
|
|||||||
"spell": "7:21-7:22|7:1-7:22|2|-1",
|
"spell": "7:21-7:22|7:1-7:22|2|-1",
|
||||||
"type": 218068462278884837,
|
"type": 218068462278884837,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -336,12 +447,23 @@ OUTPUT:
|
|||||||
"qual_name_offset": 11,
|
"qual_name_offset": 11,
|
||||||
"short_name": "vz1",
|
"short_name": "vz1",
|
||||||
"spell": "32:12-32:15|32:1-32:15|2|-1",
|
"spell": "32:12-32:15|32:1-32:15|2|-1",
|
||||||
"type": 15440970074034693939,
|
"type": 7440942986741176606,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 3621126593459656452,
|
||||||
|
"detailed_name": "int E",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "E",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": ["38:40-38:41|38:36-38:41|1025|-1"],
|
||||||
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 4917621020431490070,
|
"usr": 4917621020431490070,
|
||||||
"detailed_name": "Enum1",
|
"detailed_name": "Enum1",
|
||||||
@ -351,7 +473,7 @@ OUTPUT:
|
|||||||
"spell": "36:10-36:15|36:10-36:15|1026|-1",
|
"spell": "36:10-36:15|36:10-36:15|1026|-1",
|
||||||
"type": 9201299975592934124,
|
"type": 9201299975592934124,
|
||||||
"kind": 22,
|
"kind": 22,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -363,7 +485,30 @@ OUTPUT:
|
|||||||
"spell": "30:14-30:16|30:1-30:16|2|-1",
|
"spell": "30:14-30:16|30:1-30:16|2|-1",
|
||||||
"type": 7440942986741176606,
|
"type": 7440942986741176606,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 9217877221147056536,
|
||||||
|
"detailed_name": "int I",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "I",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": ["38:27-38:28|38:23-38:28|1025|-1"],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 12904523933304867124,
|
||||||
|
"detailed_name": "float Value",
|
||||||
|
"qual_name_offset": 6,
|
||||||
|
"short_name": "Value",
|
||||||
|
"spell": "43:44-43:49|43:38-43:49|1026|-1",
|
||||||
|
"type": 481,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -374,9 +519,9 @@ OUTPUT:
|
|||||||
"short_name": "kOnst",
|
"short_name": "kOnst",
|
||||||
"hover": "static const int kOnst = 7",
|
"hover": "static const int kOnst = 7",
|
||||||
"spell": "41:18-41:23|41:1-41:27|2|-1",
|
"spell": "41:18-41:23|41:1-41:27|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 2,
|
"storage": 2,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": ["43:27-43:32|12|-1"]
|
"uses": ["43:27-43:32|12|-1"]
|
||||||
@ -389,7 +534,7 @@ OUTPUT:
|
|||||||
"spell": "36:3-36:8|36:3-36:8|1026|-1",
|
"spell": "36:3-36:8|36:3-36:8|1026|-1",
|
||||||
"type": 9201299975592934124,
|
"type": 9201299975592934124,
|
||||||
"kind": 22,
|
"kind": 22,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": ["43:20-43:25|4|-1"]
|
"uses": ["43:20-43:25|4|-1"]
|
||||||
@ -401,7 +546,7 @@ OUTPUT:
|
|||||||
"spell": "33:12-33:15|33:1-33:15|2|-1",
|
"spell": "33:12-33:15|33:1-33:15|2|-1",
|
||||||
"type": 1663022413889915338,
|
"type": 1663022413889915338,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -9,7 +9,6 @@ void Template<T>::Foo() {}
|
|||||||
template<>
|
template<>
|
||||||
void Template<void>::Foo() {}
|
void Template<void>::Foo() {}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// TODO: usage information on Template is bad.
|
// TODO: usage information on Template is bad.
|
||||||
// TODO: Foo() should have multiple definitions.
|
// TODO: Foo() should have multiple definitions.
|
||||||
@ -54,6 +53,38 @@ OUTPUT:
|
|||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
|
"usr": 4889840470949104569,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["1:16-1:17|1:10-1:17|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 13161199857701142428,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["7:15-7:16|4|-1"]
|
||||||
|
}, {
|
||||||
"usr": 17107291254533526269,
|
"usr": 17107291254533526269,
|
||||||
"detailed_name": "class Template {}",
|
"detailed_name": "class Template {}",
|
||||||
"qual_name_offset": 6,
|
"qual_name_offset": 6,
|
||||||
@ -61,11 +92,11 @@ OUTPUT:
|
|||||||
"spell": "2:7-2:15|2:1-4:2|2|-1",
|
"spell": "2:7-2:15|2:1-4:2|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [11994188353303124840],
|
"funcs": [11994188353303124840],
|
||||||
"types": [],
|
"types": [4889840470949104569],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -30,7 +30,7 @@ OUTPUT:
|
|||||||
"uses": ["8:19-8:22|36|-1", "9:20-9:23|36|-1"]
|
"uses": ["8:19-8:22|36|-1", "9:20-9:23|36|-1"]
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -53,15 +53,31 @@ OUTPUT:
|
|||||||
"spell": "2:8-2:11|2:1-6:2|2|-1",
|
"spell": "2:8-2:11|2:1-6:2|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [8340731781048851399],
|
"funcs": [8340731781048851399],
|
||||||
"types": [],
|
"types": [14929630827782508810],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": ["8:9-8:12|4|-1", "9:9-9:12|4|-1"]
|
"uses": ["8:9-8:12|4|-1", "9:9-9:12|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 14929630827782508810,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["1:19-1:20|1:10-1:20|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
"usr": 12028309045033782423,
|
"usr": 12028309045033782423,
|
||||||
@ -70,9 +86,9 @@ OUTPUT:
|
|||||||
"short_name": "b",
|
"short_name": "b",
|
||||||
"hover": "int b = Foo<bool>::foo()",
|
"hover": "int b = Foo<bool>::foo()",
|
||||||
"spell": "9:5-9:6|9:1-9:25|2|-1",
|
"spell": "9:5-9:6|9:1-9:25|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -83,9 +99,9 @@ OUTPUT:
|
|||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"hover": "int a = Foo<int>::foo()",
|
"hover": "int a = Foo<int>::foo()",
|
||||||
"spell": "8:5-8:6|8:1-8:24|2|-1",
|
"spell": "8:5-8:6|8:1-8:24|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -31,7 +31,7 @@ OUTPUT:
|
|||||||
"uses": ["9:19-9:22|36|-1", "10:20-10:23|36|-1"]
|
"uses": ["9:19-9:22|36|-1", "10:20-10:23|36|-1"]
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -46,6 +46,22 @@ OUTPUT:
|
|||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [16721564935990383768, 12028309045033782423],
|
"instances": [16721564935990383768, 12028309045033782423],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 10424609343859267126,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["1:19-1:20|1:10-1:20|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 10528472276654770367,
|
"usr": 10528472276654770367,
|
||||||
"detailed_name": "struct Foo {}",
|
"detailed_name": "struct Foo {}",
|
||||||
@ -54,15 +70,31 @@ OUTPUT:
|
|||||||
"spell": "2:8-2:11|2:1-7:2|2|-1",
|
"spell": "2:8-2:11|2:1-7:2|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [9034026360701857235],
|
"funcs": [9034026360701857235],
|
||||||
"types": [],
|
"types": [10424609343859267126],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": ["9:9-9:12|4|-1", "10:9-10:12|4|-1"]
|
"uses": ["9:9-9:12|4|-1", "10:9-10:12|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 12336546102385362252,
|
||||||
|
"detailed_name": "R",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["3:21-3:22|3:12-3:22|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
"usr": 12028309045033782423,
|
"usr": 12028309045033782423,
|
||||||
@ -71,9 +103,9 @@ OUTPUT:
|
|||||||
"short_name": "b",
|
"short_name": "b",
|
||||||
"hover": "int b = Foo<bool>::foo<double>()",
|
"hover": "int b = Foo<bool>::foo<double>()",
|
||||||
"spell": "10:5-10:6|10:1-10:33|2|-1",
|
"spell": "10:5-10:6|10:1-10:33|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -84,9 +116,9 @@ OUTPUT:
|
|||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"hover": "int a = Foo<int>::foo<float>()",
|
"hover": "int a = Foo<int>::foo<float>()",
|
||||||
"spell": "9:5-9:6|9:1-9:31|2|-1",
|
"spell": "9:5-9:6|9:1-9:31|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -31,7 +31,7 @@ VarDecl b
|
|||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"includes": [],
|
"includes": [],
|
||||||
"skipped_ranges": ["12:1-29:1"],
|
"skipped_ranges": ["12:1-28:7"],
|
||||||
"usr2func": [],
|
"usr2func": [],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 6697181287623958829,
|
"usr": 6697181287623958829,
|
||||||
@ -45,7 +45,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -58,11 +58,11 @@ OUTPUT:
|
|||||||
"spell": "5:8-5:11|5:1-7:2|2|-1",
|
"spell": "5:8-5:11|5:1-7:2|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [13938528237873543349],
|
"types": [15010559816125069973, 13938528237873543349],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -79,7 +79,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -101,6 +101,22 @@ OUTPUT:
|
|||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [16721564935990383768, 12028309045033782423],
|
"instances": [16721564935990383768, 12028309045033782423],
|
||||||
"uses": ["9:9-9:14|4|-1", "10:9-10:14|4|-1"]
|
"uses": ["9:9-9:14|4|-1", "10:9-10:14|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 15010559816125069973,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["4:19-4:20|4:10-4:20|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
"usr": 12028309045033782423,
|
"usr": 12028309045033782423,
|
||||||
@ -110,7 +126,7 @@ OUTPUT:
|
|||||||
"spell": "10:15-10:16|10:1-10:16|2|-1",
|
"spell": "10:15-10:16|10:1-10:16|2|-1",
|
||||||
"type": 13938528237873543349,
|
"type": 13938528237873543349,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -122,7 +138,7 @@ OUTPUT:
|
|||||||
"spell": "9:15-9:16|9:1-9:16|2|-1",
|
"spell": "9:15-9:16|9:1-9:16|2|-1",
|
||||||
"type": 13938528237873543349,
|
"type": 13938528237873543349,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -13,7 +13,7 @@ OUTPUT:
|
|||||||
"skipped_ranges": [],
|
"skipped_ranges": [],
|
||||||
"usr2func": [],
|
"usr2func": [],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -28,6 +28,22 @@ OUTPUT:
|
|||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [13545144895171991916, 16721564935990383768, 12028309045033782423],
|
"instances": [13545144895171991916, 16721564935990383768, 12028309045033782423],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 8038341777080655976,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["1:19-1:20|1:10-1:20|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 10528472276654770367,
|
"usr": 10528472276654770367,
|
||||||
"detailed_name": "struct Foo {}",
|
"detailed_name": "struct Foo {}",
|
||||||
@ -36,11 +52,11 @@ OUTPUT:
|
|||||||
"spell": "2:8-2:11|2:1-4:2|2|-1",
|
"spell": "2:8-2:11|2:1-4:2|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [8038341777080655976],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -53,9 +69,9 @@ OUTPUT:
|
|||||||
"short_name": "b",
|
"short_name": "b",
|
||||||
"hover": "int b = Foo<bool>::var",
|
"hover": "int b = Foo<bool>::var",
|
||||||
"spell": "7:5-7:6|7:1-7:23|2|-1",
|
"spell": "7:5-7:6|7:1-7:23|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -65,11 +81,12 @@ OUTPUT:
|
|||||||
"qual_name_offset": 21,
|
"qual_name_offset": 21,
|
||||||
"short_name": "var",
|
"short_name": "var",
|
||||||
"hover": "static constexpr int Foo::var = 3",
|
"hover": "static constexpr int Foo::var = 3",
|
||||||
"type": 53,
|
"spell": "3:24-3:27|3:3-3:31|1026|-1",
|
||||||
"kind": 13,
|
"type": 452,
|
||||||
|
"kind": 8,
|
||||||
"parent_kind": 23,
|
"parent_kind": 23,
|
||||||
"storage": 2,
|
"storage": 2,
|
||||||
"declarations": ["3:24-3:27|3:3-3:31|1025|-1"],
|
"declarations": [],
|
||||||
"uses": ["6:19-6:22|12|-1", "7:20-7:23|12|-1"]
|
"uses": ["6:19-6:22|12|-1", "7:20-7:23|12|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 16721564935990383768,
|
"usr": 16721564935990383768,
|
||||||
@ -78,9 +95,9 @@ OUTPUT:
|
|||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"hover": "int a = Foo<int>::var",
|
"hover": "int a = Foo<int>::var",
|
||||||
"spell": "6:5-6:6|6:1-6:22|2|-1",
|
"spell": "6:5-6:6|6:1-6:22|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -24,14 +24,14 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"uses": ["6:9-6:12|36|-1", "7:9-7:12|36|-1"]
|
"uses": ["6:9-6:12|36|-1", "7:9-7:12|36|-1"]
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -46,6 +46,22 @@ OUTPUT:
|
|||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [16721564935990383768, 12028309045033782423],
|
"instances": [16721564935990383768, 12028309045033782423],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 17666708977284229997,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["1:19-1:20|1:10-1:20|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
"usr": 12028309045033782423,
|
"usr": 12028309045033782423,
|
||||||
@ -54,9 +70,9 @@ OUTPUT:
|
|||||||
"short_name": "b",
|
"short_name": "b",
|
||||||
"hover": "int b = foo<bool>()",
|
"hover": "int b = foo<bool>()",
|
||||||
"spell": "7:5-7:6|7:1-7:20|2|-1",
|
"spell": "7:5-7:6|7:1-7:20|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -67,9 +83,9 @@ OUTPUT:
|
|||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"hover": "int a = foo<int>()",
|
"hover": "int a = foo<int>()",
|
||||||
"spell": "6:5-6:6|6:1-6:19|2|-1",
|
"spell": "6:5-6:6|6:1-6:19|2|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -11,6 +11,22 @@ OUTPUT:
|
|||||||
"skipped_ranges": [],
|
"skipped_ranges": [],
|
||||||
"usr2func": [],
|
"usr2func": [],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
|
"usr": 8047497394564431352,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["1:19-1:20|1:10-1:20|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
"usr": 10528472276654770367,
|
"usr": 10528472276654770367,
|
||||||
"detailed_name": "class Foo {}",
|
"detailed_name": "class Foo {}",
|
||||||
"qual_name_offset": 6,
|
"qual_name_offset": 6,
|
||||||
@ -18,11 +34,11 @@ OUTPUT:
|
|||||||
"spell": "2:7-2:10|2:1-2:13|2|-1",
|
"spell": "2:7-2:10|2:1-2:13|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [8047497394564431352],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [16721564935990383768, 12028309045033782423],
|
"instances": [16721564935990383768, 12028309045033782423],
|
||||||
@ -36,7 +52,7 @@ OUTPUT:
|
|||||||
"spell": "5:11-5:12|5:1-5:12|2|-1",
|
"spell": "5:11-5:12|5:1-5:12|2|-1",
|
||||||
"type": 10528472276654770367,
|
"type": 10528472276654770367,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -48,7 +64,7 @@ OUTPUT:
|
|||||||
"spell": "4:10-4:11|4:1-4:11|2|-1",
|
"spell": "4:10-4:11|4:1-4:11|2|-1",
|
||||||
"type": 10528472276654770367,
|
"type": 10528472276654770367,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -34,7 +34,7 @@ EXTRA_FLAGS:
|
|||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"includes": [],
|
"includes": [],
|
||||||
"skipped_ranges": ["12:1-29:1"],
|
"skipped_ranges": ["12:1-28:7"],
|
||||||
"usr2func": [],
|
"usr2func": [],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 6697181287623958829,
|
"usr": 6697181287623958829,
|
||||||
@ -48,7 +48,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [16721564935990383768],
|
"instances": [16721564935990383768],
|
||||||
@ -57,19 +57,18 @@ OUTPUT:
|
|||||||
"usr": 11919899838872947844,
|
"usr": 11919899838872947844,
|
||||||
"detailed_name": "T",
|
"detailed_name": "T",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "T",
|
"short_name": "",
|
||||||
"spell": "4:19-4:20|4:10-4:20|2|-1",
|
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 26,
|
"kind": 26,
|
||||||
"parent_kind": 5,
|
"parent_kind": 0,
|
||||||
"declarations": [],
|
"declarations": ["4:19-4:20|4:10-4:20|1|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [8096973118640070624],
|
"instances": [8096973118640070624],
|
||||||
"uses": []
|
"uses": ["5:1-5:2|4|-1", "5:9-5:10|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 13892793056005362145,
|
"usr": 13892793056005362145,
|
||||||
"detailed_name": "enum B {}",
|
"detailed_name": "enum B {}",
|
||||||
@ -82,7 +81,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 10,
|
"kind": 10,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [12028309045033782423],
|
"instances": [12028309045033782423],
|
||||||
@ -97,7 +96,7 @@ OUTPUT:
|
|||||||
"spell": "5:3-5:6|5:1-5:12|2|-1",
|
"spell": "5:3-5:6|5:1-5:12|2|-1",
|
||||||
"type": 11919899838872947844,
|
"type": 11919899838872947844,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": ["7:7-7:10|12|-1", "8:7-8:10|12|-1"]
|
"uses": ["7:7-7:10|12|-1", "8:7-8:10|12|-1"]
|
||||||
@ -110,7 +109,7 @@ OUTPUT:
|
|||||||
"spell": "8:3-8:4|8:1-8:13|2|-1",
|
"spell": "8:3-8:4|8:1-8:13|2|-1",
|
||||||
"type": 13892793056005362145,
|
"type": 13892793056005362145,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -123,7 +122,7 @@ OUTPUT:
|
|||||||
"spell": "7:3-7:4|7:1-7:13|2|-1",
|
"spell": "7:3-7:4|7:1-7:13|2|-1",
|
||||||
"type": 6697181287623958829,
|
"type": 6697181287623958829,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -10,7 +10,7 @@ OUTPUT:
|
|||||||
"skipped_ranges": [],
|
"skipped_ranges": [],
|
||||||
"usr2func": [],
|
"usr2func": [],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 82,
|
"usr": 481,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -75,7 +75,7 @@ OUTPUT:
|
|||||||
}],
|
}],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -99,7 +99,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 6,
|
"qual_name_offset": 6,
|
||||||
"short_name": "x",
|
"short_name": "x",
|
||||||
"spell": "2:18-2:19|2:12-2:19|1026|-1",
|
"spell": "2:18-2:19|2:12-2:19|1026|-1",
|
||||||
"type": 82,
|
"type": 481,
|
||||||
"kind": 8,
|
"kind": 8,
|
||||||
"parent_kind": 23,
|
"parent_kind": 23,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
@ -111,7 +111,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 6,
|
"qual_name_offset": 6,
|
||||||
"short_name": "y",
|
"short_name": "y",
|
||||||
"spell": "2:21-2:22|2:12-2:22|1026|-1",
|
"spell": "2:21-2:22|2:12-2:22|1026|-1",
|
||||||
"type": 82,
|
"type": 481,
|
||||||
"kind": 8,
|
"kind": 8,
|
||||||
"parent_kind": 23,
|
"parent_kind": 23,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
@ -123,7 +123,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 6,
|
"qual_name_offset": 6,
|
||||||
"short_name": "z",
|
"short_name": "z",
|
||||||
"spell": "2:24-2:25|2:12-2:25|1026|-1",
|
"spell": "2:24-2:25|2:12-2:25|1026|-1",
|
||||||
"type": 82,
|
"type": 481,
|
||||||
"kind": 8,
|
"kind": 8,
|
||||||
"parent_kind": 23,
|
"parent_kind": 23,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
|
|||||||
@ -33,7 +33,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 252,
|
"kind": 252,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -10,7 +10,7 @@ OUTPUT:
|
|||||||
"skipped_ranges": [],
|
"skipped_ranges": [],
|
||||||
"usr2func": [],
|
"usr2func": [],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 37,
|
"usr": 436,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -26,7 +26,7 @@ OUTPUT:
|
|||||||
"instances": [8804696910588009104],
|
"instances": [8804696910588009104],
|
||||||
"uses": []
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -59,7 +59,7 @@ OUTPUT:
|
|||||||
}],
|
}],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -71,7 +71,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 5,
|
"qual_name_offset": 5,
|
||||||
"short_name": "b",
|
"short_name": "b",
|
||||||
"spell": "3:8-3:9|3:3-3:9|1026|-1",
|
"spell": "3:8-3:9|3:3-3:9|1026|-1",
|
||||||
"type": 37,
|
"type": 436,
|
||||||
"kind": 8,
|
"kind": 8,
|
||||||
"parent_kind": 5,
|
"parent_kind": 5,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
@ -83,7 +83,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 4,
|
"qual_name_offset": 4,
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"spell": "2:7-2:8|2:3-2:8|1026|-1",
|
"spell": "2:7-2:8|2:3-2:8|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 8,
|
"kind": 8,
|
||||||
"parent_kind": 5,
|
"parent_kind": 5,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
|
|||||||
@ -26,14 +26,14 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 37,
|
"usr": 436,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -49,7 +49,7 @@ OUTPUT:
|
|||||||
"instances": [8804696910588009104],
|
"instances": [8804696910588009104],
|
||||||
"uses": []
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -82,7 +82,7 @@ OUTPUT:
|
|||||||
}],
|
}],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [2933643612409209903],
|
"instances": [2933643612409209903],
|
||||||
@ -96,7 +96,7 @@ OUTPUT:
|
|||||||
"spell": "6:5-6:6|6:1-6:6|2|-1",
|
"spell": "6:5-6:6|6:1-6:6|2|-1",
|
||||||
"type": 8501689086387244262,
|
"type": 8501689086387244262,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": ["9:3-9:4|4|-1"]
|
"uses": ["9:3-9:4|4|-1"]
|
||||||
@ -106,7 +106,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 5,
|
"qual_name_offset": 5,
|
||||||
"short_name": "b",
|
"short_name": "b",
|
||||||
"spell": "3:8-3:9|3:3-3:13|1026|-1",
|
"spell": "3:8-3:9|3:3-3:13|1026|-1",
|
||||||
"type": 37,
|
"type": 436,
|
||||||
"kind": 8,
|
"kind": 8,
|
||||||
"parent_kind": 5,
|
"parent_kind": 5,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
@ -118,7 +118,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 4,
|
"qual_name_offset": 4,
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"spell": "2:7-2:8|2:3-2:12|1026|-1",
|
"spell": "2:7-2:8|2:3-2:12|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 8,
|
"kind": 8,
|
||||||
"parent_kind": 5,
|
"parent_kind": 5,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
|
|||||||
@ -23,7 +23,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -56,7 +56,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -17,7 +17,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 5,
|
"qual_name_offset": 5,
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [],
|
"vars": [821688872341099790, 6986353817767193884],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 0,
|
||||||
@ -35,14 +35,54 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": ["6:14-6:20|3787803219955606747|3|16420"],
|
"callees": ["6:14-6:20|3787803219955606747|3|16420"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2type": [],
|
"usr2type": [{
|
||||||
|
"usr": 436,
|
||||||
|
"detailed_name": "",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 0,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [821688872341099790, 6986353817767193884],
|
||||||
|
"uses": []
|
||||||
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
|
"usr": 821688872341099790,
|
||||||
|
"detailed_name": "bool a",
|
||||||
|
"qual_name_offset": 5,
|
||||||
|
"short_name": "a",
|
||||||
|
"spell": "3:18-3:19|3:13-3:19|1026|-1",
|
||||||
|
"type": 436,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
|
"usr": 6986353817767193884,
|
||||||
|
"detailed_name": "bool b",
|
||||||
|
"qual_name_offset": 5,
|
||||||
|
"short_name": "b",
|
||||||
|
"spell": "3:26-3:27|3:21-3:27|1026|-1",
|
||||||
|
"type": 436,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
"usr": 16326993795872073150,
|
"usr": 16326993795872073150,
|
||||||
"detailed_name": "MACRO_CALL",
|
"detailed_name": "MACRO_CALL",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
|
|||||||
@ -54,7 +54,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": ["9:3-9:9|10177235824697315808|3|16420"],
|
"callees": ["9:3-9:9|10177235824697315808|3|16420"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -69,13 +69,29 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": ["5:3-5:9|468307235068920063|3|16420"],
|
"callees": ["5:3-5:9|468307235068920063|3|16420"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"uses": ["9:3-9:9|16420|-1"]
|
"uses": ["9:3-9:9|16420|-1"]
|
||||||
}],
|
}],
|
||||||
"usr2type": [],
|
"usr2type": [{
|
||||||
|
"usr": 8908003062153072411,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["3:20-3:21|3:11-3:21|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
|
}],
|
||||||
"usr2var": []
|
"usr2var": []
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
@ -23,7 +23,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -34,7 +34,7 @@ OUTPUT:
|
|||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "Wrapper",
|
"short_name": "Wrapper",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [],
|
"vars": [17356425290273905453],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 9,
|
"kind": 9,
|
||||||
"parent_kind": 0,
|
"parent_kind": 0,
|
||||||
@ -52,13 +52,29 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": ["8:10-8:16|10544127002917214589|3|16676", "8:10-8:16|468307235068920063|3|16420"],
|
"callees": ["8:10-8:16|10544127002917214589|3|16676", "8:10-8:16|468307235068920063|3|16420"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
|
"usr": 452,
|
||||||
|
"detailed_name": "",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 0,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [17356425290273905453],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
"usr": 13611487872560323389,
|
"usr": 13611487872560323389,
|
||||||
"detailed_name": "struct Wrapper {}",
|
"detailed_name": "struct Wrapper {}",
|
||||||
"qual_name_offset": 7,
|
"qual_name_offset": 7,
|
||||||
@ -70,12 +86,24 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": ["2:3-2:10|4|-1", "7:1-7:8|4|-1"]
|
"uses": ["2:3-2:10|4|-1", "7:1-7:8|4|-1"]
|
||||||
}],
|
}],
|
||||||
"usr2var": []
|
"usr2var": [{
|
||||||
|
"usr": 17356425290273905453,
|
||||||
|
"detailed_name": "int i",
|
||||||
|
"qual_name_offset": 4,
|
||||||
|
"short_name": "i",
|
||||||
|
"spell": "2:15-2:16|2:11-2:16|1026|-1",
|
||||||
|
"type": 452,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 9,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -22,7 +22,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -35,9 +35,8 @@ OUTPUT:
|
|||||||
"spell": "5:6-5:10|5:1-8:2|2|-1",
|
"spell": "5:6-5:10|5:1-8:2|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [16088407831770615719],
|
"vars": [16088407831770615719],
|
||||||
"callees": ["6:18-6:22|5264867802674151787|3|132", "6:18-6:22|5264867802674151787|3|132", "7:3-7:10|12924914488846929470|3|16420", "7:12-7:16|5264867802674151787|3|132"],
|
"callees": ["6:18-6:22|5264867802674151787|3|132", "6:18-6:22|5264867802674151787|3|132",
|
||||||
"kind": 12,
|
"7:3-7:10|12924914488846929470|3|16420", "7:12-7:16|5264867802674151787|3|132"], "kind": 12, "parent_kind": 1,
|
||||||
"parent_kind": 0,
|
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -52,7 +51,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
|
|||||||
@ -6,7 +6,6 @@ void user() {
|
|||||||
auto x = &Foo::Used;
|
auto x = &Foo::Used;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
@ -22,7 +21,7 @@ OUTPUT:
|
|||||||
"vars": [4636142131003982569],
|
"vars": [4636142131003982569],
|
||||||
"callees": ["6:18-6:22|18417145003926999463|3|132", "6:18-6:22|18417145003926999463|3|132"],
|
"callees": ["6:18-6:22|18417145003926999463|3|132", "6:18-6:22|18417145003926999463|3|132"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -54,7 +53,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -18,7 +18,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -33,7 +33,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": ["3:3-3:9|468307235068920063|3|16420"],
|
"callees": ["3:3-3:9|468307235068920063|3|16420"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
|
|||||||
@ -22,7 +22,7 @@ OUTPUT:
|
|||||||
"vars": [14045150712868309451],
|
"vars": [14045150712868309451],
|
||||||
"callees": ["7:6-7:10|18417145003926999463|3|16420"],
|
"callees": ["7:6-7:10|18417145003926999463|3|16420"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -54,7 +54,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [14045150712868309451],
|
"instances": [14045150712868309451],
|
||||||
|
|||||||
@ -21,14 +21,14 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"uses": ["6:11-6:17|36|-1"]
|
"uses": ["6:11-6:17|36|-1"]
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
"usr": 53,
|
"usr": 452,
|
||||||
"detailed_name": "",
|
"detailed_name": "",
|
||||||
"qual_name_offset": 0,
|
"qual_name_offset": 0,
|
||||||
"short_name": "",
|
"short_name": "",
|
||||||
@ -58,7 +58,7 @@ OUTPUT:
|
|||||||
}],
|
}],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -71,7 +71,7 @@ OUTPUT:
|
|||||||
"short_name": "x",
|
"short_name": "x",
|
||||||
"hover": "int Foo::x = helper()",
|
"hover": "int Foo::x = helper()",
|
||||||
"spell": "6:7-6:8|6:3-6:19|1026|-1",
|
"spell": "6:7-6:8|6:3-6:19|1026|-1",
|
||||||
"type": 53,
|
"type": 452,
|
||||||
"kind": 8,
|
"kind": 8,
|
||||||
"parent_kind": 5,
|
"parent_kind": 5,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
|
|||||||
@ -32,7 +32,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": ["4:3-4:6|4259594751088586730|3|16420"],
|
"callees": ["4:3-4:6|4259594751088586730|3|16420"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
|
|||||||
@ -21,7 +21,7 @@ OUTPUT:
|
|||||||
"vars": [16229832321010999607],
|
"vars": [16229832321010999607],
|
||||||
"callees": ["7:6-7:9|17922201480358737771|3|16420"],
|
"callees": ["7:6-7:9|17922201480358737771|3|16420"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -53,7 +53,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [16229832321010999607],
|
"instances": [16229832321010999607],
|
||||||
|
|||||||
@ -21,7 +21,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": ["5:3-5:9|10585861037135727329|3|16420", "6:3-6:9|10585861037135727329|3|16420"],
|
"callees": ["5:3-5:9|10585861037135727329|3|16420", "6:3-6:9|10585861037135727329|3|16420"],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -41,7 +41,23 @@ OUTPUT:
|
|||||||
"derived": [],
|
"derived": [],
|
||||||
"uses": ["5:3-5:9|16420|-1", "6:3-6:9|16420|-1"]
|
"uses": ["5:3-5:9|16420|-1", "6:3-6:9|16420|-1"]
|
||||||
}],
|
}],
|
||||||
"usr2type": [],
|
"usr2type": [{
|
||||||
|
"usr": 13420564603121289209,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["1:19-1:20|1:10-1:20|1|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": ["2:13-2:14|4|-1"]
|
||||||
|
}],
|
||||||
"usr2var": []
|
"usr2var": []
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -25,7 +25,7 @@ OUTPUT:
|
|||||||
"vars": [3364438781074774169],
|
"vars": [3364438781074774169],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -39,15 +39,31 @@ OUTPUT:
|
|||||||
"spell": "2:7-2:17|2:1-2:20|2|-1",
|
"spell": "2:7-2:17|2:1-2:20|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [3365245325694180663],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [12857919739649552168, 18075066956054788088, 3364438781074774169],
|
"instances": [12857919739649552168, 18075066956054788088, 3364438781074774169],
|
||||||
"uses": ["6:8-6:18|4|-1", "7:8-7:18|4|-1", "9:1-9:11|4|-1", "10:3-10:13|4|-1"]
|
"uses": ["6:8-6:18|4|-1", "7:8-7:18|4|-1", "9:1-9:11|4|-1", "10:3-10:13|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 3365245325694180663,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["1:19-1:20|1:10-1:20|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 4750332761459066907,
|
"usr": 4750332761459066907,
|
||||||
"detailed_name": "struct S {}",
|
"detailed_name": "struct S {}",
|
||||||
@ -60,7 +76,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
@ -86,7 +102,7 @@ OUTPUT:
|
|||||||
"spell": "6:25-6:27|6:1-6:27|2|-1",
|
"spell": "6:25-6:27|6:1-6:27|2|-1",
|
||||||
"type": 3286534761799572592,
|
"type": 3286534761799572592,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 2,
|
"storage": 2,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
@ -98,7 +114,7 @@ OUTPUT:
|
|||||||
"spell": "7:22-7:24|7:1-7:24|2|-1",
|
"spell": "7:22-7:24|7:1-7:24|2|-1",
|
||||||
"type": 3286534761799572592,
|
"type": 3286534761799572592,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 2,
|
"storage": 2,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -82,7 +82,7 @@ unique_ptr<S1, S2>* Foo::foo() { return nullptr; }
|
|||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"includes": [],
|
"includes": [],
|
||||||
"skipped_ranges": ["7:1-15:1", "17:1-33:1", "35:1-40:1", "42:1-53:1", "57:1-64:1", "68:1-79:1"],
|
"skipped_ranges": ["7:1-14:7", "17:1-32:7", "35:1-39:7", "42:1-52:7", "57:1-63:7", "68:1-78:7"],
|
||||||
"usr2func": [{
|
"usr2func": [{
|
||||||
"usr": 1246637699196435450,
|
"usr": 1246637699196435450,
|
||||||
"detailed_name": "unique_ptr<unique_ptr<S1, S2>, S2> *as_return_type(unique_ptr<S1, S2> *)",
|
"detailed_name": "unique_ptr<unique_ptr<S1, S2>, S2> *as_return_type(unique_ptr<S1, S2> *)",
|
||||||
@ -93,7 +93,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -108,7 +108,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -138,13 +138,29 @@ OUTPUT:
|
|||||||
"vars": [500112618220246],
|
"vars": [500112618220246],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2type": [{
|
"usr2type": [{
|
||||||
|
"usr": 875011242051264538,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["1:19-1:20|1:10-1:20|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
"usr": 4310164820010458371,
|
"usr": 4310164820010458371,
|
||||||
"detailed_name": "struct S1",
|
"detailed_name": "struct S1",
|
||||||
"qual_name_offset": 7,
|
"qual_name_offset": 7,
|
||||||
@ -159,7 +175,24 @@ OUTPUT:
|
|||||||
"declarations": ["4:8-4:10|4:1-4:10|1|-1"],
|
"declarations": ["4:8-4:10|4:1-4:10|1|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": ["15:30-15:32|4|-1", "33:23-33:25|4|-1", "33:63-33:65|4|-1", "54:25-54:27|4|-1", "65:14-65:16|4|-1", "79:12-79:14|4|-1"]
|
"uses": ["15:30-15:32|4|-1", "33:23-33:25|4|-1", "33:63-33:65|4|-1", "54:25-54:27|4|-1", "65:14-65:16|4|-1",
|
||||||
|
"79:12-79:14|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 10605525886521205308,
|
||||||
|
"detailed_name": "B",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["1:31-1:32|1:22-1:32|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}, {
|
}, {
|
||||||
"usr": 12728490517004312484,
|
"usr": 12728490517004312484,
|
||||||
"detailed_name": "struct S2",
|
"detailed_name": "struct S2",
|
||||||
@ -175,7 +208,8 @@ OUTPUT:
|
|||||||
"declarations": ["5:8-5:10|5:1-5:10|1|-1"],
|
"declarations": ["5:8-5:10|5:1-5:10|1|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": ["15:34-15:36|4|-1", "15:39-15:41|4|-1", "33:27-33:29|4|-1", "33:32-33:34|4|-1", "33:67-33:69|4|-1", "54:29-54:31|4|-1", "54:34-54:36|4|-1", "65:18-65:20|4|-1", "79:16-79:18|4|-1"]
|
"uses": ["15:34-15:36|4|-1", "15:39-15:41|4|-1", "33:27-33:29|4|-1", "33:32-33:34|4|-1", "33:67-33:69|4|-1",
|
||||||
|
"54:29-54:31|4|-1", "54:34-54:36|4|-1", "65:18-65:20|4|-1", "79:16-79:18|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 14209198335088845323,
|
"usr": 14209198335088845323,
|
||||||
"detailed_name": "class unique_ptr",
|
"detailed_name": "class unique_ptr",
|
||||||
@ -183,7 +217,7 @@ OUTPUT:
|
|||||||
"short_name": "unique_ptr",
|
"short_name": "unique_ptr",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [875011242051264538, 10605525886521205308],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
@ -191,7 +225,8 @@ OUTPUT:
|
|||||||
"declarations": ["2:7-2:17|2:1-2:17|1|-1"],
|
"declarations": ["2:7-2:17|2:1-2:17|1|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [2933643612409209903, 500112618220246],
|
"instances": [2933643612409209903, 500112618220246],
|
||||||
"uses": ["15:8-15:18|4|-1", "15:19-15:29|4|-1", "33:1-33:11|4|-1", "33:12-33:22|4|-1", "33:52-33:62|4|-1", "54:3-54:13|4|-1", "54:14-54:24|4|-1", "65:3-65:13|4|-1", "79:1-79:11|4|-1"]
|
"uses": ["15:8-15:18|4|-1", "15:19-15:29|4|-1", "33:1-33:11|4|-1", "33:12-33:22|4|-1", "33:52-33:62|4|-1",
|
||||||
|
"54:3-54:13|4|-1", "54:14-54:24|4|-1", "65:3-65:13|4|-1", "79:1-79:11|4|-1"]
|
||||||
}, {
|
}, {
|
||||||
"usr": 15041163540773201510,
|
"usr": 15041163540773201510,
|
||||||
"detailed_name": "class Foo {}",
|
"detailed_name": "class Foo {}",
|
||||||
@ -204,7 +239,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -19,11 +19,11 @@ OUTPUT:
|
|||||||
"spell": "2:7-2:17|2:1-2:20|2|-1",
|
"spell": "2:7-2:17|2:1-2:20|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"funcs": [],
|
"funcs": [],
|
||||||
"types": [],
|
"types": [11508089533865125841],
|
||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [3398408600781120939],
|
"instances": [3398408600781120939],
|
||||||
@ -44,6 +44,22 @@ OUTPUT:
|
|||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
"uses": ["6:19-6:20|4|-1"]
|
"uses": ["6:19-6:20|4|-1"]
|
||||||
|
}, {
|
||||||
|
"usr": 11508089533865125841,
|
||||||
|
"detailed_name": "T",
|
||||||
|
"qual_name_offset": 0,
|
||||||
|
"short_name": "",
|
||||||
|
"bases": [],
|
||||||
|
"funcs": [],
|
||||||
|
"types": [],
|
||||||
|
"vars": [],
|
||||||
|
"alias_of": 0,
|
||||||
|
"kind": 26,
|
||||||
|
"parent_kind": 0,
|
||||||
|
"declarations": ["1:19-1:20|1:10-1:20|1025|-1"],
|
||||||
|
"derived": [],
|
||||||
|
"instances": [],
|
||||||
|
"uses": []
|
||||||
}],
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
"usr": 3398408600781120939,
|
"usr": 3398408600781120939,
|
||||||
@ -53,7 +69,7 @@ OUTPUT:
|
|||||||
"spell": "6:22-6:25|6:1-6:25|2|-1",
|
"spell": "6:22-6:25|6:1-6:25|2|-1",
|
||||||
"type": 3286534761799572592,
|
"type": 3286534761799572592,
|
||||||
"kind": 13,
|
"kind": 13,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 2,
|
"storage": 2,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"uses": []
|
"uses": []
|
||||||
|
|||||||
@ -19,7 +19,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [1346710425945444872],
|
"instances": [1346710425945444872],
|
||||||
|
|||||||
@ -24,7 +24,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [14727441168849658842],
|
"instances": [14727441168849658842],
|
||||||
@ -63,7 +63,7 @@ OUTPUT:
|
|||||||
}],
|
}],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [],
|
"instances": [],
|
||||||
|
|||||||
@ -21,7 +21,7 @@ OUTPUT:
|
|||||||
"vars": [16374832544037266261, 2580122838476012357],
|
"vars": [16374832544037266261, 2580122838476012357],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -39,7 +39,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [2580122838476012357],
|
"instances": [2580122838476012357],
|
||||||
|
|||||||
@ -18,7 +18,7 @@ OUTPUT:
|
|||||||
"vars": [13058491096576226774, 11055777568039014776],
|
"vars": [13058491096576226774, 11055777568039014776],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -36,7 +36,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"kind": 23,
|
"kind": 23,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [11055777568039014776],
|
"instances": [11055777568039014776],
|
||||||
|
|||||||
@ -20,10 +20,10 @@ OUTPUT:
|
|||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"spell": "4:6-4:9|4:1-4:26|2|-1",
|
"spell": "4:6-4:9|4:1-4:26|2|-1",
|
||||||
"bases": [],
|
"bases": [],
|
||||||
"vars": [13823260660189154978],
|
"vars": [9791335934911072644, 13823260660189154978],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": ["3:6-3:9|3:1-3:23|1|-1"],
|
"declarations": ["3:6-3:9|3:1-3:23|1|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
@ -43,10 +43,22 @@ OUTPUT:
|
|||||||
"parent_kind": 0,
|
"parent_kind": 0,
|
||||||
"declarations": ["1:8-1:11|1:1-1:11|1|-1"],
|
"declarations": ["1:8-1:11|1:1-1:11|1|-1"],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
"instances": [13823260660189154978],
|
"instances": [9791335934911072644, 13823260660189154978],
|
||||||
"uses": ["3:10-3:13|4|-1", "3:18-3:21|4|-1", "4:10-4:13|4|-1", "4:18-4:21|4|-1"]
|
"uses": ["3:10-3:13|4|-1", "3:18-3:21|4|-1", "4:10-4:13|4|-1", "4:18-4:21|4|-1"]
|
||||||
}],
|
}],
|
||||||
"usr2var": [{
|
"usr2var": [{
|
||||||
|
"usr": 9791335934911072644,
|
||||||
|
"detailed_name": "Foo *f",
|
||||||
|
"qual_name_offset": 5,
|
||||||
|
"short_name": "f",
|
||||||
|
"spell": "3:15-3:16|3:10-3:16|1026|-1",
|
||||||
|
"type": 15041163540773201510,
|
||||||
|
"kind": 253,
|
||||||
|
"parent_kind": 12,
|
||||||
|
"storage": 0,
|
||||||
|
"declarations": [],
|
||||||
|
"uses": []
|
||||||
|
}, {
|
||||||
"usr": 13823260660189154978,
|
"usr": 13823260660189154978,
|
||||||
"detailed_name": "Foo *f",
|
"detailed_name": "Foo *f",
|
||||||
"qual_name_offset": 5,
|
"qual_name_offset": 5,
|
||||||
|
|||||||
@ -15,7 +15,7 @@ OUTPUT:
|
|||||||
"vars": [],
|
"vars": [],
|
||||||
"callees": [],
|
"callees": [],
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"parent_kind": 0,
|
"parent_kind": 1,
|
||||||
"storage": 0,
|
"storage": 0,
|
||||||
"declarations": [],
|
"declarations": [],
|
||||||
"derived": [],
|
"derived": [],
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user