r231152 - DebugInfo: Remove useless test

Duncan P. N. Exon Smith dexonsmith at apple.com
Tue Mar 3 14:18:24 PST 2015


Author: dexonsmith
Date: Tue Mar  3 16:18:24 2015
New Revision: 231152

URL: http://llvm.org/viewvc/llvm-project?rev=231152&view=rev
Log:
DebugInfo: Remove useless test

This test doesn't provide any value (it just checks that the frontend
produces exactly one compile unit), and it certainly isn't doing what
the comment says.  Noticed via IRC review of my update to it in r231083.

Removed:
    cfe/trunk/test/CodeGen/2005-12-04-DeclarationLineNumbers.c

Removed: cfe/trunk/test/CodeGen/2005-12-04-DeclarationLineNumbers.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2005-12-04-DeclarationLineNumbers.c?rev=231151&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/2005-12-04-DeclarationLineNumbers.c (original)
+++ cfe/trunk/test/CodeGen/2005-12-04-DeclarationLineNumbers.c (removed)
@@ -1,24 +0,0 @@
-// RUN: %clang_cc1 %s -emit-llvm -g -o - | FileCheck %s
-// CHECK: !MDCompileUnit(
-// CHECK-NOT: !MDCompileUnit(
-// PR664: ensure that line #'s are emitted for declarations
-
-short test(short br_data_0,
-short br_data_1,
-short br_data_2,
-short br_data_3,
-short br_data_4,
-short br_data_5,
-short br_data_6,
-short br_data_7) {
-
-short sm07 = br_data_0 + br_data_7;
-short sm16 = br_data_1 + br_data_6;
-short sm25 = br_data_2 + br_data_5;
-short sm34 = br_data_3 + br_data_4;
-short s0734 = sm07 + sm34;
-short s1625 = sm16 + sm25;
-
-return s0734 + s1625;
-}
-





More information about the cfe-commits mailing list