astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2019-05-05 11:41:29 +02:00
parent 8c03be3212
commit 7efcb3cfe3
2 changed files with 2 additions and 4 deletions

View File

@ -982,8 +982,7 @@ public:
bool addValue(const ValueFlow::Value &value); bool addValue(const ValueFlow::Value &value);
template<class Predicate> template<class Predicate>
void removeValues(Predicate pred) void removeValues(Predicate pred) {
{
if (mImpl->mValues) if (mImpl->mValues)
mImpl->mValues->remove_if(pred); mImpl->mValues->remove_if(pred);
} }

View File

@ -2019,8 +2019,7 @@ private:
ASSERT_EQUALS("", errout.str()); ASSERT_EQUALS("", errout.str());
} }
void danglingLifetimeImplicitConversion() void danglingLifetimeImplicitConversion() {
{
check("struct A { A(const char *a); };\n" check("struct A { A(const char *a); };\n"
"A f() {\n" "A f() {\n"
" std::string ba(\"hello\");\n" " std::string ba(\"hello\");\n"