[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Misc / clear-ast-before-backend-plugins.c
blob234a5eef414f6c9318084b1b46680dd91c388304
1 // REQUIRES: plugins, examples, asserts
3 // RUN: %clang_cc1 -mllvm -debug-only=codegenaction -clear-ast-before-backend -emit-obj -o /dev/null -load %llvmshlibdir/PrintFunctionNames%pluginext %s 2>&1 | FileCheck %s --check-prefix=YES
4 // YES: Clearing AST
6 // RUN: %clang_cc1 -mllvm -debug-only=codegenaction -clear-ast-before-backend -emit-obj -o /dev/null -load %llvmshlibdir/PrintFunctionNames%pluginext -add-plugin print-fns -plugin-arg-print-fns help %s 2>&1 | FileCheck %s --check-prefix=NO
7 // NO-NOT: Clearing AST
8 // NO: top-level-decl: "f"
10 void f() {}