[clang] fdb66ed - [test] Make sure plugin actually runs in clear-ast-before-backend-plugins.c

Arthur Eubanks via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 21 11:38:37 PDT 2021


Author: Arthur Eubanks
Date: 2021-10-21T11:38:16-07:00
New Revision: fdb66eda77a00d4ff0cb2730290f0fadf7840770

URL: https://github.com/llvm/llvm-project/commit/fdb66eda77a00d4ff0cb2730290f0fadf7840770
DIFF: https://github.com/llvm/llvm-project/commit/fdb66eda77a00d4ff0cb2730290f0fadf7840770.diff

LOG: [test] Make sure plugin actually runs in clear-ast-before-backend-plugins.c

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D112253

Added: 
    

Modified: 
    clang/test/Misc/clear-ast-before-backend-plugins.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Misc/clear-ast-before-backend-plugins.c b/clang/test/Misc/clear-ast-before-backend-plugins.c
index c00bee4450d9..234a5eef414f 100644
--- a/clang/test/Misc/clear-ast-before-backend-plugins.c
+++ b/clang/test/Misc/clear-ast-before-backend-plugins.c
@@ -5,5 +5,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
 // NO-NOT: Clearing AST
+// NO: top-level-decl: "f"
 
 void f() {}


        


More information about the cfe-commits mailing list