logic: fixed warnings, tests and bugs

* fixed clang warnings
* fixed cxxparser tests
* added missing checks for valid location in ASTVisitor callbacks for templates
* removed warning when statusbar view is removed
* made font of activated classes bold
* fixed search box not responding to autocompletion tab or enter press
* fixed search box not updated when active token changes
This commit is contained in:
Eberhard Graether
2014-12-02 00:55:57 +01:00
parent 3b7b02ff8c
commit c54c405dd1
15 changed files with 158 additions and 113 deletions
+5 -5
View File
@@ -1057,7 +1057,7 @@ public:
" T foo;\n"
"};\n"
"\n"
"A<int> a\n"
"A<int> a;\n"
);
TS_ASSERT_EQUALS(client->templateSpecializations.size(), 1);
@@ -1122,9 +1122,9 @@ public:
"template <typename T>\n"
"class A\n"
"{\n"
" Enum TestType\n"
" enum TestType\n"
" {\n"
" TEST_ONE\n"
" TEST_ONE,\n"
" TEST_TWO\n"
" };\n"
"};\n"
@@ -1140,7 +1140,7 @@ public:
"template <typename T>\n"
"class A\n"
"{\n"
" Enum TestType\n"
" enum TestType\n"
" {\n"
" TEST_ONE,\n"
" TEST_TWO\n"
@@ -1159,7 +1159,7 @@ public:
"template <typename T>\n"
"class A\n"
"{\n"
" Enum TestType\n"
" enum TestType\n"
" {\n"
" TEST_ONE,\n"
" TEST_TWO\n"