[cfe-commits] r172890 - in /cfe/trunk/test/Analysis/diagnostics: Inputs/ Inputs/include/ Inputs/include/sys/ Inputs/include/sys/queue.h false-positive-suppression.c include/sys/queue.h

Chandler Carruth chandlerc at gmail.com
Fri Jan 18 22:31:24 PST 2013


Author: chandlerc
Date: Sat Jan 19 00:31:24 2013
New Revision: 172890

URL: http://llvm.org/viewvc/llvm-project?rev=172890&view=rev
Log:
Move an input header file under an Inputs directory to be consistent
with other auxilliary test inputs and simplify the identification of
inputs to tests.

Added:
    cfe/trunk/test/Analysis/diagnostics/Inputs/
    cfe/trunk/test/Analysis/diagnostics/Inputs/include/
    cfe/trunk/test/Analysis/diagnostics/Inputs/include/sys/
    cfe/trunk/test/Analysis/diagnostics/Inputs/include/sys/queue.h
      - copied, changed from r172888, cfe/trunk/test/Analysis/diagnostics/include/sys/queue.h
Removed:
    cfe/trunk/test/Analysis/diagnostics/include/sys/queue.h
Modified:
    cfe/trunk/test/Analysis/diagnostics/false-positive-suppression.c

Copied: cfe/trunk/test/Analysis/diagnostics/Inputs/include/sys/queue.h (from r172888, cfe/trunk/test/Analysis/diagnostics/include/sys/queue.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/diagnostics/Inputs/include/sys/queue.h?p2=cfe/trunk/test/Analysis/diagnostics/Inputs/include/sys/queue.h&p1=cfe/trunk/test/Analysis/diagnostics/include/sys/queue.h&r1=172888&r2=172890&rev=172890&view=diff
==============================================================================
    (empty)

Modified: cfe/trunk/test/Analysis/diagnostics/false-positive-suppression.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/diagnostics/false-positive-suppression.c?rev=172890&r1=172889&r2=172890&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/diagnostics/false-positive-suppression.c (original)
+++ cfe/trunk/test/Analysis/diagnostics/false-positive-suppression.c Sat Jan 19 00:31:24 2013
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix -verify %s
+// RUN: %clang_cc1 -I %S/Inputs -analyze -analyzer-checker=core,unix -verify %s
 // expected-no-diagnostics
 
 #include "include/sys/queue.h"

Removed: cfe/trunk/test/Analysis/diagnostics/include/sys/queue.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/diagnostics/include/sys/queue.h?rev=172889&view=auto
==============================================================================
--- cfe/trunk/test/Analysis/diagnostics/include/sys/queue.h (original)
+++ cfe/trunk/test/Analysis/diagnostics/include/sys/queue.h (removed)
@@ -1,5 +0,0 @@
-#pragma clang system_header
-
-void free(void *);
-#define FREE_POINTER(x) free(x)
-





More information about the cfe-commits mailing list