[clang-tools-extra] [Sema] -Wzero-as-null-pointer-constant: don't warn for __null (PR #69126)

2023-10-25 Thread Arseny Kapoulkine via cfe-commits
zeux wrote: Let me know if I need to do anything else here -- I don't have commit rights so someone else will need to press the merge button :) https://github.com/llvm/llvm-project/pull/69126 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [Sema] -Wzero-as-null-pointer-constant: don't warn for __null (PR #69126)

2023-10-24 Thread Arseny Kapoulkine via cfe-commits
zeux wrote: Thanks! I've updated this PR with a release note. https://github.com/llvm/llvm-project/pull/69126 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [Sema] -Wzero-as-null-pointer-constant: don't warn for __null (PR #69126)

2023-10-24 Thread Arseny Kapoulkine via cfe-commits
zeux wrote: Thanks! I've updated this PR with a release note. https://github.com/llvm/llvm-project/pull/69126 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Sema] -Wzero-as-null-pointer-constant: don't warn for __null (PR #69126)

2023-10-24 Thread Arseny Kapoulkine via cfe-commits
https://github.com/zeux updated https://github.com/llvm/llvm-project/pull/69126 >From 357a21c38c1036a012affc85026fcba376ab7128 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sun, 15 Oct 2023 13:20:31 -0700 Subject: [PATCH 1/2] [Sema] -Wzero-as-null-pointer-constant: don't warn for

[clang] [Sema] -Wzero-as-null-pointer-constant: don't warn for __null (PR #69126)

2023-10-23 Thread Arseny Kapoulkine via cfe-commits
zeux wrote: Ping https://github.com/llvm/llvm-project/pull/69126 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Sema] -Wzero-as-null-pointer-constant: don't warn for __null (PR #69126)

2023-10-15 Thread Arseny Kapoulkine via cfe-commits
zeux wrote: Note: a limitation of this change is that we will still warn on use of `NULL` when it is defined as 0, which could be a problem for clang-cl. This could be lifted by removing the "NULL" macro name check, but unfortunately that is insufficient to detect the use of NULL inside macro

[clang] [Sema] -Wzero-as-null-pointer-constant: don't warn for __null (PR #69126)

2023-10-15 Thread Arseny Kapoulkine via cfe-commits
https://github.com/zeux created https://github.com/llvm/llvm-project/pull/69126 The implementation of -Wzero-as-null-pointer-constant was done before the following fix has been committed to GCC:

Re: [PATCH] D13192: Fix incorrect parsing of arguments for nested functions

2015-10-05 Thread Arseny Kapoulkine via cfe-commits
arseny.kapoulkine added a comment. Ping. http://reviews.llvm.org/D13192 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D13192: Fix incorrect parsing of arguments for nested functions

2015-09-26 Thread Arseny Kapoulkine via cfe-commits
arseny.kapoulkine created this revision. arseny.kapoulkine added a subscriber: cfe-commits. For nested functions, local-name can be followed by function arguments; in some cases the first argument starts with a digit (if it's a named type). For example, this code: void test() { struct g { void