@@ -3294,18 +3294,27 @@ TEST(SignatureHelpTest, SkipExplicitObjectParameter) {
const auto Result = signatureHelp(testPath(TU.Filename), Code.point("c1"),
*Preamble, Inputs,
MarkupKind::PlainText);
-EXPECT_EQ(1, Result.signatures.s
https://github.com/matts1 updated
https://github.com/llvm/llvm-project/pull/151277
>From ec1e6069deb5c5ed161942089457ee05386d692e Mon Sep 17 00:00:00 2001
From: Matt Stark
Date: Wed, 30 Jul 2025 15:26:44 +1000
Subject: [PATCH] [clang][modules] Make the type_info builtin declaration a
singleton
https://github.com/AditiRM updated
https://github.com/llvm/llvm-project/pull/144874
>From 8e287c19723361b0141c7bf9d1de34b145b9782c Mon Sep 17 00:00:00 2001
From: Aditi-Medhane
Date: Thu, 19 Jun 2025 11:04:12 +
Subject: [PATCH 1/2] [PowerPC] Add BCDCOPYSIGN and BCDSETSIGN Instruction
Suppor
@@ -216,9 +216,12 @@ void RISCVInstPrinter::printVTypeI(const MCInst *MI,
unsigned OpNo,
const MCSubtargetInfo &STI, raw_ostream &O)
{
unsigned Imm = MI->getOperand(OpNo).getImm();
// Print the raw immediate for reserved values: vlmul[2:
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
Author: Matt (matts1)
Changes
This fixes an ambiguous type type_info when you try and reference the
`type_info` type while using clang modulemaps with `-fms-compatibility` enabled
Fixes #38400
---
Full diff: https://github.com/llvm/llvm-
https://github.com/matts1 ready_for_review
https://github.com/llvm/llvm-project/pull/151277
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/matts1 updated
https://github.com/llvm/llvm-project/pull/151277
>From 47d44b2d62cf834c082c87b738a821b2f62a8be5 Mon Sep 17 00:00:00 2001
From: Matt Stark
Date: Wed, 30 Jul 2025 15:26:44 +1000
Subject: [PATCH] [clang][modules] Make the type_info builtin declaration a
singleton
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/151273
>From 9fab68a7aa71e6ffe6ad6476359a21884b084576 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Tue, 29 Jul 2025 21:09:46 -0700
Subject: [PATCH] [clang-format] Disalbe IntegerLiteralSeparator for C++ before
c++14
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/151278
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
getSignificantBits() already returns unsigned.
---
Full diff: https://github.com/llvm/llvm-project/pull/151278.diff
1 Files Affected:
- (modified) clang/include/clang/AST/ASTContext.h (+1-1)
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/151278
getSignificantBits() already returns unsigned.
>From b54d6c9890e2ea169ee70c7ba27ca4403b05b7d0 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Tue, 29 Jul 2025 09:04:49 -0700
Subject: [PATCH] [AST] Remo
@@ -2668,6 +2668,10 @@ class FunctionDecl : public DeclaratorDecl,
/// an attribute on its declaration or its type.
bool isNoReturn() const;
+ /// Determines whether this function is known to be 'noreturn' for analyzer,
+ /// through an `analyzer_noreturn` attribute on i
zyn0217 wrote:
(I'll issue a backport in a few days)
https://github.com/llvm/llvm-project/pull/151276
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Younan Zhang
Date: 2025-07-30T14:07:06+08:00
New Revision: a9d491b17f4f0a131f68a5dbdac8d34c7c8427db
URL:
https://github.com/llvm/llvm-project/commit/a9d491b17f4f0a131f68a5dbdac8d34c7c8427db
DIFF:
https://github.com/llvm/llvm-project/commit/a9d491b17f4f0a131f68a5dbdac8d34c7c8427db.diff
https://github.com/zyn0217 closed
https://github.com/llvm/llvm-project/pull/151276
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/matts1 edited
https://github.com/llvm/llvm-project/pull/151277
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/matts1 edited
https://github.com/llvm/llvm-project/pull/151277
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
matts1 wrote:
@atetubou FYI
https://github.com/llvm/llvm-project/pull/151277
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -77,6 +77,9 @@ enum PredefinedDeclIDs {
/// The internal '__NSConstantString' tag type.
PREDEF_DECL_CF_CONSTANT_STRING_TAG_ID,
+ /// The predeclared 'type_info' struct.
+ PREDEF_DECL_BUILTIN_MS_TYPE_INFO_TAG_ID,
matts1 wrote:
Is changing the enum val
https://github.com/spavloff updated
https://github.com/llvm/llvm-project/pull/150582
>From 2a480a3b72567791218e632a6849280346e74acb Mon Sep 17 00:00:00 2001
From: Serge Pavlov
Date: Fri, 25 Jul 2025 13:35:19 +0700
Subject: [PATCH 1/4] [Analysis] Prevent revisiting block when searching for
nore
https://github.com/Keno closed https://github.com/llvm/llvm-project/pull/149434
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Keno Fischer
Date: 2025-07-30T01:09:27-04:00
New Revision: 7f470586e10543aa12efc7e04d4d4ac814eaca35
URL:
https://github.com/llvm/llvm-project/commit/7f470586e10543aa12efc7e04d4d4ac814eaca35
DIFF:
https://github.com/llvm/llvm-project/commit/7f470586e10543aa12efc7e04d4d4ac814eaca35.diff
vitalybuka wrote:
@hoodmane The patch was reverted.
https://github.com/llvm/llvm-project/pull/151107
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/151268
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: ronlieb
Date: 2025-07-29T22:07:17-07:00
New Revision: a7e029bd0bee6304c3654dd41aee04984d2b6edc
URL:
https://github.com/llvm/llvm-project/commit/a7e029bd0bee6304c3654dd41aee04984d2b6edc
DIFF:
https://github.com/llvm/llvm-project/commit/a7e029bd0bee6304c3654dd41aee04984d2b6edc.diff
LOG:
https://github.com/vitalybuka approved this pull request.
https://github.com/llvm/llvm-project/pull/151268
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/steakhal approved this pull request.
https://github.com/llvm/llvm-project/pull/150161
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
madhur13490 wrote:
@tarunprabhu Sure, I can take that suggestion. I have done the changes.
@kasuga-fj I fixed the rebase issue in `flang/docs`.
> I don't think this implies that the pass should be part of the function
> simplification pipeline. Its position should be determined by what the pas
@@ -30,6 +30,50 @@ EXCEPTION_DISPOSITION
_GCC_specific_handler(PEXCEPTION_RECORD, void *, PCONTEXT,
_Unwind_Personality_Fn);
#endif
+#if __has_feature(ptrauth_qualifier)
+#include
+#endif
+
+#if defined(__APPLE__) && __has_feature(
https://github.com/madhur13490 updated
https://github.com/llvm/llvm-project/pull/142686
>From 3b71a3ca82ed5bfdad8836f317c9476af964e432 Mon Sep 17 00:00:00 2001
From: Sebastian Pop
Date: Thu, 22 May 2025 13:50:38 +
Subject: [PATCH 1/2] add -floop-fuse to clang and flang
---
clang/include/c
@@ -103,10 +104,68 @@
#define _LIBCXXABI_DTOR_FUNC
#endif
-#if __cplusplus < 201103L
ojhunt wrote:
by failing to compile we ensure there are no memory safety bugs. :D
https://github.com/llvm/llvm-project/pull/143230
__
https://github.com/madhur13490 updated
https://github.com/llvm/llvm-project/pull/142686
>From 3b71a3ca82ed5bfdad8836f317c9476af964e432 Mon Sep 17 00:00:00 2001
From: Sebastian Pop
Date: Thu, 22 May 2025 13:50:38 +
Subject: [PATCH 1/2] add -floop-fuse to clang and flang
---
clang/include/c
https://github.com/madhur13490 updated
https://github.com/llvm/llvm-project/pull/142686
>From 3b71a3ca82ed5bfdad8836f317c9476af964e432 Mon Sep 17 00:00:00 2001
From: Sebastian Pop
Date: Thu, 22 May 2025 13:50:38 +
Subject: [PATCH 1/2] add -floop-fuse to clang and flang
---
clang/include/c
tstellar wrote:
@zyn0217 Here is the issue with the reduced test case:
https://github.com/llvm/llvm-project/issues/151271
https://github.com/llvm/llvm-project/pull/143096
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/c
@@ -29,8 +29,9 @@ Target &llvm::getTheWebAssemblyTarget64() {
extern "C" LLVM_ABI LLVM_EXTERNAL_VISIBILITY void
LLVMInitializeWebAssemblyTargetInfo() {
- RegisterTarget X(getTheWebAssemblyTarget32(), "wasm32",
- "WebAssembly 32-bit", "WebAsse
@@ -37,6 +37,9 @@ TEST(IncrementalCompilerBuilder, SetCompilerArgs) {
}
TEST(IncrementalCompilerBuilder, SetTargetTriple) {
+#ifdef __EMSCRIPTEN__
+ GTEST_SKIP() << "Test fails for Emscipten builds";
+#endif
anutosh491 wrote:
Hmm, we should be able to fetch
https://github.com/ChuanqiXu9 closed
https://github.com/llvm/llvm-project/pull/151074
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Chuanqi Xu
Date: 2025-07-30T11:10:39+08:00
New Revision: 8f09b03aebb71c154f3bbe725c29e3f47d37c26e
URL:
https://github.com/llvm/llvm-project/commit/8f09b03aebb71c154f3bbe725c29e3f47d37c26e
DIFF:
https://github.com/llvm/llvm-project/commit/8f09b03aebb71c154f3bbe725c29e3f47d37c26e.diff
LO
https://github.com/MaskRay approved this pull request.
LGTM! Thanks for not adding an extra driver option.
https://github.com/llvm/llvm-project/pull/149003
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/l
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (ronlieb)
Changes
Reverts llvm/llvm-project#151107
---
Full diff: https://github.com/llvm/llvm-project/pull/151268.diff
8 Files Affected:
- (modified) clang/lib/Basic/Targets/WebAssembly.cpp (+11-12)
- (modified) clang/lib/Basic/T
https://github.com/ronlieb created
https://github.com/llvm/llvm-project/pull/151268
Reverts llvm/llvm-project#151107
>From 09141eb903af90e767385ba4d9207a0bac95bce0 Mon Sep 17 00:00:00 2001
From: ronlieb
Date: Tue, 29 Jul 2025 23:04:12 -0400
Subject: [PATCH] Revert "[WebAssembly] Add gc target
dyung wrote:
This change is causing failures on quite a few bots, can we either fix or
revert this soon?
https://github.com/llvm/llvm-project/pull/151107
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/li
wangpc-pp wrote:
What is the status of Zvfbfa in RVI vector sig?
https://github.com/llvm/llvm-project/pull/151106
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-bootstrap-msan` running on `sanitizer-buildbot5` while
building `clang,llvm` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/164/builds/12047
Here is the
@@ -13,11 +13,12 @@
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/ASTMutationListener.h"
-#include "clang/AST/RecursiveASTVisitor.h"
+#include "clang/AST/DynamicRecursiveASTVisitor.h"
#include "clang/Lex/HeaderSearch.h"
#include "clang/Lex/Preprocessor.h"
#include
https://github.com/ChuanqiXu9 updated
https://github.com/llvm/llvm-project/pull/151074
>From 86b334ad710dcb622f63d4040096416ef10022b6 Mon Sep 17 00:00:00 2001
From: Chuanqi Xu
Date: Tue, 29 Jul 2025 10:23:33 +0800
Subject: [PATCH 1/2] [NFC] [Sema] [Modules] Use DynamicRecursiveASTVisitor to
re
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-aarch64-linux-bootstrap-msan` running on `sanitizer-buildbot9` while
building `clang,llvm` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/94/builds/9325
Here is the r
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-aarch64-linux-bootstrap-asan` running on `sanitizer-buildbot8` while
building `clang,llvm` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/24/builds/11011
Here is the
https://github.com/tclin914 updated
https://github.com/llvm/llvm-project/pull/151106
>From 0621311ea29b1d0b707b43e19975a5a4b67b038f Mon Sep 17 00:00:00 2001
From: Jim Lin
Date: Wed, 11 Jun 2025 09:45:46 +0800
Subject: [PATCH 1/6] [RISCV] Implement MC support for Zvfbfa extension
This patch add
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-key-instructions` running on `sie-linux-worker5` while building
`clang,llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/208/builds/3210
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Bill Wendling (bwendling)
Changes
Parentheses and no-op casts don't change the value. Skip past them to get to a
MemberExpr.
Fixes #151236
---
Full diff: https://github.com/llvm/llvm-project/pull/151266.diff
2 Files Affected:
- (modif
https://github.com/bwendling created
https://github.com/llvm/llvm-project/pull/151266
Parentheses and no-op casts don't change the value. Skip past them to get to a
MemberExpr.
Fixes #151236
>From e3e6589b55127e78ecdc7fe5fcc01c93c8e48be2 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Tue
https://github.com/tclin914 updated
https://github.com/llvm/llvm-project/pull/151106
>From 0621311ea29b1d0b707b43e19975a5a4b67b038f Mon Sep 17 00:00:00 2001
From: Jim Lin
Date: Wed, 11 Jun 2025 09:45:46 +0800
Subject: [PATCH 1/5] [RISCV] Implement MC support for Zvfbfa extension
This patch add
https://github.com/ChuanqiXu9 approved this pull request.
LGTM. It will be better if you can split it. It can be achieved by copying the
test and remove the corresponding `RUN` lines. But I don't feel bad if you want
to commit it as is since I believe the test may still be covered in a lot of
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`ppc64le-lld-multistage-test` running on `ppc64le-lld-multistage-test` while
building `clang,llvm` at step 7 "test-build-stage1-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/1
https://github.com/tclin914 updated
https://github.com/llvm/llvm-project/pull/151106
>From 0621311ea29b1d0b707b43e19975a5a4b67b038f Mon Sep 17 00:00:00 2001
From: Jim Lin
Date: Wed, 11 Jun 2025 09:45:46 +0800
Subject: [PATCH 1/4] [RISCV] Implement MC support for Zvfbfa extension
This patch add
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building
`clang,llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/174/builds/21932
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building
`clang,llvm` at step 7 "Add check check-clang".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/10/builds/10463
Here is
https://github.com/jhuber6 approved this pull request.
Seems straightforward enough.
https://github.com/llvm/llvm-project/pull/151114
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick`
running on `linaro-clang-aarch64-quick` while building `clang,llvm` at step 5
"ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/65/builds/20410
Here is the relevan
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while
building `clang,llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/144/builds/31
nathanchance wrote:
Right, I was unsure if there was a way to do that other than splitting the test
in some manner. My understanding is that `REQUIRES` is an all or nothing.
https://github.com/llvm/llvm-project/pull/151259
___
cfe-commits mailing list
aheejin wrote:
Tests failures don't seem to be related to this PR. Merged.
https://github.com/llvm/llvm-project/pull/151107
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/aheejin closed
https://github.com/llvm/llvm-project/pull/151107
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Hood Chatham
Date: 2025-07-29T17:54:12-07:00
New Revision: fe25445ded152df6cba2efcf053924f3f9f0e3c7
URL:
https://github.com/llvm/llvm-project/commit/fe25445ded152df6cba2efcf053924f3f9f0e3c7
DIFF:
https://github.com/llvm/llvm-project/commit/fe25445ded152df6cba2efcf053924f3f9f0e3c7.diff
https://github.com/JustinStitt edited
https://github.com/llvm/llvm-project/pull/148914
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/JustinStitt edited
https://github.com/llvm/llvm-project/pull/148914
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1012,6 +1030,107 @@ void SExprBuilder::exitCFG(const CFGBlock *Last) {
IncompleteArgs.clear();
}
+bool SExprBuilder::isVariableReassigned(const VarDecl *VD) {
+ // Note: The search is performed lazily per-variable and result is cached. An
+ // alternative would have be
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: None (vabridgers)
Changes
This change modifies getElementRegion to retain address space information when
removing all QualType qualifiers. Always removing address space qualifiers can
expose cases where QualTypes for dif
@@ -766,18 +766,13 @@ void CodeGenFunction::EmitTypeCheck(TypeCheckKind TCK,
SourceLocation Loc,
llvm::BasicBlock *Done = nullptr;
bool DoneViaNullSanitize = false;
+ llvm::Value *True = llvm::ConstantInt::getTrue(getLLVMContext());
+
{
-auto CheckHandler = Saniti
https://github.com/vabridgers created
https://github.com/llvm/llvm-project/pull/151249
This change modifies getElementRegion to retain address space information when
removing all QualType qualifiers. Always removing address space qualifiers can
expose cases where QualTypes for different pointe
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
@llvm/pr-subscribers-clang
Author: Joseph Huber (jhuber6)
Changes
Summary:
We link these implicitly for OpenMP because it's the canonical
implementation of those C language features. This was inhereted by HIP
and ended up with these resolvin
https://github.com/jhuber6 created
https://github.com/llvm/llvm-project/pull/151239
Summary:
We link these implicitly for OpenMP because it's the canonical
implementation of those C language features. This was inhereted by HIP
and ended up with these resolving functions. There are some useful
fu
https://github.com/Aethezz updated
https://github.com/llvm/llvm-project/pull/150161
>From a018c87c6356326cb04bd0a98ff5842e07403f9c Mon Sep 17 00:00:00 2001
From: Aethezz <64500703+aeth...@users.noreply.github.com>
Date: Tue, 22 Jul 2025 23:19:11 -0400
Subject: [PATCH 1/4] fix false positive, war
rjmccall wrote:
> > Oliver is right that we need custom checking in SemaChecking akin to the
> > other builtins, e.g. to validate that the keys are constants. The pattern
> > should be straightforward to follow. Otherwise the frontend changes LGTM
> > except as noted.
>
> When I noticed that
@@ -111,32 +111,13 @@ bool PlacementNewChecker::checkPlaceCapacityIsSufficient(
if (!SizeOfPlaceCI)
return true;
- if ((SizeOfPlaceCI->getValue() < SizeOfTargetCI->getValue()) ||
- (IsArrayTypeAllocated &&
- SizeOfPlaceCI->getValue() >= SizeOfTargetCI->getVal
https://github.com/hokein approved this pull request.
I'm not familiar with LLVM middle/back-end, but this change looks good from my
side.
https://github.com/llvm/llvm-project/pull/151224
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:/
carlosgalvezp wrote:
I'm happy to split the little refactor of `shouldSkipNode` into a separate
patch to make this one smaller / not have to revert the whole thing if it
doesn't work out, please let me know :)
https://github.com/llvm/llvm-project/pull/151035
__
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp,h --
clang/include/clang/APINotes/Types.h clang/lib/APIN
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Doug Gregor (DougGregor)
Changes
SwiftConformsTo specifies an additional conformance that should be applied on
import. Allow this on typedefs, because those can be imported as wrapper types.
---
Full diff: https://github.com/llvm/llvm-pro
https://github.com/DougGregor created
https://github.com/llvm/llvm-project/pull/151213
SwiftConformsTo specifies an additional conformance that should be applied on
import. Allow this on typedefs, because those can be imported as wrapper types.
>From 1073b67aba7358a10988b73096d9d623935cd0dd Mo
@@ -29,8 +29,9 @@ Target &llvm::getTheWebAssemblyTarget64() {
extern "C" LLVM_ABI LLVM_EXTERNAL_VISIBILITY void
LLVMInitializeWebAssemblyTargetInfo() {
- RegisterTarget X(getTheWebAssemblyTarget32(), "wasm32",
- "WebAssembly 32-bit", "WebAsse
https://github.com/spavloff updated
https://github.com/llvm/llvm-project/pull/150582
>From c63685694e0d2ffb7599006aa08c6032eafd2edb Mon Sep 17 00:00:00 2001
From: Serge Pavlov
Date: Fri, 25 Jul 2025 13:35:19 +0700
Subject: [PATCH 1/3] [Analysis] Prevent revisiting block when searching for
nore
@@ -1160,8 +1160,11 @@ class CFGBuilder {
return {};
// Check that it is the same variable on both sides.
-if (!Expr::isSameComparisonOperand(DeclExpr1, DeclExpr2))
- return {};
+if (!Expr::isSameComparisonOperand(DeclExpr1, DeclExpr2)) {
+ if (!Exp
https://github.com/codemzs updated
https://github.com/llvm/llvm-project/pull/149972
>From 20ad1ba3b919a37a86f39ba7d30249a0b9b9d2c6 Mon Sep 17 00:00:00 2001
From: Zeeshan Siddiqui
Date: Tue, 22 Jul 2025 06:37:54 +
Subject: [PATCH 1/2] [Sema] Make incorrect-logic operator check cast-agnostic
https://github.com/rjmccall requested changes to this pull request.
Oliver is right that we need custom checking in SemaChecking akin to the other
builtins, e.g. to validate that the keys are constants. The pattern should be
straightforward to follow. Otherwise the frontend changes LGTM except
https://github.com/gamesh411 updated
https://github.com/llvm/llvm-project/pull/150417
From 0630d81e544319a1a18798996760775d4a13f7ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Endre=20F=C3=BCl=C3=B6p?=
Date: Thu, 24 Jul 2025 14:49:14 +0200
Subject: [PATCH 01/11] [clang][analyzer] Add StoreToImmuta
@@ -1,16 +1,33 @@
-// RUN: %clang_cc1 -verify -Wunreachable-code %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -verify -Wunreachable-code
%s
+// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -target-feature +fullfp16
-verify -Wunreachable-code %s
+// REQUIRES: aarc
@@ -1,16 +1,33 @@
-// RUN: %clang_cc1 -verify -Wunreachable-code %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -verify -Wunreachable-code
%s
+// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -target-feature +fullfp16
-verify -Wunreachable-code %s
+// REQUIRES: aarc
@@ -259,78 +284,6 @@ typedef __UINTPTR_TYPE__ ptrauth_generic_signature_t;
/* The value is ptrauth_string_discriminator("init_fini") */
#define __ptrauth_init_fini_discriminator 0xd9d4
-#else
-
-#define ptrauth_strip(__value, __key)
\
@@ -0,0 +1,136 @@
+//=== StoreToImmutableChecker.cpp - Store to immutable memory ---*- C++
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -29,29 +29,24 @@ class StoreToImmutableChecker : public Checker
{
void checkBind(SVal Loc, SVal Val, const Stmt *S, CheckerContext &C) const;
private:
- bool isConstVariable(const MemRegion *MR, CheckerContext &C) const;
+ bool isEffectivelyConstRegion(const MemRegion
@@ -62,22 +57,33 @@ bool StoreToImmutableChecker::isConstVariable(const
MemRegion *MR,
return true;
}
- // Check if this is an ElementRegion accessing a const array
- if (const ElementRegion *ER = dyn_cast(MR)) {
-return isConstQualifiedType(ER->getSuperRegion()
hoodmane wrote:
Thanks @aheejin. How's it look now?
https://github.com/llvm/llvm-project/pull/151107
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8,6 +8,7 @@ void test_global_const() {
}
// String literal
+// NOTE: This only works in C++, not in C, as the analyzer treats string
literals as non-const char arrays in C mode.
gamesh411 wrote:
The const keyword was introduced in the ANSI C standard (C8
https://github.com/hoodmane updated
https://github.com/llvm/llvm-project/pull/151107
>From bb71b4795d85938772e78de3022d5d58b25d6d20 Mon Sep 17 00:00:00 2001
From: Hood Chatham
Date: Tue, 29 Jul 2025 10:41:49 +0200
Subject: [PATCH 1/5] [WebAssembly] Add gc target feature to
addBleedingEdgeFeatu
aheejin wrote:
> https://github.com/llvm/llvm-project/blob/main/clang/test/Driver/wasm-features.c
> needs to be updated too. For example, this is `fp16`:
>
> https://github.com/llvm/llvm-project/blob/052b836d2384c8a583ae5f945dcdcfba2004bbb0/clang/test/Driver/wasm-features.c#L38-L42
I don't thi
hoodmane wrote:
Okay I think I'm up to date with the comments so far.
https://github.com/llvm/llvm-project/pull/151107
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hoodmane updated
https://github.com/llvm/llvm-project/pull/151107
>From bb71b4795d85938772e78de3022d5d58b25d6d20 Mon Sep 17 00:00:00 2001
From: Hood Chatham
Date: Tue, 29 Jul 2025 10:41:49 +0200
Subject: [PATCH 1/4] [WebAssembly] Add gc target feature to
addBleedingEdgeFeatu
=?utf-8?q?Don=C3=A1t?= Nagy
Message-ID:
In-Reply-To:
https://github.com/steakhal approved this pull request.
It's probably good.
https://github.com/llvm/llvm-project/pull/150971
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.l
1 - 100 of 443 matches
Mail list logo