aeubanks added inline comments.
Comment at: clang/test/Misc/clear-ast-before-backend-plugins.c:3-8
+// 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 --che
dblaikie added inline comments.
Comment at: clang/test/Misc/clear-ast-before-backend-plugins.c:3-8
+// 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 --che
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2dcad7754a20: [clang] Don't clear AST if we have
consumers running after the main action (authored by aeubanks).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org
aeubanks added inline comments.
Comment at: clang/test/Misc/clear-ast-before-backend-plugins.c:3-8
+// 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 --che
hans accepted this revision.
hans added a comment.
lgtm
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112190/new/
https://reviews.llvm.org/D112190
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
dblaikie accepted this revision.
dblaikie added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/test/Misc/clear-ast-before-backend-plugins.c:3-8
+// RUN: %clang_cc1 -mllvm -debug-only=codegenaction -clear-ast-before-backend
-emit-obj -o /dev/n
aeubanks updated this revision to Diff 381112.
aeubanks added a comment.
update
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112190/new/
https://reviews.llvm.org/D112190
Files:
clang/lib/Frontend/FrontendAction.cpp
clang/test/Misc/clear-ast-b
aeubanks created this revision.
aeubanks requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Downstream users may have Clang plugins. By default these plugins run
after the main action if they are specified on the command line.
Since these plu