run astyle
This commit is contained in:
parent
7e31c91a79
commit
3c5134bb21
|
@ -241,8 +241,8 @@ bool FileLister::isDirectory(const std::string &path)
|
|||
#include <limits.h>
|
||||
|
||||
void FileLister::recursiveAddFiles2(std::vector<std::string> &relative,
|
||||
std::vector<std::string> &absolute,
|
||||
const std::string &path)
|
||||
std::vector<std::string> &absolute,
|
||||
const std::string &path)
|
||||
{
|
||||
std::ostringstream oss;
|
||||
oss << path;
|
||||
|
|
|
@ -47,7 +47,7 @@ CheckMemoryLeakNoVar instance4;
|
|||
// Reference: http://www.aquaphoenix.com/ref/gnu_c_library/libc_492.html#SEC492
|
||||
static const char * const call_func_white_list[] =
|
||||
{
|
||||
"_open", "_wopen", "access", "asctime", "asctime_r", "asprintf", "assert"
|
||||
"_open", "_wopen", "access", "asctime", "asctime_r", "asprintf", "assert"
|
||||
, "atof", "atoi", "atol", "chdir", "chmod", "chown"
|
||||
, "clearerr", "ctime", "ctime_r", "delete", "fchmod", "fclose", "fcntl"
|
||||
, "fdatasync", "feof", "ferror", "fflush", "fgetc", "fgetpos", "fgets"
|
||||
|
|
|
@ -228,9 +228,9 @@ private:
|
|||
TEST_CASE(func18);
|
||||
TEST_CASE(func19); // Ticket #2056 - if (!f(p)) return 0;
|
||||
TEST_CASE(func20); // Ticket #2182 - exit is not handled
|
||||
TEST_CASE(func21); // Ticket #2569
|
||||
TEST_CASE(func22); // Ticket #2668
|
||||
TEST_CASE(func23); // Ticket #2667
|
||||
TEST_CASE(func21); // Ticket #2569
|
||||
TEST_CASE(func22); // Ticket #2668
|
||||
TEST_CASE(func23); // Ticket #2667
|
||||
|
||||
TEST_CASE(allocfunc1);
|
||||
TEST_CASE(allocfunc2);
|
||||
|
@ -2081,7 +2081,7 @@ private:
|
|||
// # 2667
|
||||
void func23()
|
||||
{
|
||||
|
||||
|
||||
// check open() function
|
||||
// ----------------------
|
||||
check("int * foo()\n"
|
||||
|
|
Loading…
Reference in New Issue