From f6e32e4abe1b300cc1b2eaf9e5d4c989351cf2d1 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 17 Nov 2009 22:25:16 +0000 Subject: [PATCH] Drop unnecessary #include. llvm-svn: 89154 --- clang/test/Analysis/stack-addr-ps.c | 2 -- clang/test/FixIt/fixit.c | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/test/Analysis/stack-addr-ps.c b/clang/test/Analysis/stack-addr-ps.c index 6577f7f37154..f26e2f0c6352 100644 --- a/clang/test/Analysis/stack-addr-ps.c +++ b/clang/test/Analysis/stack-addr-ps.c @@ -1,8 +1,6 @@ // RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s // RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s -#include - int* f1() { int x = 0; return &x; // expected-warning{{Address of stack memory associated with local variable 'x' returned.}} expected-warning{{address of stack memory associated with local variable 'x' returned}} diff --git a/clang/test/FixIt/fixit.c b/clang/test/FixIt/fixit.c index 1f085e4f0edd..4a32682be052 100644 --- a/clang/test/FixIt/fixit.c +++ b/clang/test/FixIt/fixit.c @@ -6,7 +6,9 @@ provided as part of warning or extension diagnostics. All of the warnings will be fixed by -fixit, and the resulting file should compile cleanly with -Werror -pedantic. */ -#include // FIXME: FIX-IT hint should add this for us! + +// FIXME: FIX-IT should add #include ? +int strcmp(const char *s1, const char *s2); void f0(void) { };