mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-20 12:05:48 -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
14 lines
600 B
C
14 lines
600 B
C
// RUN: %clang_cc1 -fsyntax-only -Wdocumentation -verify %s
|
|
// RUN: %clang_cc1 -fsyntax-only -Wdocumentation -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
|
|
// RUN: cp %s %t
|
|
// RUN: %clang_cc1 -fsyntax-only -Wdocumentation -fixit %t
|
|
// RUN: %clang_cc1 -fsyntax-only -Wdocumentation -Werror %t
|
|
|
|
struct a {
|
|
int x; //< comment // expected-warning {{not a Doxygen trailing comment}}
|
|
int y; /*< comment */ // expected-warning {{not a Doxygen trailing comment}}
|
|
};
|
|
|
|
// CHECK: fix-it:"{{.*}}":{[[@LINE-4]]:10-[[@LINE-4]]:13}:"///<"
|
|
// CHECK: fix-it:"{{.*}}":{[[@LINE-4]]:10-[[@LINE-4]]:13}:"/**<"
|