[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-22 Thread Aaron Ballman via cfe-commits
@@ -1697,6 +1698,15 @@ ASTContext::getRelocationInfoForCXXRecord(const CXXRecordDecl *RD) const { return std::nullopt; } +void ASTContext::initSanitizers(const LangOptions &LangOpts, +SourceManager &SM) { + std::string Error; + if (!NoSanit

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-22 Thread via cfe-commits
https://github.com/woruyu updated https://github.com/llvm/llvm-project/pull/147959 >From e18ed1ac787a0571318b8cfe1d4eee023ba11fc2 Mon Sep 17 00:00:00 2001 From: woruyu <1214539...@qq.com> Date: Thu, 10 Jul 2025 21:08:24 +0800 Subject: [PATCH 1/5] fix: replace report_fatal_error with Diags and ex

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-22 Thread via cfe-commits
@@ -1697,6 +1698,15 @@ ASTContext::getRelocationInfoForCXXRecord(const CXXRecordDecl *RD) const { return std::nullopt; } +void ASTContext::initSanitizers(const LangOptions &LangOpts, +SourceManager &SM) { + std::string Error; + if (!NoSanit

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-21 Thread Aaron Ballman via cfe-commits
@@ -1697,6 +1698,15 @@ ASTContext::getRelocationInfoForCXXRecord(const CXXRecordDecl *RD) const { return std::nullopt; } +void ASTContext::initSanitizers(const LangOptions &LangOpts, +SourceManager &SM) { + std::string Error; + if (!NoSanit

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-21 Thread via cfe-commits
@@ -30,11 +30,16 @@ SanitizerSpecialCaseList::create(const std::vector &Paths, std::unique_ptr SanitizerSpecialCaseList::createOrDie(const std::vector &Paths, - llvm::vfs::FileSystem &VFS) { + llvm::vfs

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-20 Thread via cfe-commits
https://github.com/woruyu updated https://github.com/llvm/llvm-project/pull/147959 >From e18ed1ac787a0571318b8cfe1d4eee023ba11fc2 Mon Sep 17 00:00:00 2001 From: woruyu <1214539...@qq.com> Date: Thu, 10 Jul 2025 21:08:24 +0800 Subject: [PATCH 1/4] fix: replace report_fatal_error with Diags and ex

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-19 Thread Fangrui Song via cfe-commits
@@ -30,11 +30,16 @@ SanitizerSpecialCaseList::create(const std::vector &Paths, std::unique_ptr SanitizerSpecialCaseList::createOrDie(const std::vector &Paths, - llvm::vfs::FileSystem &VFS) { + llvm::vfs

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-17 Thread via cfe-commits
@@ -30,11 +30,16 @@ SanitizerSpecialCaseList::create(const std::vector &Paths, std::unique_ptr SanitizerSpecialCaseList::createOrDie(const std::vector &Paths, - llvm::vfs::FileSystem &VFS) { + llvm::vfs

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-16 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman commented: Ugh, sorry for the delayed review! I had a comment several days ago but forgot to hit Submit. :-/ https://github.com/llvm/llvm-project/pull/147959 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-16 Thread Aaron Ballman via cfe-commits
@@ -30,11 +30,16 @@ SanitizerSpecialCaseList::create(const std::vector &Paths, std::unique_ptr SanitizerSpecialCaseList::createOrDie(const std::vector &Paths, - llvm::vfs::FileSystem &VFS) { + llvm::vfs

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-16 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman edited https://github.com/llvm/llvm-project/pull/147959 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-16 Thread via cfe-commits
woruyu wrote: Hi,@hstk30-hw, @shafik, @AaronBallman just wanted to check if there’s anything further needed from my side for this patch. I’d be happy to help clarify or adjust anything. https://github.com/llvm/llvm-project/pull/147959 ___ cfe-commits

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-10 Thread via cfe-commits
https://github.com/woruyu updated https://github.com/llvm/llvm-project/pull/147959 >From e18ed1ac787a0571318b8cfe1d4eee023ba11fc2 Mon Sep 17 00:00:00 2001 From: woruyu <1214539...@qq.com> Date: Thu, 10 Jul 2025 21:08:24 +0800 Subject: [PATCH 1/3] fix: replace report_fatal_error with Diags and ex

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-10 Thread via cfe-commits
https://github.com/woruyu updated https://github.com/llvm/llvm-project/pull/147959 >From e18ed1ac787a0571318b8cfe1d4eee023ba11fc2 Mon Sep 17 00:00:00 2001 From: woruyu <1214539...@qq.com> Date: Thu, 10 Jul 2025 21:08:24 +0800 Subject: [PATCH 1/3] fix: replace report_fatal_error with Diags and ex

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-10 Thread via cfe-commits
https://github.com/woruyu updated https://github.com/llvm/llvm-project/pull/147959 >From e18ed1ac787a0571318b8cfe1d4eee023ba11fc2 Mon Sep 17 00:00:00 2001 From: woruyu <1214539...@qq.com> Date: Thu, 10 Jul 2025 21:08:24 +0800 Subject: [PATCH 1/3] fix: replace report_fatal_error with Diags and ex

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-10 Thread via cfe-commits
woruyu wrote: > Need a test case at least. Done! https://github.com/llvm/llvm-project/pull/147959 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-10 Thread via cfe-commits
https://github.com/woruyu updated https://github.com/llvm/llvm-project/pull/147959 >From e18ed1ac787a0571318b8cfe1d4eee023ba11fc2 Mon Sep 17 00:00:00 2001 From: woruyu <1214539...@qq.com> Date: Thu, 10 Jul 2025 21:08:24 +0800 Subject: [PATCH 1/2] fix: replace report_fatal_error with Diags and ex

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-10 Thread via cfe-commits
hstk30-hw wrote: Need a test case at least. https://github.com/llvm/llvm-project/pull/147959 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-10 Thread via cfe-commits
woruyu wrote: @hstk30-hw This patch is now ready for review. https://github.com/llvm/llvm-project/pull/147959 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-10 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: woruyu (woruyu) Changes Summary This PR resolves https://github.com/llvm/llvm-project/issues/147187 --- Full diff: https://github.com/llvm/llvm-project/pull/147959.diff 3 Files Affected: - (modified) clang/include/clang/Basic/SanitizerS

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-10 Thread via cfe-commits
https://github.com/woruyu created https://github.com/llvm/llvm-project/pull/147959 Summary This PR resolves https://github.com/llvm/llvm-project/issues/147187 >From e18ed1ac787a0571318b8cfe1d4eee023ba11fc2 Mon Sep 17 00:00:00 2001 From: woruyu <1214539...@qq.com> Date: Thu, 10 Jul 2025 21:08:24