From ac6ce3a0d1f5710d2829fff9e90ad7db88eb1379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 17 Feb 2008 15:47:37 +0000 Subject: [PATCH] Unit Testing: Testing the statement list --- Statements.cpp | 6 ------ tests.cpp | 2 -- 2 files changed, 8 deletions(-) diff --git a/Statements.cpp b/Statements.cpp index c2dca55ad..9cff841a5 100644 --- a/Statements.cpp +++ b/Statements.cpp @@ -49,12 +49,6 @@ static void AppendStatement(STATEMENT::etype Type, TOKEN *tok, std::string Var=" } } - if ( PointerType ) - { - if ( ! ShowAll && ! IsStandardType(PointerType) ) - return; - } - Statements.push_back(NewStatement); } diff --git a/tests.cpp b/tests.cpp index 0fd67497f..5df0c419e 100644 --- a/tests.cpp +++ b/tests.cpp @@ -215,7 +215,6 @@ static void internal_statementlist() -/* TODO: This should work const char code5[] = "void f()\n" "{\n" @@ -234,7 +233,6 @@ static void internal_statementlist() check( statementlist, __LINE__, code5, sl5 ); -*/ const char code6[] = "void f()\n"