mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-25 22:38:56 -04:00

We've decided to make the core rewriter class and PP rewriters mandatory. They're only a few hundred lines of code in total and not worth supporting as a distinct build configuration, especially since doing so disables key compiler features. This reverts commit r213150. Revert "clang/test: Introduce the feature "rewriter" for --enable-clang-rewriter." This reverts commit r213148. Revert "Move clang/test/Frontend/rewrite-*.c to clang/test/Frontend/Rewriter/" This reverts commit r213146. llvm-svn: 213159
9 lines
297 B
C
9 lines
297 B
C
// RUN: grep -q $'^\xEF\xBB\xBF' %S/Inputs/rewrite-includes-bom.h
|
|
// RUN: %clang_cc1 -E -frewrite-includes -I %S/Inputs %s -o %t.c
|
|
// RUN: ! grep -q $'\xEF\xBB\xBF' %t.c
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %t.c
|
|
// expected-no-diagnostics
|
|
// REQUIRES: shell
|
|
|
|
#include "rewrite-includes-bom.h"
|