Author: Nico Weber Date: 2022-03-21T14:30:12-04:00 New Revision: e6c58e6fd32f5b8f4e789763843f1f1df19f2d25
URL: https://github.com/llvm/llvm-project/commit/e6c58e6fd32f5b8f4e789763843f1f1df19f2d25 DIFF: https://github.com/llvm/llvm-project/commit/e6c58e6fd32f5b8f4e789763843f1f1df19f2d25.diff LOG: [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). Added: Modified: clang/test/Index/retain-excluded-conditional-blocks.m Removed: ################################################################################ diff --git a/clang/test/Index/retain-excluded-conditional-blocks.m b/clang/test/Index/retain-excluded-conditional-blocks.m index ebfc7c5723d5a..f90f0392347ef 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 <stdint.h> - -// CHECK: TypedefDecl=intptr_t - // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=MyCls @interface MyCls // CHECK: [[@LINE+1]]:8: ObjCInstanceMethodDecl=some_meth _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits