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

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 16 01:35:08 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'">, 
----------------
tbaederr wrote:

```suggestion
  "cannot apply ast actions to LLVM IR file '%0'">, 
```

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


More information about the cfe-commits mailing list