logic: Cxx destructor decl fixes

* omit visiting a type in the name of a CxxDestructorDecl (which recorded a type reference)
* fixed range of names for Cxx destructors and overleaded operators.
This commit is contained in:
mlangkabel
2017-09-11 15:40:26 +02:00
parent 41348f5130
commit 64a97d37f1
5 changed files with 41 additions and 13 deletions
+8 -6
View File
@@ -281,13 +281,15 @@ int main(int argc, char *argv[])
else
{
#ifdef _WIN32
HWND consoleWnd = GetConsoleWindow();
DWORD dwProcessId;
GetWindowThreadProcessId(consoleWnd, &dwProcessId);
if (GetCurrentProcessId() == dwProcessId)
{
// Sourcetrail has not been started from console and thus has it's own console
ShowWindow(consoleWnd, SW_HIDE);
HWND consoleWnd = GetConsoleWindow();
DWORD dwProcessId;
GetWindowThreadProcessId(consoleWnd, &dwProcessId);
if (GetCurrentProcessId() == dwProcessId)
{
// Sourcetrail has not been started from console and thus has it's own console
ShowWindow(consoleWnd, SW_HIDE);
}
}
#endif
QtApplication qtApp(argc, argv);