[clang] [Clang] Report an error and crash on source location exhaustion in macros (PR #69908)

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 23 04:55:45 PDT 2023


================
@@ -356,6 +356,8 @@ def err_file_modified : Error<
   "file '%0' modified since it was first processed">, DefaultFatal;
 def err_file_too_large : Error<
   "sorry, unsupported: file '%0' is too large for Clang to process">;
+def err_expansions_too_large : Error<
----------------
ilya-biryukov wrote:

I have reused the existing diagnostic and updated it to remove a mention of include.

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


More information about the cfe-commits mailing list