llvm-capstone/clang/test/Preprocessor/pragma-captured.c
Tareq A. Siraj 0de0dd4923 Parser support for #pragma clang __debug captured
This patch implements parsing ‘#pragma clang __debug’ as a first step for
implementing captured statements. Captured statements are a mechanism for
doing outlining in the AST.
see http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-January/027540.html.

Currently returns StmtEmpty

Author: Andy Zhang <andy.zhang@intel.com>

Differential Revision: http://llvm-reviews.chandlerc.com/D369

llvm-svn: 179614
2013-04-16 18:41:26 +00:00

14 lines
239 B
C

// RUN: %clang_cc1 -E %s | FileCheck %s
// Test pragma clang __debug captured, for Captured Statements
void test1()
{
#pragma clang __debug captured
{
}
// CHECK: void test1()
// CHECK: {
// CHECK: #pragma clang __debug captured
}