r370123 - [preprocessor] Add an opportunity to retain excluded conditional blocks

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 25 12:03:37 PDT 2019


-----Original Message-----
From: cfe-commits <cfe-commits-bounces at lists.llvm.org> On Behalf Of Evgeny Mankov via cfe-commits
Sent: Tuesday, August 27, 2019 3:16 PM
To: cfe-commits at lists.llvm.org
Subject: [EXT] r370123 - [preprocessor] Add an opportunity to retain excluded conditional blocks

Added: cfe/trunk/test/Index/retain-excluded-conditional-blocks.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/retain-excluded-conditional-blocks.m?rev=370123&view=auto
==============================================================================
--- cfe/trunk/test/Index/retain-excluded-conditional-blocks.m (added)
+++ cfe/trunk/test/Index/retain-excluded-conditional-blocks.m Tue Aug 27 15:15:32 2019
@@ -0,0 +1,132 @@
+// RUN: c-index-test -retain-excluded-conditional-blocks %s | FileCheck %s
+
+#include <stdint.h>

Including libc headers, like stdint.h, in regression tests is not allowed. The compiler might not find an appropriate header if clang is built with a non-native default target.

-Eli


More information about the cfe-commits mailing list