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

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 21 11:15:04 PDT 2021


aeubanks created this revision.
aeubanks added a reviewer: dblaikie.
aeubanks requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112253

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


Index: clang/test/Misc/clear-ast-before-backend-plugins.c
===================================================================
--- clang/test/Misc/clear-ast-before-backend-plugins.c
+++ 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() {}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112253.381336.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211021/c9940151/attachment.bin>


More information about the cfe-commits mailing list