Attempt to fix travis build and testrunner failure
This commit is contained in:
parent
452ecc7ceb
commit
92e3e802fb
|
@ -3,6 +3,8 @@ redundantNextPrevious:test/testtoken.cpp
|
||||||
simplePatternError:test/testtoken.cpp
|
simplePatternError:test/testtoken.cpp
|
||||||
uselessAssignmentPtrArg:build/checkstl.cpp
|
uselessAssignmentPtrArg:build/checkstl.cpp
|
||||||
uselessAssignmentPtrArg:build/tokenize.cpp
|
uselessAssignmentPtrArg:build/tokenize.cpp
|
||||||
|
passedByValue:build/symboldatabase.h
|
||||||
|
passedByValue:build/library.h
|
||||||
*:gui/test*
|
*:gui/test*
|
||||||
*:test/test.cxx
|
*:test/test.cxx
|
||||||
*:test/cfg*
|
*:test/cfg*
|
||||||
|
|
|
@ -1309,7 +1309,7 @@ private:
|
||||||
ASSERT_EQUALS("", errout.str());
|
ASSERT_EQUALS("", errout.str());
|
||||||
|
|
||||||
check("class Foo { static std::string s; };\nvoid f(const Foo foo) {}"); // Small class (static member)
|
check("class Foo { static std::string s; };\nvoid f(const Foo foo) {}"); // Small class (static member)
|
||||||
ASSERT_EQUALS("[test.cpp:2]: (performance) Function parameter 'foo' should be passed by reference.\n", errout.str());
|
ASSERT_EQUALS("", errout.str());
|
||||||
|
|
||||||
check("class X { std::string s; }; class Foo : X { };\nvoid f(const Foo foo) {}"); // Large class (inherited)
|
check("class X { std::string s; }; class Foo : X { };\nvoid f(const Foo foo) {}"); // Large class (inherited)
|
||||||
ASSERT_EQUALS("[test.cpp:2]: (performance) Function parameter 'foo' should be passed by reference.\n", errout.str());
|
ASSERT_EQUALS("[test.cpp:2]: (performance) Function parameter 'foo' should be passed by reference.\n", errout.str());
|
||||||
|
|
Loading…
Reference in New Issue