mirror of
https://github.com/MaskRay/ccls.git
synced 2025-12-15 11:43:27 +00:00
Serialized indexes are now versioned. Old versions are not imported.
This commit is contained in:
parent
9338bcfd0e
commit
d83b1591a4
@ -26,7 +26,7 @@ std::unique_ptr<IndexedFile> LoadCachedFile(IndexerConfig* config, const std::st
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
optional<IndexedFile> indexed = Deserialize(filename, *file_content);
|
optional<IndexedFile> indexed = Deserialize(filename, *file_content);
|
||||||
if (indexed)
|
if (indexed && indexed->version == IndexedFile::kCurrentVersion)
|
||||||
return MakeUnique<IndexedFile>(indexed.value());
|
return MakeUnique<IndexedFile>(indexed.value());
|
||||||
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|||||||
@ -8,6 +8,7 @@
|
|||||||
-IC:/Users/jacob/Desktop/superindex/indexer/third_party/doctest
|
-IC:/Users/jacob/Desktop/superindex/indexer/third_party/doctest
|
||||||
-IC:/Users/jacob/Desktop/superindex/indexer/third_party/rapidjson/include
|
-IC:/Users/jacob/Desktop/superindex/indexer/third_party/rapidjson/include
|
||||||
-IC:/Users/jacob/Desktop/superindex/indexer/third_party/sparsehash/src
|
-IC:/Users/jacob/Desktop/superindex/indexer/third_party/sparsehash/src
|
||||||
|
-IC:/Users/jacob/Desktop/superindex/indexer/third_party/sparsepp
|
||||||
-IC:/Program Files/LLVM/include
|
-IC:/Program Files/LLVM/include
|
||||||
# OSX
|
# OSX
|
||||||
#-I/Users/jdufault/Personal/super-clang-index/third_party
|
#-I/Users/jdufault/Personal/super-clang-index/third_party
|
||||||
|
|||||||
@ -465,6 +465,9 @@ struct IdCache {
|
|||||||
struct IndexedFile {
|
struct IndexedFile {
|
||||||
IdCache id_cache;
|
IdCache id_cache;
|
||||||
|
|
||||||
|
static constexpr int kCurrentVersion = 1;
|
||||||
|
int version = 0;
|
||||||
|
|
||||||
std::string path;
|
std::string path;
|
||||||
int64_t last_modification_time = 0;
|
int64_t last_modification_time = 0;
|
||||||
|
|
||||||
|
|||||||
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
bool gModificationTimeDisabled = false;
|
|
||||||
|
|
||||||
// See http://stackoverflow.com/a/236803
|
// See http://stackoverflow.com/a/236803
|
||||||
template<typename Out>
|
template<typename Out>
|
||||||
void Split(const std::string &s, char delim, Out result) {
|
void Split(const std::string &s, char delim, Out result) {
|
||||||
@ -85,15 +83,6 @@ void MakeDirectoryRecursive(std::string path) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DisableModificationTimeForTest() {
|
|
||||||
gModificationTimeDisabled = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IsModificationTimeDisabledForTests() {
|
|
||||||
return gModificationTimeDisabled;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
TEST_SUITE("Platform");
|
TEST_SUITE("Platform");
|
||||||
|
|
||||||
TEST_CASE("Split strings") {
|
TEST_CASE("Split strings") {
|
||||||
|
|||||||
@ -37,9 +37,6 @@ bool TryMakeDirectory(const std::string& absolute_path);
|
|||||||
|
|
||||||
void SetCurrentThreadName(const std::string& thread_name);
|
void SetCurrentThreadName(const std::string& thread_name);
|
||||||
|
|
||||||
void DisableModificationTimeForTest();
|
|
||||||
bool IsModificationTimeDisabledForTests();
|
|
||||||
|
|
||||||
int64_t GetLastModificationTime(const std::string& absolute_path);
|
int64_t GetLastModificationTime(const std::string& absolute_path);
|
||||||
|
|
||||||
// Returns any clang arguments that are specific to the current platform.
|
// Returns any clang arguments that are specific to the current platform.
|
||||||
|
|||||||
@ -183,9 +183,6 @@ void SetCurrentThreadName(const std::string& thread_name) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int64_t GetLastModificationTime(const std::string& absolute_path) {
|
int64_t GetLastModificationTime(const std::string& absolute_path) {
|
||||||
if (IsModificationTimeDisabledForTests())
|
|
||||||
return 1;
|
|
||||||
|
|
||||||
struct _stat buf;
|
struct _stat buf;
|
||||||
if (_stat(absolute_path.c_str(), &buf) != 0) {
|
if (_stat(absolute_path.c_str(), &buf) != 0) {
|
||||||
switch (errno) {
|
switch (errno) {
|
||||||
|
|||||||
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
#include "indexer.h"
|
#include "indexer.h"
|
||||||
|
|
||||||
|
namespace {
|
||||||
|
bool gTestOutputMode = false;
|
||||||
|
} // namespace
|
||||||
|
|
||||||
// int
|
// int
|
||||||
void Reflect(Reader& visitor, int& value) {
|
void Reflect(Reader& visitor, int& value) {
|
||||||
@ -216,13 +219,17 @@ bool ReflectMemberStart(Writer& visitor, IndexedFile& value) {
|
|||||||
assert(value.Resolve(it->second)->uses.size() == 0);
|
assert(value.Resolve(it->second)->uses.size() == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
value.version = IndexedFile::kCurrentVersion;
|
||||||
DefaultReflectMemberStart(visitor);
|
DefaultReflectMemberStart(visitor);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
template<typename TVisitor>
|
template<typename TVisitor>
|
||||||
void Reflect(TVisitor& visitor, IndexedFile& value) {
|
void Reflect(TVisitor& visitor, IndexedFile& value) {
|
||||||
REFLECT_MEMBER_START();
|
REFLECT_MEMBER_START();
|
||||||
REFLECT_MEMBER(last_modification_time);
|
if (!gTestOutputMode) {
|
||||||
|
REFLECT_MEMBER(version);
|
||||||
|
REFLECT_MEMBER(last_modification_time);
|
||||||
|
}
|
||||||
REFLECT_MEMBER(dependencies);
|
REFLECT_MEMBER(dependencies);
|
||||||
REFLECT_MEMBER(types);
|
REFLECT_MEMBER(types);
|
||||||
REFLECT_MEMBER(funcs);
|
REFLECT_MEMBER(funcs);
|
||||||
@ -276,3 +283,7 @@ optional<IndexedFile> Deserialize(std::string path, std::string serialized) {
|
|||||||
|
|
||||||
return file;
|
return file;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SetTestOutputMode() {
|
||||||
|
gTestOutputMode = true;
|
||||||
|
}
|
||||||
@ -208,3 +208,5 @@ void ReflectMember(Reader& visitor, const char* name, T& value) {
|
|||||||
|
|
||||||
std::string Serialize(IndexedFile& file);
|
std::string Serialize(IndexedFile& file);
|
||||||
optional<IndexedFile> Deserialize(std::string path, std::string serialized);
|
optional<IndexedFile> Deserialize(std::string path, std::string serialized);
|
||||||
|
|
||||||
|
void SetTestOutputMode();
|
||||||
@ -112,7 +112,7 @@ IndexedFile* FindDbForPathEnding(const std::string& path, const std::vector<std:
|
|||||||
}
|
}
|
||||||
|
|
||||||
void RunTests() {
|
void RunTests() {
|
||||||
DisableModificationTimeForTest();
|
SetTestOutputMode();
|
||||||
|
|
||||||
// TODO: Assert that we need to be on clang >= 3.9.1
|
// TODO: Assert that we need to be on clang >= 3.9.1
|
||||||
bool update_all = false;
|
bool update_all = false;
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{}
|
||||||
"last_modification_time": 1
|
|
||||||
}
|
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -6,7 +6,6 @@ class Foo;
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -11,7 +11,6 @@ void foo() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -16,7 +16,6 @@ void foo() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -6,7 +6,6 @@ Foo::Foo() {}
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -8,7 +8,6 @@ class Foo;
|
|||||||
// for comments.
|
// for comments.
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -5,7 +5,6 @@ class Foo {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -7,7 +7,6 @@ int Foo::foo;
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -7,7 +7,6 @@ void foo();
|
|||||||
// Note: we always use the latest seen ("most local") definition/declaration.
|
// Note: we always use the latest seen ("most local") definition/declaration.
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
|
|||||||
@ -9,7 +9,6 @@ void Foo::def() {}
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -6,7 +6,6 @@ enum class Foo {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@E@Foo",
|
"usr": "c:@E@Foo",
|
||||||
|
|||||||
@ -6,7 +6,6 @@ enum Foo {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@E@Foo",
|
"usr": "c:@E@Foo",
|
||||||
|
|||||||
@ -6,7 +6,6 @@ enum Foo : int {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@E@Foo",
|
"usr": "c:@E@Foo",
|
||||||
|
|||||||
@ -8,7 +8,6 @@ Foo x = Foo::A;
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@E@Foo",
|
"usr": "c:@E@Foo",
|
||||||
|
|||||||
@ -11,7 +11,6 @@ Foo<B> b;
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@E@A",
|
"usr": "c:@E@A",
|
||||||
|
|||||||
@ -3,7 +3,6 @@ void foo(int a, int b);
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#I#I#",
|
"usr": "c:@F@foo#I#I#",
|
||||||
|
|||||||
@ -5,7 +5,6 @@ void foo() {}
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
|
|||||||
@ -3,7 +3,6 @@ void foo() {}
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
|
|||||||
@ -4,7 +4,6 @@ class Derived : public Parent {};
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Parent",
|
"usr": "c:@S@Parent",
|
||||||
|
|||||||
@ -15,7 +15,6 @@ class Derived : Base1<3>, Base2<Derived>, Derived1<4>, Derived2<Derived> {};
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>1#Ni@Base1",
|
"usr": "c:@ST>1#Ni@Base1",
|
||||||
|
|||||||
@ -6,7 +6,6 @@ class Derived : public MiddleA, public MiddleB {};
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Root",
|
"usr": "c:@S@Root",
|
||||||
|
|||||||
@ -8,7 +8,6 @@ class Derived : public Root {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Root",
|
"usr": "c:@S@Root",
|
||||||
|
|||||||
@ -5,7 +5,6 @@ class IFoo {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@IFoo",
|
"usr": "c:@S@IFoo",
|
||||||
|
|||||||
@ -9,7 +9,6 @@ class Foo {
|
|||||||
|
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -7,7 +7,6 @@ void Foo::foo() {}
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -5,7 +5,6 @@ class Foo {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -8,7 +8,6 @@ enum Foo {
|
|||||||
|
|
||||||
OUTPUT: funky_enum.h
|
OUTPUT: funky_enum.h
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@E@Foo",
|
"usr": "c:@E@Foo",
|
||||||
@ -48,7 +47,6 @@ OUTPUT: funky_enum.h
|
|||||||
}
|
}
|
||||||
OUTPUT: funky_enum.cc
|
OUTPUT: funky_enum.cc
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"dependencies": ["C:/Users/jacob/Desktop/superindex/indexer/tests/multi_file/funky_enum.h"],
|
"dependencies": ["C:/Users/jacob/Desktop/superindex/indexer/tests/multi_file/funky_enum.h"],
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
|
|||||||
@ -7,7 +7,6 @@ void Impl() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT: header.h
|
OUTPUT: header.h
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Base",
|
"usr": "c:@S@Base",
|
||||||
@ -111,7 +110,6 @@ OUTPUT: header.h
|
|||||||
}
|
}
|
||||||
OUTPUT: impl.cc
|
OUTPUT: impl.cc
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"dependencies": ["C:/Users/jacob/Desktop/superindex/indexer/tests/multi_file/header.h"],
|
"dependencies": ["C:/Users/jacob/Desktop/superindex/indexer/tests/multi_file/header.h"],
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
|
|||||||
@ -7,7 +7,6 @@ void impl() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT: simple_header.h
|
OUTPUT: simple_header.h
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@header#",
|
"usr": "c:@F@header#",
|
||||||
@ -18,7 +17,6 @@ OUTPUT: simple_header.h
|
|||||||
}
|
}
|
||||||
OUTPUT: simple_impl.cc
|
OUTPUT: simple_impl.cc
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"dependencies": ["C:/Users/jacob/Desktop/superindex/indexer/tests/multi_file/simple_header.h"],
|
"dependencies": ["C:/Users/jacob/Desktop/superindex/indexer/tests/multi_file/simple_header.h"],
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
|
|||||||
@ -5,7 +5,6 @@ void Buffer::CreateSharedBuffer() {}
|
|||||||
/*
|
/*
|
||||||
OUTPUT: static.h
|
OUTPUT: static.h
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Buffer",
|
"usr": "c:@S@Buffer",
|
||||||
@ -27,7 +26,6 @@ OUTPUT: static.h
|
|||||||
}
|
}
|
||||||
OUTPUT: static.cc
|
OUTPUT: static.cc
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"dependencies": ["C:/Users/jacob/Desktop/superindex/indexer/tests/multi_file/static.h"],
|
"dependencies": ["C:/Users/jacob/Desktop/superindex/indexer/tests/multi_file/static.h"],
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
|
|||||||
@ -5,7 +5,6 @@ void foo();
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:anonymous_function.cc@aN@F@foo#",
|
"usr": "c:anonymous_function.cc@aN@F@foo#",
|
||||||
|
|||||||
@ -5,7 +5,6 @@ void foo(int a, int b);
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@N@hello@F@foo#I#I#",
|
"usr": "c:@N@hello@F@foo#I#I#",
|
||||||
|
|||||||
@ -5,7 +5,6 @@ void foo() {}
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@N@hello@F@foo#",
|
"usr": "c:@N@hello@F@foo#",
|
||||||
|
|||||||
@ -7,7 +7,6 @@ class Foo {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@N@hello@S@Foo",
|
"usr": "c:@N@hello@S@Foo",
|
||||||
|
|||||||
@ -9,7 +9,6 @@ void Foo::foo() {}
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@N@hello@S@Foo",
|
"usr": "c:@N@hello@S@Foo",
|
||||||
|
|||||||
@ -7,7 +7,6 @@ class Foo {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@N@hello@S@Foo",
|
"usr": "c:@N@hello@S@Foo",
|
||||||
|
|||||||
@ -12,7 +12,6 @@ void Runner() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@N@ns@F@Accept#I#",
|
"usr": "c:@N@ns@F@Accept#I#",
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -10,7 +10,6 @@ void Foo::Bar(Template<double>&) {}
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>1#T@Template",
|
"usr": "c:@ST>1#T@Template",
|
||||||
|
|||||||
@ -17,7 +17,6 @@ namespace ns {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@N@ns@E@VarType",
|
"usr": "c:@N@ns@E@VarType",
|
||||||
|
|||||||
@ -14,7 +14,6 @@ namespace ns {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@N@ns@ST>1#T@Foo",
|
"usr": "c:@N@ns@ST>1#T@Foo",
|
||||||
|
|||||||
@ -9,7 +9,6 @@ namespace ns {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@N@ns@ST>1#T@Foo",
|
"usr": "c:@N@ns@ST>1#T@Foo",
|
||||||
|
|||||||
@ -15,7 +15,6 @@ void Template<void>::Foo() {}
|
|||||||
|
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>1#T@Template",
|
"usr": "c:@ST>1#T@Template",
|
||||||
|
|||||||
@ -11,7 +11,6 @@ int b = Foo<bool>::foo();
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>1#T@Foo",
|
"usr": "c:@ST>1#T@Foo",
|
||||||
|
|||||||
@ -12,7 +12,6 @@ int b = Foo<bool>::foo<double>();
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>1#T@Foo",
|
"usr": "c:@ST>1#T@Foo",
|
||||||
|
|||||||
@ -30,7 +30,6 @@ VarDecl b
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@E@A",
|
"usr": "c:@E@A",
|
||||||
|
|||||||
@ -9,7 +9,6 @@ int b = Foo<bool>::var;
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>1#T@Foo",
|
"usr": "c:@ST>1#T@Foo",
|
||||||
|
|||||||
@ -12,7 +12,6 @@ int b = foo<bool>();
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:template_func_usage_folded_into_one.cc@FT@>1#Tfoo#I#",
|
"usr": "c:template_func_usage_folded_into_one.cc@FT@>1#Tfoo#I#",
|
||||||
|
|||||||
@ -7,7 +7,6 @@ Foo<bool> b;
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>1#T@Foo",
|
"usr": "c:@ST>1#T@Foo",
|
||||||
|
|||||||
@ -30,7 +30,6 @@ UnexposedDecl var
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@E@A",
|
"usr": "c:@E@A",
|
||||||
|
|||||||
@ -6,7 +6,6 @@ union vector3 {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@U@vector3",
|
"usr": "c:@U@vector3",
|
||||||
|
|||||||
@ -6,7 +6,6 @@ union Foo {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@U@Foo",
|
"usr": "c:@U@Foo",
|
||||||
|
|||||||
@ -14,7 +14,6 @@ void act(Foo*) {
|
|||||||
|
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@U@Foo",
|
"usr": "c:@U@Foo",
|
||||||
|
|||||||
@ -11,7 +11,6 @@ Foo::Foo() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -9,7 +9,6 @@ void caller() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@called#b#b#",
|
"usr": "c:@F@called#b#b#",
|
||||||
|
|||||||
@ -14,7 +14,6 @@ void foo() {
|
|||||||
// called() is never referenced.
|
// called() is never referenced.
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@called#",
|
"usr": "c:@F@called#",
|
||||||
|
|||||||
@ -11,7 +11,6 @@ Wrapper caller() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Wrapper",
|
"usr": "c:@S@Wrapper",
|
||||||
|
|||||||
@ -10,7 +10,6 @@ void user() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@consume#*v#",
|
"usr": "c:@F@consume#*v#",
|
||||||
|
|||||||
@ -10,7 +10,6 @@ void user() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -6,7 +6,6 @@ void caller() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@called#",
|
"usr": "c:@F@called#",
|
||||||
|
|||||||
@ -10,7 +10,6 @@ void user() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -9,7 +9,6 @@ class Foo {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -6,7 +6,6 @@ void usage() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
|
|||||||
@ -9,7 +9,6 @@ void usage() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -9,7 +9,6 @@ void foo() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@FT@>1#Taccept#t0.0#v#",
|
"usr": "c:@FT@>1#Taccept#t0.0#v#",
|
||||||
|
|||||||
@ -13,7 +13,6 @@ unique_ptr<S>* return_type() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>1#T@unique_ptr",
|
"usr": "c:@ST>1#T@unique_ptr",
|
||||||
|
|||||||
@ -81,7 +81,6 @@ unique_ptr<S1, S2>* Foo::foo() { return nullptr; }
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>2#T#T@unique_ptr",
|
"usr": "c:@ST>2#T#T@unique_ptr",
|
||||||
|
|||||||
@ -8,7 +8,6 @@ static unique_ptr<S> foo;
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>1#T@unique_ptr",
|
"usr": "c:@ST>1#T@unique_ptr",
|
||||||
|
|||||||
@ -4,7 +4,6 @@ extern T t;
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@T",
|
"usr": "c:@S@T",
|
||||||
|
|||||||
@ -9,7 +9,6 @@ struct Foo {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@ForwardType",
|
"usr": "c:@S@ForwardType",
|
||||||
|
|||||||
@ -9,7 +9,6 @@ void Foo() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@ForwardType",
|
"usr": "c:@S@ForwardType",
|
||||||
|
|||||||
@ -6,7 +6,6 @@ void foo(ForwardType* f, ImplementedType a) {}
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@ForwardType",
|
"usr": "c:@S@ForwardType",
|
||||||
|
|||||||
@ -11,7 +11,6 @@ void foo(Foo* f, Foo*) {}
|
|||||||
|
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -3,7 +3,6 @@ void foo(ForwardType*) {}
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@ForwardType",
|
"usr": "c:@S@ForwardType",
|
||||||
|
|||||||
@ -9,7 +9,6 @@ void foo(Type& a0, const Type& a1) {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Type",
|
"usr": "c:@S@Type",
|
||||||
|
|||||||
@ -3,7 +3,6 @@ static Type t;
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Type",
|
"usr": "c:@S@Type",
|
||||||
|
|||||||
@ -20,7 +20,6 @@ static Type* bar() {}
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Type",
|
"usr": "c:@S@Type",
|
||||||
|
|||||||
@ -12,7 +12,6 @@ void accept3(Foo3*) {}
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -7,7 +7,6 @@ typedef Foo<Foo1> Foo2;
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>1#T@Foo",
|
"usr": "c:@ST>1#T@Foo",
|
||||||
|
|||||||
@ -12,7 +12,6 @@ extern Foo foo;
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -17,7 +17,6 @@ void foo() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -9,7 +9,6 @@ void foo() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@called#I#",
|
"usr": "c:@F@called#I#",
|
||||||
|
|||||||
@ -10,7 +10,6 @@ void caller() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@called#",
|
"usr": "c:@F@called#",
|
||||||
|
|||||||
@ -20,7 +20,6 @@ void foo() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -11,7 +11,6 @@ void foo() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
|
|||||||
@ -10,7 +10,6 @@ const VarType Holder::static_var;
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@E@VarType",
|
"usr": "c:@E@VarType",
|
||||||
|
|||||||
@ -6,7 +6,6 @@ void foo() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
|
|||||||
@ -4,7 +4,6 @@ void foo(int a) {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#I#",
|
"usr": "c:@F@foo#I#",
|
||||||
|
|||||||
@ -5,7 +5,6 @@ void foo() {
|
|||||||
/*
|
/*
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
{
|
{
|
||||||
"last_modification_time": 1,
|
|
||||||
"funcs": [{
|
"funcs": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user