[clang] [Interp] Mark inline-virtual.cpp as unsupported with ASan (PR #135402)

2025-04-11 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: More failure on the x86_64-linux-fast bot: https://lab.llvm.org/buildbot/#/builders/169/builds/10371 https://github.com/llvm/llvm-project/pull/135402 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-b

[clang] Fix some typos under clang (NFC) (PR #133558)

2025-03-28 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/133558 None >From b70f73142fbf0b6060bc3c632767606bfd745f0b Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Sat, 29 Mar 2025 03:00:38 + Subject: [PATCH] Fix some typos under clang --- clang/docs/BoundsSafety.rs

[clang] Fix some typos under clang (NFC) (PR #133558)

2025-03-29 Thread Qinkun Bao via cfe-commits
@@ -61,7 +61,7 @@ void addCXXDeallocatorChecker(AnalysisASTConsumer &AnalysisConsumer, } // TODO: What we should really be testing here is all the different varieties -// of delete operators, and wether the retrieval of their arguments works as +// of delete operators, and we

[clang] Fix some typos under clang (NFC) (PR #133558)

2025-03-29 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/133558 >From 12ce53e698857003de757cfecd0ff2b4f4a55e8f Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Sat, 29 Mar 2025 03:00:38 + Subject: [PATCH] Fix some typos under clang --- clang/docs/BoundsSafety.rst

[clang] Fix some typos under clang (NFC) (PR #133558)

2025-03-29 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: > LGTM. Do you need me to merge that for you? Yes, please. I don't have the write access. Thank you. https://github.com/llvm/llvm-project/pull/133558 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-b

[clang] [clang] [modules] Add err_main_in_named_module (PR #146247)

2025-06-30 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: Hi, can you take a look at the buildbot failure? https://lab.llvm.org/buildbot/#/builders/55/builds/13509 https://github.com/llvm/llvm-project/pull/146247 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/

[clang] [llvm] [Hexagon] NFC: Reduce the amount of version-specific code (PR #145812)

2025-06-27 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: Hi, can you take a look at the buildbot? https://lab.llvm.org/buildbot/#/builders/94/builds/8380 https://github.com/llvm/llvm-project/pull/145812 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/

[clang] Implement src:*=sanitize for UBSan (PR #139772)

2025-05-15 Thread Qinkun Bao via cfe-commits
@@ -0,0 +1,23 @@ +// RUN: rm -rf %t +// RUN: split-file %s %t +// RUN: %clang_cc1 -triple x86_64-linux-gnu -fsanitize=signed-integer-overflow -fsanitize-ignorelist=%t/src.ignorelist -emit-llvm %t/test1.c -o - | FileCheck %s -check-prefix=CHECK-ALLOWLIST +// RUN: %clang_cc1 -trip

[clang] Implement src:*=sanitize for UBSan (PR #139772)

2025-05-15 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/139772 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Implement src:*=sanitize for UBSan (PR #139772)

2025-05-15 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/139772 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Convert SpecialCaseList::Sections from StringMap to vector. (PR #140115)

2025-05-15 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140115 >From 543a283bb9058ed8940c20f1d03901f7c2f702f9 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Thu, 15 May 2025 18:18:08 + Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?= =?UT

[clang] [llvm] Convert SpecialCaseList::Sections from StringMap to vector. (PR #140115)

2025-05-15 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140115 >From 543a283bb9058ed8940c20f1d03901f7c2f702f9 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Thu, 15 May 2025 18:18:08 + Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?= =?UT

[clang] [llvm] Convert SpecialCaseList::Sections from StringMap to vector. (PR #140127)

2025-05-15 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140127 >From 4628b851c94c83c3d8fdbaa650a5c2aedf35d26c Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Thu, 15 May 2025 19:28:42 + Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [llvm] [Sanitizer] Convert SpecialCaseList::Sections from StringMap to vector. (PR #140127)

2025-05-15 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/140127 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] Revert "[clang][modules] Timestamp-less validation API" (PR #139987)

2025-05-14 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/139987 Reverts llvm/llvm-project#138983 >From 1399d288c999ae0fad0b7fd6c030bc336af2c4e8 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 14 May 2025 21:02:29 -0400 Subject: [PATCH] Revert "[clang][modules] Timest

[clang] [clang-tools-extra] Revert "[clang][modules] Timestamp-less validation API" (PR #139987)

2025-05-14 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao closed https://github.com/llvm/llvm-project/pull/139987 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Convert SpecialCaseList::Sections from StringMap to vector. (PR #140127)

2025-05-15 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/140127 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Convert SpecialCaseList::Sections from StringMap to vector. (PR #140127)

2025-05-15 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/140127 In this way, SpecialCaseList::Sections can keep the order of Sections when parsing the case list. Rate limit · GitHub body { background-color: #f6f8fa;

[clang] [llvm] Convert SpecialCaseList::Sections from StringMap to vector. (PR #140115)

2025-05-15 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao closed https://github.com/llvm/llvm-project/pull/140115 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-21 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/140529 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-22 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140964 >From 534d49d489476ffd1aa8f23d21a02f29d3b823fc Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 21 May 2025 22:12:13 + Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-22 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140964 >From 534d49d489476ffd1aa8f23d21a02f29d3b823fc Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 21 May 2025 22:12:13 + Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-21 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/140964 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-21 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao converted_to_draft https://github.com/llvm/llvm-project/pull/140964 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-21 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/140964 As discussed in https://github.com/llvm/llvm-project/pull/139772, Matcher::Globs can keep the order when parsing the case list. >From 534d49d489476ffd1aa8f23d21a02f29d3b823fc Mon Sep 17 00:00:00 2001 From: Q

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140964 >From 534d49d489476ffd1aa8f23d21a02f29d3b823fc Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 21 May 2025 22:12:13 + Subject: [PATCH 1/4] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: https://github.com/llvm/llvm-project/pull/141270 can solve the issue but I don't know what is the reason. https://github.com/llvm/llvm-project/pull/140964 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140964 >From 534d49d489476ffd1aa8f23d21a02f29d3b823fc Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 21 May 2025 22:12:13 + Subject: [PATCH 1/5] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: This PR change converts Matcher::Globs from StringMap to vector. However, after the change, some unit tests are broken. For example, ``` // build/unittests/Support/./SupportTests --gtest_filter=SpecialCaseListTest.Basic TEST_F(SpecialCaseListTest, Basic) { std::unique_ptr SC

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140964 >From 534d49d489476ffd1aa8f23d21a02f29d3b823fc Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 21 May 2025 22:12:13 + Subject: [PATCH 1/5] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [llvm] change GlobPattern:Prefix from stringref to string. (PR #141270)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/141270 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-21 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140529 >From b83755d2aa0c5417ab8f359aa842449213437a7a Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Mon, 19 May 2025 11:14:01 + Subject: [PATCH 1/9] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-21 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140529 >From b83755d2aa0c5417ab8f359aa842449213437a7a Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Mon, 19 May 2025 11:14:01 + Subject: [PATCH 01/11] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20?= =?UT

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-21 Thread Qinkun Bao via cfe-commits
@@ -63,6 +63,11 @@ Error SpecialCaseList::Matcher::insert(StringRef Pattern, unsigned LineNumber, .moveInto(Pair.first)) return Err; Pair.second = LineNumber; + } else { qinkunbao wrote: I believe the change inside `SpecialCa

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140964 >From 534d49d489476ffd1aa8f23d21a02f29d3b823fc Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 21 May 2025 22:12:13 + Subject: [PATCH 1/8] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140964 >From 534d49d489476ffd1aa8f23d21a02f29d3b823fc Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 21 May 2025 22:12:13 + Subject: [PATCH 01/10] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20?= =?UT

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao ready_for_review https://github.com/llvm/llvm-project/pull/140964 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
@@ -53,24 +53,27 @@ Error SpecialCaseList::Matcher::insert(StringRef Pattern, unsigned LineNumber, return Error::success(); } - auto [It, DidEmplace] = Globs.try_emplace(Pattern); - if (DidEmplace) { -// We must be sure to use the string in the map rather than the

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140964 >From 534d49d489476ffd1aa8f23d21a02f29d3b823fc Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 21 May 2025 22:12:13 + Subject: [PATCH 1/6] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140964 >From 534d49d489476ffd1aa8f23d21a02f29d3b823fc Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 21 May 2025 22:12:13 + Subject: [PATCH 1/7] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140964 >From 534d49d489476ffd1aa8f23d21a02f29d3b823fc Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 21 May 2025 22:12:13 + Subject: [PATCH 01/11] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20?= =?UT

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140964 >From 534d49d489476ffd1aa8f23d21a02f29d3b823fc Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 21 May 2025 22:12:13 + Subject: [PATCH 1/9] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140964 >From 534d49d489476ffd1aa8f23d21a02f29d3b823fc Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 21 May 2025 22:12:13 + Subject: [PATCH 01/11] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20?= =?UT

[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao closed https://github.com/llvm/llvm-project/pull/140964 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140529 >From b83755d2aa0c5417ab8f359aa842449213437a7a Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Mon, 19 May 2025 11:14:01 + Subject: [PATCH 01/12] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20?= =?UT

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140529 >From b83755d2aa0c5417ab8f359aa842449213437a7a Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Mon, 19 May 2025 11:14:01 + Subject: [PATCH 01/13] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20?= =?UT

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140529 >From b83755d2aa0c5417ab8f359aa842449213437a7a Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Mon, 19 May 2025 11:14:01 + Subject: [PATCH 01/14] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20?= =?UT

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-23 Thread Qinkun Bao via cfe-commits
@@ -63,6 +63,11 @@ Error SpecialCaseList::Matcher::insert(StringRef Pattern, unsigned LineNumber, .moveInto(Pair.first)) return Err; Pair.second = LineNumber; + } else { qinkunbao wrote: > It will not be needed after Matcher:

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-23 Thread Qinkun Bao via cfe-commits
@@ -71,9 +76,9 @@ unsigned SpecialCaseList::Matcher::match(StringRef Query) const { for (const auto &[Pattern, Pair] : Globs) if (Pair.first.match(Query)) return Pair.second; - for (const auto &[Regex, LineNumber] : RegExes) -if (Regex->match(Query)) - re

[clang] [UBSan][NFC] Move type:*=sanitize handling. (PR #142006)

2025-05-29 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/142006 >From c19361a169b18fada7702579cdadde99e4962e83 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Thu, 29 May 2025 18:19:07 + Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [UBSan] Move type:*=sanitize handling. (PR #142006)

2025-05-29 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/142006 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [UBSan] Move type:*=sanitize handling. (PR #142006)

2025-05-29 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/142006 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [UBSan][NFC] Move type:*=sanitize handling. (PR #142006)

2025-05-29 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao converted_to_draft https://github.com/llvm/llvm-project/pull/142006 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [UBSan][NFC] Move type:*=sanitize handling. (PR #142006)

2025-05-29 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/142006 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [UBSan][NFC] Move =sanitize handling. (PR #142006)

2025-05-29 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/142006 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [UBSan][NFC] Move type:*=sanitize handling. (PR #142006)

2025-05-29 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/142006 >From c19361a169b18fada7702579cdadde99e4962e83 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Thu, 29 May 2025 18:19:07 + Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [UBSan][NFC] Move =sanitize handling. (PR #142006)

2025-05-29 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/142006 None >From c19361a169b18fada7702579cdadde99e4962e83 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Thu, 29 May 2025 18:19:07 + Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=

[clang] [UBSan][Ignorelist] Expanding =sanitize to fun. (PR #142074)

2025-06-02 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao closed https://github.com/llvm/llvm-project/pull/142074 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Sanitizer][Ignorelist] Expanding =sanitize to global. (PR #142456)

2025-06-02 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/142456 >From 31a1f9e6fb1d7ed1c86ce47badf211c7e98cf98f Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Mon, 2 Jun 2025 18:58:50 + Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20ch?= =?UTF

[clang] [Sanitizer][Ignorelist] Expanding =sanitize to mainfile. (PR #142472)

2025-06-02 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/142472 >From dd04cac8d0e4db4d6a073f142bfcefa5f2671785 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Mon, 2 Jun 2025 20:03:07 + Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20change?= =?UTF

[clang] [Sanitizer][Ignorelist] Expanding =sanitize to mainfile. (PR #142472)

2025-06-02 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao closed https://github.com/llvm/llvm-project/pull/142472 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Sanitizer][Ignorelist] Expanding =sanitize to mainfile. (PR #142472)

2025-06-02 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/142472 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Sanitizer][Ignorelist] Expanding =sanitize to global. (PR #142456)

2025-06-02 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao closed https://github.com/llvm/llvm-project/pull/142456 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Sanitizer][Ignorelist] Expanding =sanitize to global. (PR #142456)

2025-06-02 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/142456 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Doc] Fix a typo in SanitizerSpecialCaseList.rst (PR #142494)

2025-06-02 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/142494 None >From 32bb142819fa2295546166ad9e6639204cd03884 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Mon, 2 Jun 2025 22:20:20 + Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=

[clang] [clang][scan-deps] Add option to disable caching stat failures (PR #144000)

2025-06-24 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: Hi, I've reverted this PR according to https://llvm.org/docs/DeveloperPolicy.html#patch-reversion-policy Please feel free to revise the patch and make the title Reland "..." provide a description of what broke and how it was fixed in the new version. https://github.com/llvm/

[clang] Revert "[clang][scan-deps] Add option to disable caching stat failures" (PR #145528)

2025-06-24 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao closed https://github.com/llvm/llvm-project/pull/145528 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[clang][scan-deps] Add option to disable caching stat failures" (PR #145528)

2025-06-24 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/145528 Reverts llvm/llvm-project#144000 First buildbot failure: https://lab.llvm.org/buildbot/#/builders/164/builds/11064 >From 03aa045e754c11f51a4768fbbec295cbe8c6638a Mon Sep 17 00:00:00 2001 From: Qinkun Bao D

[clang] [llvm] Add support for Windows Secure Hot-Patching (PR #138972)

2025-06-24 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: Hi, can you take a look at the buildbot failures. https://lab.llvm.org/buildbot/#/builders/51/builds/18489 https://github.com/llvm/llvm-project/pull/138972 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org

[clang] [llvm] Revert "Add support for Windows Secure Hot-Patching" (PR #145553)

2025-06-24 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao closed https://github.com/llvm/llvm-project/pull/145553 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Add support for Windows Secure Hot-Patching (PR #138972)

2025-06-24 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: Hi, I have reverted the PR according to https://llvm.org/docs/DeveloperPolicy.html#patch-reversion-policy You can fix this patch and send the patch again. Thanks https://github.com/llvm/llvm-project/pull/138972 ___ cfe-commits mailin

[clang] [llvm] Revert "Add support for Windows Secure Hot-Patching" (PR #145553)

2025-06-24 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/145553 Reverts llvm/llvm-project#138972 >From 661839d189f825fbb6305e6ac5d8d1cc19ccc42e Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Tue, 24 Jun 2025 13:11:32 -0400 Subject: [PATCH] Revert "Add support for Windows

[clang] [clang][scan-deps] Add option to disable caching stat failures (PR #144000)

2025-06-23 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: Hi, I think this PR broken the clang unit tests. https://lab.llvm.org/buildbot/#/builders/164/builds/11064 Can you take a look? ``` [ RUN ] DependencyScanner.NoNegativeCache #0 0x5a761a02 ___interceptor_backtrace /home/b/sanitizer-x86_64-linux-bootstrap-msan/bui

[clang-tools-extra] [clang-tidy] Add new check `readability-use-numeric-limits` (PR #127430)

2025-06-23 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: Hi, this PR broken a few build bots. Could you take a look? e.g., https://lab.llvm.org/buildbot/#/builders/169/builds/12435 https://github.com/llvm/llvm-project/pull/127430 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https

[clang] [Sema] Avoid deep recursion in AnalyzeImplicitConversions (PR #145734)

2025-06-26 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: Hi, looks like this PR broke LLVM buildbots https://lab.llvm.org/buildbot/#/builders/52/builds/9317 https://github.com/llvm/llvm-project/pull/145734 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bi

[clang] [Interp] Mark the test unsupported with Asan (PR #150242)

2025-07-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/150242 The test is very flaky with asan Fail: https://lab.llvm.org/buildbot/#/builders/52/builds/9890 Pass: https://lab.llvm.org/buildbot/#/builders/52/builds/9891 Fail again: https://lab.llvm.org/buildbot/#/builders/

[clang] [Interp] Mark the test unsupported with Asan (PR #150242)

2025-07-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/150242 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-repl] Lay the basic infrastructure for pretty printing of types (PR #148701)

2025-07-23 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: Here is the error I got on my local machine. (I use the latest commit on the master so I could be a different PR that cause the buildbot fail) ``` TEST 'Clang :: Interpreter/pretty-print.cpp' FAILED Exit Code: 1 Command Output (stderr)

[clang] [clang-repl] Lay the basic infrastructure for pretty printing of types (PR #148701)

2025-07-23 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: > We should probably tag this test as flaky, too. Yeah, make sense. Sent https://github.com/llvm/llvm-project/pull/150242 https://github.com/llvm/llvm-project/pull/148701 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https:/

[clang] [Interp] Mark the test unsupported with Asan (PR #150242)

2025-07-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao closed https://github.com/llvm/llvm-project/pull/150242 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clangd] Add tweak to override pure virtuals (PR #139348)

2025-07-23 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: Hi @marcogmaia and @kadircet , I believe the this PR broke a few buildbots. Would you mind taking a look? ``` [ RUN ] OverridePureVirtualsTests.MultiAccessSpecifiersOverride Built preamble of size 211928 for file /clangd-test/TestTU.cpp version null in 0.00 seconds #0 0x

[clang] [clang-repl] Disable new test after #148701 (PR #150294)

2025-07-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/150294 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-repl] Disable new test after #148701 (PR #150294)

2025-07-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/150294 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-repl] Disable new test after #148701 (PR #150294)

2025-07-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/150294 >From ca713312086af52124108251bedded8aca4dd834 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 23 Jul 2025 19:27:50 + Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] [clang-repl] Disable new test after #148701 (PR #150294)

2025-07-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/150294 None >From ca713312086af52124108251bedded8aca4dd834 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Wed, 23 Jul 2025 19:27:50 + Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=

[clang] [OpenMP] Fix initialization order for CopyOverlappedEntryGaps (PR #150431)

2025-07-24 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao approved this pull request. https://github.com/llvm/llvm-project/pull/150431 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenMP] Don't emit redundant zero-sized mapping nodes for overlapped structs (PR #148947)

2025-07-24 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: > I'll have a look. Thanks. If it is not going to be an easy and quick fix, would you mind reverting the PR first and reland this PR once the error is fixed? https://github.com/llvm/llvm-project/pull/148947 ___ cfe-commits mailing

[clang-tools-extra] [clangd] Add tweak to override pure virtuals (PR #139348)

2025-07-24 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: Hi, it looks like it still needs some time to fix the build bot errors. I am going to revert this PR according to https://llvm.org/docs/DeveloperPolicy.html#patch-reversion-policy Please reland this PR after the error is fixed. Thanks! https://github.com/llvm/llvm-project/pul

[clang-tools-extra] Revert "[clangd] Add tweak to override pure virtuals (#139348)" (PR #150404)

2025-07-24 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/150404 This reverts commit 7355ea3f6b214d1569da43d02f9a166ff15012e6. Buildbot failures: UBsan https://lab.llvm.org/buildbot/#/builders/25/builds/10010 Fast https://lab.llvm.org/buildbot/#/builders/169/builds/13150

[clang-tools-extra] Revert "[clangd] Add tweak to override pure virtuals (#139348)" (PR #150404)

2025-07-24 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao closed https://github.com/llvm/llvm-project/pull/150404 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenMP] Don't emit redundant zero-sized mapping nodes for overlapped structs (PR #148947)

2025-07-24 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: Hi, this PR broke a few buildbots? Could you please take a look? e.g., https://lab.llvm.org/buildbot/#/builders/66/builds/16945 https://github.com/llvm/llvm-project/pull/148947 ___ cfe-commits mailing list cfe-commits@lists.llvm.org ht

[clang] Implement src:*=sanitize for UBSan (PR #139772)

2025-05-13 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/139772 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Implement src:*=sanitize for UBSan (PR #139772)

2025-05-13 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/139772 It is a draft implementation for "src:*=sanitize". It should be applied to all sanitizers. Any srcs assigned to the sanitize category will have their sanitizer instrumentation remained ignored by "src:". Fo

[clang] [llvm] [NFCI][Sanitizer] Convert SpecialCaseList::Sections from StringMap to vector. (PR #140127)

2025-05-16 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140127 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans

[clang] [llvm] [NFC] Run code formatter on Diagnostic.h/cpp ProfileList.cpp SpecialCaseList.cpp (PR #140316)

2025-05-16 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/140316 None >From 1a7036aa08fc1842cf953a18b29f4c44e136c808 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Fri, 16 May 2025 23:01:54 + Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=

[clang] [llvm] [NFCI][Sanitizer] Convert SpecialCaseList::Sections from StringMap to vector. (PR #140127)

2025-05-16 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao closed https://github.com/llvm/llvm-project/pull/140127 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Sanitizer] Convert SpecialCaseList::Sections from StringMap to vector. (PR #140127)

2025-05-16 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140127 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans

[clang] [llvm] [NFCI][Sanitizer] Convert SpecialCaseList::Sections from StringMap to vector. (PR #140127)

2025-05-16 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/140127 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [NFCI][Sanitizer] Convert SpecialCaseList::Sections from StringMap to vector. (PR #140127)

2025-05-16 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140127 >From 4628b851c94c83c3d8fdbaa650a5c2aedf35d26c Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Thu, 15 May 2025 19:28:42 + Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UT

[clang] Revert "[clang][analyzer] Fix a nullptr dereference when `-ftime-trace` is used" (PR #139936)

2025-05-14 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao closed https://github.com/llvm/llvm-project/pull/139936 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

  1   2   >