From: Nico Weber Date: Mon, 21 Mar 2022 18:28:59 +0000 (-0400) Subject: [clang] Remove stdint.h include from a test X-Git-Tag: upstream/15.0.7~12866 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e6c58e6fd32f5b8f4e789763843f1f1df19f2d25;p=platform%2Fupstream%2Fllvm.git [clang] Remove stdint.h include from a test Tests must not include headers from the host system. It looks like the include wasn't needed for anything, so just remove it. This makes check-clang work in a `git bash` launched from a cmd.exe that isn't an MSVC shell (that is, %INCLUDE% isn't set). --- diff --git a/clang/test/Index/retain-excluded-conditional-blocks.m b/clang/test/Index/retain-excluded-conditional-blocks.m index ebfc7c57..f90f039 100644 --- a/clang/test/Index/retain-excluded-conditional-blocks.m +++ b/clang/test/Index/retain-excluded-conditional-blocks.m @@ -1,9 +1,5 @@ // RUN: c-index-test -retain-excluded-conditional-blocks %s | FileCheck %s -#include - -// CHECK: TypedefDecl=intptr_t - // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=MyCls @interface MyCls // CHECK: [[@LINE+1]]:8: ObjCInstanceMethodDecl=some_meth