From: Daniel Dunbar Date: Tue, 17 Nov 2009 22:25:16 +0000 (+0000) Subject: Drop unnecessary #include. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8aefab741a788ba308468df0c66c9dafb4c8530;p=clang Drop unnecessary #include. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89154 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Analysis/stack-addr-ps.c b/test/Analysis/stack-addr-ps.c index 6577f7f371..f26e2f0c63 100644 --- a/test/Analysis/stack-addr-ps.c +++ b/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/test/FixIt/fixit.c b/test/FixIt/fixit.c index 1f085e4f0e..4a32682be0 100644 --- a/test/FixIt/fixit.c +++ b/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) { };