mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-30 00:46:04 +00: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
8 lines
322 B
C
8 lines
322 B
C
// RUN: %clang_cc1 -E -frewrite-includes %s -I%S/Inputs/ | %clang_cc1 -Wall -fsyntax-only -Wunused-macros -x c - 2>&1 > %t.1
|
|
// RUN: %clang_cc1 -I%S/Inputs/ -Wall -Wunused-macros -fsyntax-only %s 2>&1 > %t.2
|
|
// RUN: diff %t.1 %t.2 -u
|
|
// expected-no-diagnostics
|
|
|
|
#include "rewrite-includes-messages.h"
|
|
#define UNUSED_MACRO
|