[clang] [clang] Update the lifetimebound example with up-to-date expected warning and change the sample code to be a fully working example (PR #113437)

2024-10-30 Thread Boaz Brickner via cfe-commits
https://github.com/bricknerb closed https://github.com/llvm/llvm-project/pull/113437 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 9c8dab0 - [clang] Update the lifetimebound example with up-to-date expected warning and change the sample code to be a fully working example (#113437)

2024-10-30 Thread via cfe-commits
Author: Boaz Brickner Date: 2024-10-30T08:59:49+01:00 New Revision: 9c8dab018dee3143c28a7d7f5fdb32385da36101 URL: https://github.com/llvm/llvm-project/commit/9c8dab018dee3143c28a7d7f5fdb32385da36101 DIFF: https://github.com/llvm/llvm-project/commit/9c8dab018dee3143c28a7d7f5fdb32385da36101.diff

[clang] dc56a86 - [clang] Fix 71315698c9 in presence of incomplete types (#114095)

2024-10-30 Thread via cfe-commits
Author: serge-sans-paille Date: 2024-10-30T07:32:05Z New Revision: dc56a86b96d77a93f761995d50f7b2f112856311 URL: https://github.com/llvm/llvm-project/commit/dc56a86b96d77a93f761995d50f7b2f112856311 DIFF: https://github.com/llvm/llvm-project/commit/dc56a86b96d77a93f761995d50f7b2f112856311.diff

[clang] [clang] Fix 71315698c9 in presence of incomplete types (PR #114095)

2024-10-30 Thread via cfe-commits
serge-sans-paille wrote: thanks for the discussions and the review :bow: https://github.com/llvm/llvm-project/pull/114095 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][analyzer] Model more wide-character versions of string functions (PR #113908)

2024-10-30 Thread Balazs Benics via cfe-commits
https://github.com/steakhal commented: Oh yes, I already reviewed this one. I had only a few comments, otherwise it's good to me. I'll get upstream folks involved on this one. https://github.com/llvm/llvm-project/pull/113908 ___ cfe-commits mailing lis

[clang] [clang][analyzer] Model more wide-character versions of string functions (PR #113908)

2024-10-30 Thread Balazs Benics via cfe-commits
@@ -2524,8 +2625,33 @@ void CStringChecker::evalStdCopyCommon(CheckerContext &C, C.addTransition(State); } -void CStringChecker::evalMemset(CheckerContext &C, -const CallEvent &Call) const { +namespace { +CharUnits getSizeOfUnit(CharKind CK, C

[clang] [clang][analyzer] Model more wide-character versions of string functions (PR #113908)

2024-10-30 Thread Balazs Benics via cfe-commits
https://github.com/steakhal edited https://github.com/llvm/llvm-project/pull/113908 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][analyzer] Model more wide-character versions of string functions (PR #113908)

2024-10-30 Thread Balazs Benics via cfe-commits
@@ -2524,8 +2625,33 @@ void CStringChecker::evalStdCopyCommon(CheckerContext &C, C.addTransition(State); } -void CStringChecker::evalMemset(CheckerContext &C, -const CallEvent &Call) const { +namespace { +CharUnits getSizeOfUnit(CharKind CK, C

[clang] [clang][analyzer] Model more wide-character versions of string functions (PR #113908)

2024-10-30 Thread Balazs Benics via cfe-commits
@@ -2524,8 +2625,33 @@ void CStringChecker::evalStdCopyCommon(CheckerContext &C, C.addTransition(State); } -void CStringChecker::evalMemset(CheckerContext &C, -const CallEvent &Call) const { +namespace { +CharUnits getSizeOfUnit(CharKind CK, C

[clang] [clang][analyzer] Model more wide-character versions of string functions (PR #113908)

2024-10-30 Thread Balazs Benics via cfe-commits
steakhal wrote: One more note: Anyone reviewing this, don't be afraid of the size of the PR. Basically 3/4 is just tests. https://github.com/llvm/llvm-project/pull/113908 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/c

[clang] [clang] Fix 71315698c9 in presence of incomplete types (PR #114095)

2024-10-30 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `clang` at step 10 "Add check check-offload". Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/7747 Here is the r

[clang] [clang-format] Fix path expansion inside git-clang-format.bat (PR #114078)

2024-10-30 Thread Owen Pan via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/114078 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Index][USR][NFC] Allow customizing langopts for USR generation (PR #109574)

2024-10-30 Thread Balazs Benics via cfe-commits
steakhal wrote: @Endilll Could you please help me reaching out to the right set of reviewers? https://github.com/llvm/llvm-project/pull/109574 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c

[clang-tools-extra] [clangd] Support symbolTags for document symbol (PR #113669)

2024-10-30 Thread Dietrich Travkin via cfe-commits
travkin79 wrote: I thought about the _Constant_ tag. In Java for example, there is no `const` keyword, instead the `final` keyword is used for variables to declare them as read-only. The keyword `final` means something else for methods (they cannot be overridden). The keywords and their mean

<    1   2   3   4   5   6