src: various fixes

* fixed crash when hovering GraphNode while expanding/collapsing it
* fixed clang warnings
* fixed GraphNodeExpandToggle to show empty circle
* fixed Searchbar showing empty block when nothing was parsed
* made template related edges in GraphView red
This commit is contained in:
Eberhard Graether
2015-05-05 23:12:25 +02:00
parent 0763dc9cdf
commit 7dcf8b0bdb
9 changed files with 65 additions and 77 deletions
+15 -16
View File
@@ -2437,22 +2437,21 @@ public:
TS_ASSERT_EQUALS(client->errors[0], "use of undeclared identifier \'b\' <1:9 1:9>");
}
void ___test_TEST()
{
std::shared_ptr<TestParserClient> client = parseCode(
"template <template<template<typename> class> class T>\n"
"class A {\n"
"T<>\n"
"};\n"
"template <template<typename> class T>\n"
"class B {};\n"
"template <typename T>\n"
"class C {};\n"
"A<B> a;\n"
);
int ofo = 0;
}
// void ___test_TEST()
// {
// std::shared_ptr<TestParserClient> client = parseCode(
// "template <template<template<typename> class> class T>\n"
// "class A {\n"
// "T<>\n"
// "};\n"
// "template <template<typename> class T>\n"
// "class B {};\n"
// "template <typename T>\n"
// "class C {};\n"
// "A<B> a;\n"
// );
// int ofo = 0;
// }
private:
class TestParserClient: public ParserClient