astyle formatting

This commit is contained in:
Daniel Marjamäki 2018-04-09 22:21:17 +02:00
parent 8f84a493f4
commit c5923fbdd3
2 changed files with 6 additions and 6 deletions

View File

@ -2586,9 +2586,9 @@ static void valueFlowAfterCondition(TokenList *tokenlist, SymbolDatabase* symbol
}
std::list<ValueFlow::Value> * values = nullptr;
if(!dead_if && check_if)
if (!dead_if && check_if)
values = &true_values;
else if(!dead_else && check_else)
else if (!dead_else && check_else)
values = &false_values;
if (values) {

View File

@ -2925,16 +2925,16 @@ private:
}
void symboldatabase63() {
{
{
GET_SYMBOL_DB("template class T<int> ; void foo() { }");
ASSERT(db != nullptr);
ASSERT(db && db->scopeList.size() == 2);
}
{
}
{
GET_SYMBOL_DB("template struct T<int> ; void foo() { }");
ASSERT(db != nullptr);
ASSERT(db && db->scopeList.size() == 2);
}
}
}
void enum1() {