mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 18:56:06 +00:00
11 lines
559 B
C
11 lines
559 B
C
// REQUIRES: plugins, examples, asserts
|
|
|
|
// 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
|
|
// YES: Clearing AST
|
|
|
|
// 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
|
|
// NO-NOT: Clearing AST
|
|
// NO: top-level-decl: "f"
|
|
|
|
void f() {}
|