[clang] [Clang] Diagnose apply AST consume actions on LLVM IR (PR #88602)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 16 01:31:36 PDT 2024
================
@@ -370,4 +370,7 @@ def warn_missing_symbol_graph_dir : Warning<
"Missing symbol graph output directory, defaulting to working directory">,
InGroup<ExtractAPIMisuse>;
+def err_ast_action_on_unparsable_source : Error<
+ "can not apply ast actions to LLVM IR file '%0'">,
----------------
Sirraide wrote:
```suggestion
"can not apply AST actions to LLVM IR file '%0'">,
```
https://github.com/llvm/llvm-project/pull/88602
More information about the cfe-commits
mailing list