[clang] [Clang] Report an error and crash on source location exhaustion in macros (PR #69908)
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 23 04:27:37 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<
----------------
sam-mccall wrote:
SGTM (but the current version is also OK with me)
https://github.com/llvm/llvm-project/pull/69908
More information about the cfe-commits
mailing list