ccls/tests/constructors/destructor.cc
2017-02-19 16:56:56 -08:00

13 lines
372 B
C++

// TODO: Support destructors.
// - check if variable is a pointer. if so, do *not* insert dtor
// - check if variable is normal type. if so, insert dtor
// - scan for statements that look like dtors in function def handler
// - figure out some way to support w/ unique_ptrs?
/*
OUTPUT:
{
"types": [],
"functions": [],
"variables": []
}
*/