@@ -0,0 +1,29 @@
+.. title:: clang-tidy - readability-use-std-min-max
+
+readability-use-std-min-max
+===
+
+Replaces certain conditional statements with equivalent ``std::min`` or
+``std::max`` expressions. Note: This may impact
PiotrZSL w
https://github.com/qiongsiwu updated
https://github.com/llvm/llvm-project/pull/78285
>From ebae7155814ad83ebd1a0159b86550c14c72b2b6 Mon Sep 17 00:00:00 2001
From: Qiongsi Wu
Date: Fri, 12 Jan 2024 11:45:50 -0500
Subject: [PATCH 1/3] Reland https://github.com/llvm/llvm-project/pull/76471
---
.
qiongsiwu wrote:
Thanks for to comments/suggestions @w2yehia ! The test is modified so that
1. The profile files are generated.
2. The test does not support Windows to avoid known limitations on Windows.
https://github.com/llvm/llvm-project/pull/78285
_
mordante wrote:
> LGTM with a few nits. Can you double check modules.json is inside `lib/`
> (`usr/lib/x86_64-linux-gnu{{/|\\}}modules.json`) instead of some directory
> under `include`?
Thanks for the review. The json will indeed be installed in the lib dir in
libc++.
https://github.com/llv
Author: Mark de Wever
Date: 2024-01-22T19:42:32+01:00
New Revision: a301fb11014f9cfdf4ee8cada173c46a7677d9d3
URL:
https://github.com/llvm/llvm-project/commit/a301fb11014f9cfdf4ee8cada173c46a7677d9d3
DIFF:
https://github.com/llvm/llvm-project/commit/a301fb11014f9cfdf4ee8cada173c46a7677d9d3.diff
https://github.com/mordante closed
https://github.com/llvm/llvm-project/pull/76451
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/79031
GCC an other ELF compilers support -mlts-dialect= options to control the
use of ELF TLS Descriptors as part of the TLS model. This patch only
adds support to the clang driver for the flag. Support for the
EnableTL
Author: erichkeane
Date: 2024-01-22T10:43:13-08:00
New Revision: 04952c5bec69c197ea6ffb718ae80fcf78c7828a
URL:
https://github.com/llvm/llvm-project/commit/04952c5bec69c197ea6ffb718ae80fcf78c7828a
DIFF:
https://github.com/llvm/llvm-project/commit/04952c5bec69c197ea6ffb718ae80fcf78c7828a.diff
LO
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Paul Kirth (ilovepi)
Changes
GCC an other ELF compilers support -mlts-dialect= options to control the
use of ELF TLS Descriptors as part of the TLS model. This patch only
adds support to the clang driver for the flag. Support for the
Enable
ilovepi wrote:
Note: codegen changes to support meaningful `-mtls-dialect` changes are
introduced in https://github.com/llvm/llvm-project/pull/66915.
https://github.com/llvm/llvm-project/pull/79031
___
cfe-commits mailing list
cfe-commits@lists.llvm.
https://github.com/ymand updated https://github.com/llvm/llvm-project/pull/77481
>From 1e37ced06198e9d8b7c583e01f22e53508182902 Mon Sep 17 00:00:00 2001
From: Yitzhak Mandelbaum
Date: Thu, 4 Jan 2024 15:36:40 +
Subject: [PATCH 1/3] [clang][dataflow] Make cap on block visits configurable
by
Author: Malavika Samak
Date: 2024-01-22T10:46:59-08:00
New Revision: 414df7051ac90f186fac9d3d8968aa827eceb697
URL:
https://github.com/llvm/llvm-project/commit/414df7051ac90f186fac9d3d8968aa827eceb697
DIFF:
https://github.com/llvm/llvm-project/commit/414df7051ac90f186fac9d3d8968aa827eceb697.diff
https://github.com/malavikasamak closed
https://github.com/llvm/llvm-project/pull/78815
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jwanggit86 created
https://github.com/llvm/llvm-project/pull/79035
A new function attribute named amdgpu-num-work-groups is added. This attribute,
which consists of three integers, allows programmers to let the compiler know
the number of workgroups to be launched in each of
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
Author: Jun Wang (jwanggit86)
Changes
A new function attribute named amdgpu-num-work-groups is added. This attribute,
which consists of three integers, allows programmers to let the compiler know
the number of workgroups to be launched i
https://github.com/ymand updated https://github.com/llvm/llvm-project/pull/77481
>From f114ac46b58118cc8d4a07119b8a51787f481ded Mon Sep 17 00:00:00 2001
From: Yitzhak Mandelbaum
Date: Thu, 4 Jan 2024 15:36:40 +
Subject: [PATCH] [clang][dataflow] Make cap on block visits configurable by
call
@@ -72,6 +72,11 @@ class CodeGenOptions : public CodeGenOptionsBase {
LocalExecTLSModel
};
+ enum TLSDialect {
MaskRay wrote:
Prefer enum class (I think it has been more popular in other parts of Clang,
perhaps CodeGen/Sema). `TLSDialect::TraditionalD
https://github.com/andykaylor approved this pull request.
lgtm
https://github.com/llvm/llvm-project/pull/78330
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jwanggit86 wrote:
Reimplemented in [79035](https://github.com/llvm/llvm-project/pull/79035).
https://github.com/llvm/llvm-project/pull/75647
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
https://github.com/jwanggit86 closed
https://github.com/llvm/llvm-project/pull/75647
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -401,6 +401,8 @@ static bool initTargetOptions(DiagnosticsEngine &Diags,
Options.UniqueBasicBlockSectionNames =
CodeGenOpts.UniqueBasicBlockSectionNames;
Options.TLSSize = CodeGenOpts.TLSSize;
+ // TODO: Add correct codegen options in LLVM
+ // Options.TLSDesc =
@@ -1752,8 +1754,10 @@ static void AppendTargetClonesMangling(const
CodeGenModule &CGM,
const TargetInfo &TI = CGM.getTarget();
if (TI.getTriple().isAArch64()) {
DanielKristofKiss wrote:
It was not supported in the original function multi versioning neithe
https://github.com/DanielKristofKiss closed
https://github.com/llvm/llvm-project/pull/74358
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Dani
Date: 2024-01-22T19:55:16+01:00
New Revision: 1be0d9d7d88a9bdabe6ef4d81720ddf4cf6f71c1
URL:
https://github.com/llvm/llvm-project/commit/1be0d9d7d88a9bdabe6ef4d81720ddf4cf6f71c1
DIFF:
https://github.com/llvm/llvm-project/commit/1be0d9d7d88a9bdabe6ef4d81720ddf4cf6f71c1.diff
LOG: [AA
https://github.com/andykaylor approved this pull request.
I'm happy with this.
https://github.com/llvm/llvm-project/pull/76873
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ldionne updated
https://github.com/llvm/llvm-project/pull/69498
>From 6f89b118ed56ad7a3af1996e19ccd30cc893c51e Mon Sep 17 00:00:00 2001
From: Louis Dionne
Date: Wed, 14 Jun 2023 17:49:22 -0700
Subject: [PATCH 1/8] [libc++] Fix the behavior of throwing `operator new`
under -f
https://github.com/ahatanak updated
https://github.com/llvm/llvm-project/pull/78763
>From 0d68286bd8b7206c5045062f65ccaf1c3fb54714 Mon Sep 17 00:00:00 2001
From: Akira Hatanaka
Date: Thu, 18 Jan 2024 16:20:41 -0800
Subject: [PATCH 1/3] Add option -fstdlib-hardening=
The option allows users to
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/78027
>From 304b5e7834ff071822fbd4e85eb4655d220d4e49 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Thu, 18 Jan 2024 19:54:04 +0300
Subject: [PATCH 1/2] [AArch64] Make Armv8.3-a extension set +pauth by def
https://github.com/ahatanak updated
https://github.com/llvm/llvm-project/pull/78763
>From 0d68286bd8b7206c5045062f65ccaf1c3fb54714 Mon Sep 17 00:00:00 2001
From: Akira Hatanaka
Date: Thu, 18 Jan 2024 16:20:41 -0800
Subject: [PATCH 1/4] Add option -fstdlib-hardening=
The option allows users to
@@ -0,0 +1,41 @@
+//===--- UseStdMinMaxCheck.h - clang-tidy ---*- 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: Apa
@@ -241,6 +241,12 @@ New checks
Detects C++ code where a reference variable is used to extend the lifetime
of a temporary object that has just been constructed.
+- New :doc:`readability-use-std-min-max
+ ` check.
+
+ Replaces certain conditional statements with equivalen
@@ -0,0 +1,130 @@
+//===--- UseStdMinMaxCheck.cpp - clang-tidy
---===//
+//
+// 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
https://github.com/banach-space approved this pull request.
> Intended to warn users of the 19.x release not to do this.
>
> A better solution should be found for the 20.x release. See discussion in
> https://github.com/llvm/llvm-project/pull/78152.
>
> Unfortunately there is no warning on Win
https://github.com/banach-space edited
https://github.com/llvm/llvm-project/pull/79016
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1193,6 +1193,16 @@ static void addFortranMain(const ToolChain &TC, const
ArgList &Args,
return;
}
+ const Driver &D = TC.getDriver();
+ const char *LinkFlag = "-lFortran_main";
banach-space wrote:
```suggestion
const char *FortranMainLinkFlag =
@@ -1193,6 +1193,16 @@ static void addFortranMain(const ToolChain &TC, const
ArgList &Args,
return;
}
+ const Driver &D = TC.getDriver();
+ const char *LinkFlag = "-lFortran_main";
+
+ // warn if -lFortran_main was already specified
banach-space wrot
@@ -1193,6 +1193,16 @@ static void addFortranMain(const ToolChain &TC, const
ArgList &Args,
return;
}
+ const Driver &D = TC.getDriver();
banach-space wrote:
Move this whole block below the `// 2. GNU and similar`? Otherwise it seems
that this is sti
@@ -1193,6 +1193,16 @@ static void addFortranMain(const ToolChain &TC, const
ArgList &Args,
return;
}
+ const Driver &D = TC.getDriver();
+ const char *LinkFlag = "-lFortran_main";
+
+ // warn if -lFortran_main was already specified
+ for (const char *arg : CmdArgs)
https://github.com/michaelmaitland updated
https://github.com/llvm/llvm-project/pull/79015
>From 639d404b3b8a8ca7e92160fa8512459be07e631f Mon Sep 17 00:00:00 2001
From: Michael Maitland
Date: Mon, 22 Jan 2024 07:53:55 -0800
Subject: [PATCH 1/3] [RISCV] Add sifive-p670 processor
This is an OOO
https://github.com/michaelmaitland updated
https://github.com/llvm/llvm-project/pull/79015
>From 639d404b3b8a8ca7e92160fa8512459be07e631f Mon Sep 17 00:00:00 2001
From: Michael Maitland
Date: Mon, 22 Jan 2024 07:53:55 -0800
Subject: [PATCH 1/4] [RISCV] Add sifive-p670 processor
This is an OOO
https://github.com/carlos4242 created
https://github.com/llvm/llvm-project/pull/79037
- Sema::isSimpleTypeSpecifier return true for _Bool in c99 (currently returns
false for _Bool, regardless of C dialect). (Fixes #72203)
- move simple type decision code into shared location (IdentifierInfo)
-
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be
notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it i
@@ -253,22 +253,22 @@ def ROCDL_mfma_f32_32x32x16_fp8_fp8 :
ROCDL_Mfma_IntrOp<"mfma.f32.32x32x16.fp8.f
//===-===//
// WMMA intrinsics
-class ROCDL_Wmma_IntrOp traits = []> :
+class ROCDL_Wmma_IntrOp overloade
H-G-Hristov wrote:
> This is still broken so I'm going to revert the change.
Thanks! Sorry for the inconvenience. I didn't see your message earlier.
https://github.com/llvm/llvm-project/pull/76449
___
cfe-commits mailing list
cfe-commits@lists.llvm.or
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 f73bf45d68bd2c17602a909751da4a23138d711a
c3de96925ea288fa50e72b597428d3e47c2e4595 --
@@ -1391,7 +1394,26 @@ class LowerMatrixIntrinsics {
return TTI.getMemoryOpCost(Instruction::Load, VecTy, Align(1), 0) -
N * TTI.getMemoryOpCost(Instruction::Load, EltTy, Align(1), 0);
};
-auto LHSCost = GetCostForArg(LHS, LShape.NumColumns);
+
--
https://github.com/michaelmaitland approved this pull request.
LGTM.
https://github.com/llvm/llvm-project/pull/79030
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/francisvm approved this pull request.
https://github.com/llvm/llvm-project/pull/72647
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2024-01-22T11:17:21-08:00
New Revision: 73ff017c9b39d8a1ecc350f0572e3274dd4c9146
URL:
https://github.com/llvm/llvm-project/commit/73ff017c9b39d8a1ecc350f0572e3274dd4c9146
DIFF:
https://github.com/llvm/llvm-project/commit/73ff017c9b39d8a1ecc350f0572e3274dd4c9146.diff
L
https://github.com/saiislam created
https://github.com/llvm/llvm-project/pull/79038
Also update LIT tests and docs.
For more details, see
https://llvm.org/docs/AMDGPUUsage.html#code-object-v5-metadata
Corresponding llvm-objdump AMDGPU lit tests are updated
in a follow-up PR.
>From 4c156a11e943
llvmbot wrote:
@llvm/pr-subscribers-mlir
@llvm/pr-subscribers-clang
Author: Saiyedul Islam (saiislam)
Changes
Also update LIT tests and docs.
For more details, see
https://llvm.org/docs/AMDGPUUsage.html#code-object-v5-metadata
Corresponding llvm-objdump AMDGPU lit tests are updated
in a f
https://github.com/jhuber6 approved this pull request.
Seems straightforward enough
https://github.com/llvm/llvm-project/pull/79038
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/saiislam created
https://github.com/llvm/llvm-project/pull/79039
Depends on #79038 which makes cov5 as the default code
object version.
>From 4c156a11e943b85c1fe9f7f0ff5b651cf4d3946d Mon Sep 17 00:00:00 2001
From: Saiyedul Islam
Date: Mon, 22 Jan 2024 13:11:22 -0600
Subject:
llvmbot wrote:
@llvm/pr-subscribers-mlir-llvm
Author: Saiyedul Islam (saiislam)
Changes
Depends on #79038 which makes cov5 as the default code
object version.
---
Full diff: https://github.com/llvm/llvm-project/pull/79039.diff
19 Files Affected:
- (modified) clang/include/clang/Driver/
https://github.com/jhuber6 edited
https://github.com/llvm/llvm-project/pull/79039
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jhuber6 approved this pull request.
https://github.com/llvm/llvm-project/pull/79039
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -99,6 +99,7 @@ class ROCDLDialectLLVMIRTranslationInterface
if (!llvmFunc->hasFnAttribute("amdgpu-flat-work-group-size")) {
llvmFunc->addFnAttr("amdgpu-flat-work-group-size", "1,256");
}
+ llvmFunc->addFnAttr("amdgpu-implicitarg-num-bytes", "256");
-
https://github.com/w2yehia approved this pull request.
https://github.com/llvm/llvm-project/pull/78285
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -99,6 +99,7 @@ class ROCDLDialectLLVMIRTranslationInterface
if (!llvmFunc->hasFnAttribute("amdgpu-flat-work-group-size")) {
llvmFunc->addFnAttr("amdgpu-flat-work-group-size", "1,256");
}
+ llvmFunc->addFnAttr("amdgpu-implicitarg-num-bytes", "256");
-
https://github.com/saiislam edited
https://github.com/llvm/llvm-project/pull/79039
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mandlebug created
https://github.com/llvm/llvm-project/pull/79041
Fat lto with -c compiles to an object file with the IR embedded in a section of
the object, the combination of fat-lto with -S should then produce an assembly
file equivalent of that. The IR output can still b
llvmbot wrote:
@llvm/pr-subscribers-lto
Author: Sean Fertile (mandlebug)
Changes
Fat lto with -c compiles to an object file with the IR embedded in a section of
the object, the combination of fat-lto with -S should then produce an assembly
file equivalent of that. The IR output can still
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Sean Fertile (mandlebug)
Changes
Fat lto with -c compiles to an object file with the IR embedded in a section of
the object, the combination of fat-lto with -S should then produce an assembly
file equivalent of that. The IR output
@@ -18,6 +18,45 @@ namespace clang::tidy::readability {
static const llvm::StringRef AlgorithmHeader("");
+static bool MinCondition(const BinaryOperator::Opcode &Op,const Expr
*CondLhs,const Expr *CondRhs,const Expr *AssignLhs,const Expr *AssignRhs,const
ASTContext &Context
@@ -18,6 +18,45 @@ namespace clang::tidy::readability {
static const llvm::StringRef AlgorithmHeader("");
+static bool MinCondition(const BinaryOperator::Opcode &Op,const Expr
*CondLhs,const Expr *CondRhs,const Expr *AssignLhs,const Expr *AssignRhs,const
ASTContext &Context
Author: erichkeane
Date: 2024-01-22T11:35:30-08:00
New Revision: 0dd72eb269dd485b98afba2c58a1d747db53dcad
URL:
https://github.com/llvm/llvm-project/commit/0dd72eb269dd485b98afba2c58a1d747db53dcad
DIFF:
https://github.com/llvm/llvm-project/commit/0dd72eb269dd485b98afba2c58a1d747db53dcad.diff
LO
Author: Zahira Ammarguellat
Date: 2024-01-22T14:38:30-05:00
New Revision: 1e2a4ccb6237b6db9db7dc3fd11a94410ec9b0df
URL:
https://github.com/llvm/llvm-project/commit/1e2a4ccb6237b6db9db7dc3fd11a94410ec9b0df
DIFF:
https://github.com/llvm/llvm-project/commit/1e2a4ccb6237b6db9db7dc3fd11a94410ec9b0df
kleinesfilmroellchen wrote:
After some discussion, I would like to land the feature "partially" as-is
without support for "include cleaner" header insertion. (Case 3 in
@HighCommander4's elaboration above.) This is motivated by two factors:
- Having looked at a way of supporting all three inser
https://github.com/zahiraam closed
https://github.com/llvm/llvm-project/pull/76873
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaskRay edited
https://github.com/llvm/llvm-project/pull/78950
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaskRay updated
https://github.com/llvm/llvm-project/pull/78950
>From 2ce57488682873d2dc005144db57fbb555f29d8a Mon Sep 17 00:00:00 2001
From: Fangrui Song
Date: Mon, 22 Jan 2024 00:29:09 -0800
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?UTF
@@ -135,14 +135,15 @@ void
Thumb1InstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
void Thumb1InstrInfo::expandLoadStackGuard(
MachineBasicBlock::iterator MI) const {
MachineFunction &MF = *MI->getParent()->getParent();
- const TargetMachine &TM = MF.getTarget();
MaskRay wrote:
> (the commit message seems odd; intentional?)
Hopefully clarified:)
https://github.com/llvm/llvm-project/pull/78950
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jake Egan
Date: 2024-01-22T14:53:35-05:00
New Revision: 02aa6956b5b6c92f3d4aea0aa466ed0d33343335
URL:
https://github.com/llvm/llvm-project/commit/02aa6956b5b6c92f3d4aea0aa466ed0d33343335
DIFF:
https://github.com/llvm/llvm-project/commit/02aa6956b5b6c92f3d4aea0aa466ed0d33343335.diff
LOG
https://github.com/jakeegan closed
https://github.com/llvm/llvm-project/pull/78748
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
qiongsiwu wrote:
Hi @vitalybuka ! I am landing this PR. The precommit CI failures do not seem to
related to changes in this PR. Please let me know if you see failures and I
will revert. Thanks so much!
https://github.com/llvm/llvm-project/pull/78285
___
Author: Qiongsi Wu
Date: 2024-01-22T14:54:58-05:00
New Revision: 4f21fb84479286ddc781d73f8df152f81a8264e7
URL:
https://github.com/llvm/llvm-project/commit/4f21fb84479286ddc781d73f8df152f81a8264e7
DIFF:
https://github.com/llvm/llvm-project/commit/4f21fb84479286ddc781d73f8df152f81a8264e7.diff
LO
Author: Qiongsi Wu
Date: 2024-01-22T14:54:58-05:00
New Revision: 4f21fb84479286ddc781d73f8df152f81a8264e7
URL:
https://github.com/llvm/llvm-project/commit/4f21fb84479286ddc781d73f8df152f81a8264e7
DIFF:
https://github.com/llvm/llvm-project/commit/4f21fb84479286ddc781d73f8df152f81a8264e7.diff
LO
https://github.com/qiongsiwu closed
https://github.com/llvm/llvm-project/pull/78285
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jakeegan wrote:
@jansvoboda11 Thanks again for investigating!
https://github.com/llvm/llvm-project/pull/78748
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/79041
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -401,6 +401,8 @@ static bool initTargetOptions(DiagnosticsEngine &Diags,
Options.UniqueBasicBlockSectionNames =
CodeGenOpts.UniqueBasicBlockSectionNames;
Options.TLSSize = CodeGenOpts.TLSSize;
+ // TODO: Add correct codegen options in LLVM
+ // Options.TLSDesc =
@@ -112,6 +112,85 @@ enum FloatingRank {
Ibm128Rank
};
+constexpr unsigned CXX23FloatRankToIndex(clang::BuiltinType::Kind Kind) {
+ switch (Kind) {
+ case clang::BuiltinType::Float16:
+return 0;
+ case clang::BuiltinType::BFloat16:
+return 1;
+ case clang::Builti
https://github.com/mydeveloperday commented:
I don't use TableGen myself so I can't really say if this is quite the correct
thing to do, I feel it needs a TableGenTest.cpp example of real TableGen code
for every example you give here. Then we should try and cover the other use
cases. That we m
@@ -276,13 +276,44 @@ void FormatTokenLexer::tryMergePreviousTokens() {
return;
}
}
- // TableGen's Multi line string starts with [{
- if (Style.isTableGen() && tryMergeTokens({tok::l_square, tok::l_brace},
- TT_TableGenMu
@@ -276,13 +276,44 @@ void FormatTokenLexer::tryMergePreviousTokens() {
return;
}
}
- // TableGen's Multi line string starts with [{
- if (Style.isTableGen() && tryMergeTokens({tok::l_square, tok::l_brace},
- TT_TableGenMu
https://github.com/mydeveloperday edited
https://github.com/llvm/llvm-project/pull/78996
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -7007,27 +7090,69 @@ static FloatingRank getFloatingRank(QualType T) {
}
}
+/// C++23 6.8.5 [conv.rank]
/// getFloatingTypeOrder - Compare the rank of the two specified floating
/// point types, ignoring the domain of the type (i.e. 'double' ==
-/// '_Complex double').
@@ -3220,6 +3220,25 @@ the configuration (without a prefix: ``Auto``).
+.. _EmptyLinesAfterIncludes:
+
+**EmptyLinesAfterIncludes** (``Unsigned``) :versionbadge:`clang-format 18`
:ref:`¶ `
mydeveloperday wrote:
18 will be correct today, but it won't be tom
https://github.com/carlos4242 updated
https://github.com/llvm/llvm-project/pull/79037
>From 61a06b77e8e6f2b5c5a9a2aa0b7f46260545f5b4 Mon Sep 17 00:00:00 2001
From: Carl Peto
Date: Mon, 22 Jan 2024 18:52:46 +
Subject: [PATCH] [clang] - Sema::isSimpleTypeSpecifier return true for _Bool
in c9
https://github.com/ributzka updated
https://github.com/llvm/llvm-project/pull/78816
>From 968941561e08424ecb4fb15615ee46fe8356405e Mon Sep 17 00:00:00 2001
From: Juergen Ributzka
Date: Fri, 19 Jan 2024 16:10:03 -0800
Subject: [PATCH 1/2] [clang][modules] Fix CodeGen options that can affect the
https://github.com/ldionne approved this pull request.
LGTM.
https://github.com/llvm/llvm-project/pull/77164
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HazardyKnusperkeks approved this pull request.
https://github.com/llvm/llvm-project/pull/78752
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -243,6 +247,14 @@ void UnwrappedLineParser::parse() {
Callback.consumeUnwrappedLine(Line);
}
Callback.finishRun();
+TotalLinesProcessed += Lines.size();
+if ((TotalLinesProcessed / 1) > LastReport) {
mydeveloperday wrote:
Do we nee
https://github.com/pogo59 created
https://github.com/llvm/llvm-project/pull/79048
These are largely copy-pasted from the corresponding function descriptions.
Added \see cross-references. Also changed tags to \c.
>From 5a3f36a9276e0919d72cb48a7d30c2951b542c79 Mon Sep 17 00:00:00 2001
From: Pau
https://github.com/HazardyKnusperkeks approved this pull request.
https://github.com/llvm/llvm-project/pull/78847
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/asb approved this pull request.
LGTM.
https://github.com/llvm/llvm-project/pull/79030
___
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
@llvm/pr-subscribers-backend-x86
Author: Paul T Robinson (pogo59)
Changes
These are largely copy-pasted from the corresponding function descriptions.
Added \see cross-references. Also changed tags to \c.
---
Full diff: https://github.com/llvm
https://github.com/mydeveloperday commented:
Can we write a unit test for this?
https://github.com/llvm/llvm-project/pull/78925
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HazardyKnusperkeks approved this pull request.
https://github.com/llvm/llvm-project/pull/78921
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
401 - 500 of 673 matches
Mail list logo