[clang] [Clang] Diagnose apply AST consume actions on LLVM IR (PR #88602)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 16 05:07:23 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'">, 
----------------
yronglin wrote:

done

https://github.com/llvm/llvm-project/pull/88602


More information about the cfe-commits mailing list