@@ -438,18 +445,28 @@ void llvm::PointerMayBeCaptured(const Value *V,
CaptureTracker *Tracker,
};
while (!Worklist.empty()) {
const Use *U = Worklist.pop_back_val();
-switch (DetermineUseCaptureKind(*U, IsDereferenceableOrNull)) {
-case UseCaptureKind::NO_CAPTU
@@ -210,7 +210,7 @@ class PointerType : public Type {
return Name + " *";
}
std::string llvmName() const override {
-return "llvm::PointerType::getUnqual(" + Pointee->llvmName() + ")";
+return "llvm::PointerType::getUnqual(Builder.getPtrTy())";
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/124920
>From bd731e4be65fc9c1746aa6a8f63d206eb54bb2be Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Wed, 29 Jan 2025 15:17:06 +0200
Subject: [PATCH 01/13] [Clang] disallow attributes on void parameters
---
clan
@@ -464,6 +464,7 @@ static void parseTargetArgs(TargetOptions &opts,
llvm::opt::ArgList &args) {
if (const llvm::opt::Arg *a =
args.getLastArg(clang::driver::options::OPT_mabi_EQ)) {
+opts.abi = a->getValue();
llvm::StringRef V = a->getValue();
if (V
https://github.com/junlarsen updated
https://github.com/llvm/llvm-project/pull/124782
>From bc77542fe58bdc94566a9a589039856de50617b0 Mon Sep 17 00:00:00 2001
From: Mats Jun Larsen
Date: Wed, 29 Jan 2025 01:29:01 +0900
Subject: [PATCH 1/4] [Clang][TableGen] Use PointerType::get(Context) in MVE
https://github.com/llvm-beanz approved this pull request.
https://github.com/llvm/llvm-project/pull/126258
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
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 c0861e9cbbc3b342e49a8688cdc15aa7c8e9f29a
09bb424d081fb1f5ef13e4a5f55371f0eb3afaea --e
Author: Petr Hosek
Date: 2025-02-07T08:49:18-08:00
New Revision: 1438c8d68ddaacba4a95a02b66ffbae2ea586993
URL:
https://github.com/llvm/llvm-project/commit/1438c8d68ddaacba4a95a02b66ffbae2ea586993
DIFF:
https://github.com/llvm/llvm-project/commit/1438c8d68ddaacba4a95a02b66ffbae2ea586993.diff
LO
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 27598aba49a7bbb6751fff5c8dc455edf701e1aa
9a21d425bf6888e530f5054bc980e41757791cde --e
https://github.com/junlarsen edited
https://github.com/llvm/llvm-project/pull/124771
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ilovepi closed
https://github.com/llvm/llvm-project/pull/120323
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -438,18 +445,28 @@ void llvm::PointerMayBeCaptured(const Value *V,
CaptureTracker *Tracker,
};
while (!Worklist.empty()) {
const Use *U = Worklist.pop_back_val();
-switch (DetermineUseCaptureKind(*U, IsDereferenceableOrNull)) {
-case UseCaptureKind::NO_CAPTU
vbvictor wrote:
There are some general improvements can be made:
- Create a separate test file `use-cpp-style-comments-doxygen.cpp` and leave
`use-cpp-style-comments.cpp` as it was before. With this, we can make sure that
check runs good both with and without option.
- Add documentation about
@@ -368,6 +368,11 @@ class RefCounted {
}
RefPtr trivial66() { return children[0]; }
Ref trivial67() { return *children[0]; }
+ struct point {
+double x;
+double y;
+ };
+ void trivial68() { point pt = { 1.0 }; }
ddkilzer wrote:
Not sure how m
Author: earnol
Date: 2025-02-07T11:52:39-05:00
New Revision: 4d7192a5ecabb36263a2cacd4e9243b958424805
URL:
https://github.com/llvm/llvm-project/commit/4d7192a5ecabb36263a2cacd4e9243b958424805
DIFF:
https://github.com/llvm/llvm-project/commit/4d7192a5ecabb36263a2cacd4e9243b958424805.diff
LOG: [
https://github.com/earnol closed
https://github.com/llvm/llvm-project/pull/125122
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sarnex edited
https://github.com/llvm/llvm-project/pull/126142
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/junlarsen updated
https://github.com/llvm/llvm-project/pull/124771
>From 13d65a0cc95fe53f959db343e5be07773ee53f28 Mon Sep 17 00:00:00 2001
From: Mats Jun Larsen
Date: Wed, 29 Jan 2025 00:31:32 +0900
Subject: [PATCH 1/3] [CodeGen] Replace of PointerType::get(Type) with opaque
@@ -1708,19 +1706,9 @@ static void insertDbgValueOrDbgVariableRecord(DIBuilder
&Builder, Value *DV,
static void insertDbgValueOrDbgVariableRecordAfter(
DIBuilder &Builder, Value *DV, DILocalVariable *DIVar, DIExpression
*DIExpr,
-const DebugLoc &NewLoc, BasicBlock::i
https://github.com/junlarsen ready_for_review
https://github.com/llvm/llvm-project/pull/124771
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3054,7 +3054,7 @@ LValue CodeGenFunction::EmitDeclRefLValue(const
DeclRefExpr *E) {
getContext().getDeclAlign(VD));
llvm::Type *VarTy = getTypes().ConvertTypeForMem(VD->getType());
auto *PTy = llvm::PointerType::ge
hvdijk wrote:
> Is this intended to be cherry-picked into the release branch or not?
Yes, I was hoping that we were still early enough to be able to cherry-pick it
without issues, especially as the aim is to restore a certain level of
compatibility with previous LLVM releases. If that is not t
https://github.com/usx95 updated
https://github.com/llvm/llvm-project/pull/124133
>From 22990789b61e9f9d22e88a6b008eb3166fd1cb56 Mon Sep 17 00:00:00 2001
From: Utkarsh Saxena
Date: Thu, 23 Jan 2025 15:47:39 +
Subject: [PATCH 1/3] [experimental] Detect return-stack-addr using CFG
---
.../A
https://github.com/nikic updated
https://github.com/llvm/llvm-project/pull/125880
>From 2f698e27ae61b91019544cc707c134e0aec9ecd3 Mon Sep 17 00:00:00 2001
From: Nikita Popov
Date: Thu, 30 Jan 2025 12:08:01 +0100
Subject: [PATCH 1/6] [CaptureTracking][FunctionAttrs] Add support for
CaptureInfo
https://github.com/usx95 updated
https://github.com/llvm/llvm-project/pull/124133
>From d4ccc6ce7e2b7af1eeb5164f6a1e47f57fe93cd8 Mon Sep 17 00:00:00 2001
From: Utkarsh Saxena
Date: Fri, 7 Feb 2025 17:08:56 +
Subject: [PATCH] CFG-based lifetime analysis using existing annotations
---
.../A
@@ -438,18 +445,28 @@ void llvm::PointerMayBeCaptured(const Value *V,
CaptureTracker *Tracker,
};
while (!Worklist.empty()) {
const Use *U = Worklist.pop_back_val();
-switch (DetermineUseCaptureKind(*U, IsDereferenceableOrNull)) {
-case UseCaptureKind::NO_CAPTU
https://github.com/damyanp commented:
LGTM as a reland.
https://github.com/llvm/llvm-project/pull/126258
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
501 - 527 of 527 matches
Mail list logo