https://github.com/philnik777 closed
https://github.com/llvm/llvm-project/pull/99473
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MK-Alias updated
https://github.com/llvm/llvm-project/pull/108005
>From 4e9cbd615c56604fbc3c05f677b9da11f30977a2 Mon Sep 17 00:00:00 2001
From: MK-Alias
Date: Tue, 10 Sep 2024 13:24:46 +0200
Subject: [PATCH 1/6] issue-63565: community requested small QoL fix for more
configu
MK-Alias wrote:
> I think it would be a nicer user experience if the config file took
> precedence over compile flags...
The whole idea of command-line arguments is to override defaults at execution
time. Config-files should be persistent part of the config, and to override the
current config
@@ -5461,6 +5461,18 @@ std::string llvm::UpgradeDataLayoutString(StringRef DL,
StringRef TT) {
return Res;
}
+ if (T.isSPARC()) {
+// Add "-i128:128"
+std::string I128 = "-i128:128";
+if (StringRef Ref = Res; !Ref.contains(I128)) {
+ SmallVector Groups
HighCommander4 wrote:
> > but it confuses things when "git blame" says that the last commit that
> > touched some unrelated
>
> And it's not confusing if "git blame" says that this same part of code is
> there in a "clang-format commit". Instead of it's original?
I would say that's less c
https://github.com/MK-Alias closed
https://github.com/llvm/llvm-project/pull/108005
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -28104,6 +28104,253 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
+ FormatStyle Style = getLLVMStyle();
+ Style.FixNamespaceComments = false;
+ Style.ShortNamespaceLines = 0;
+ Style.M
@@ -28104,6 +28104,253 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
+ FormatStyle Style = getLLVMStyle();
+ Style.FixNamespaceComments = false;
+ Style.ShortNamespaceLines = 0;
+ Style.M
@@ -28104,6 +28104,253 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
+ FormatStyle Style = getLLVMStyle();
+ Style.FixNamespaceComments = false;
+ Style.ShortNamespaceLines = 0;
+ Style.M
@@ -28104,6 +28104,253 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
+ FormatStyle Style = getLLVMStyle();
+ Style.FixNamespaceComments = false;
+ Style.ShortNamespaceLines = 0;
+ Style.M
@@ -28104,6 +28104,253 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
+ FormatStyle Style = getLLVMStyle();
+ Style.FixNamespaceComments = false;
+ Style.ShortNamespaceLines = 0;
+ Style.M
@@ -28104,6 +28104,253 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
+ FormatStyle Style = getLLVMStyle();
+ Style.FixNamespaceComments = false;
+ Style.ShortNamespaceLines = 0;
+ Style.M
@@ -28104,6 +28104,253 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
+ FormatStyle Style = getLLVMStyle();
+ Style.FixNamespaceComments = false;
+ Style.ShortNamespaceLines = 0;
+ Style.M
@@ -28104,6 +28104,253 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
+ FormatStyle Style = getLLVMStyle();
+ Style.FixNamespaceComments = false;
+ Style.ShortNamespaceLines = 0;
+ Style.M
@@ -28104,6 +28104,253 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
+ FormatStyle Style = getLLVMStyle();
+ Style.FixNamespaceComments = false;
+ Style.ShortNamespaceLines = 0;
+ Style.M
@@ -28104,6 +28104,253 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
+ FormatStyle Style = getLLVMStyle();
owenca wrote:
```suggestion
auto Style = getLLVMStyle();
```
h
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/109533
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -28104,6 +28104,253 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
+ FormatStyle Style = getLLVMStyle();
+ Style.FixNamespaceComments = false;
+ Style.ShortNamespaceLines = 0;
+ Style.M
@@ -28104,6 +28104,253 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
+ FormatStyle Style = getLLVMStyle();
+ Style.FixNamespaceComments = false;
+ Style.ShortNamespaceLines = 0;
+ Style.M
@@ -28104,6 +28104,253 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
+ FormatStyle Style = getLLVMStyle();
+ Style.FixNamespaceComments = false;
+ Style.ShortNamespaceLines = 0;
+ Style.M
@@ -1952,6 +1952,8 @@ def enum_value(self):
underlying_type = self.type
if underlying_type.kind == TypeKind.ENUM:
underlying_type = underlying_type.get_declaration().enum_type
+if underlying_type.kind == TypeKind.ELABORATED:
-
@@ -1952,6 +1952,8 @@ def enum_value(self):
underlying_type = self.type
if underlying_type.kind == TypeKind.ENUM:
underlying_type = underlying_type.get_declaration().enum_type
+if underlying_type.kind == TypeKind.ELABORATED:
-
mstorsjo wrote:
I managed to reduce this case further. Not entirely sure if it really managed
to pinpoint the same thing or if it diverged into something else, but this
snippet produces a different set of defined/undefined symbols before and after
this change.
```c++
namespace a {
typedef int
https://github.com/RKSimon created
https://github.com/llvm/llvm-project/pull/109577
This is an initial patch for constexpr handling of the BEXTR intrinsics - the
plan is to support all x86 bit manipulation intrinsics eventually (and then
SSE/AVX intrinsics), but I wanted to treat this as an in
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Simon Pilgrim (RKSimon)
Changes
This is an initial patch for constexpr handling of the BEXTR intrinsics - the
plan is to support all x86 bit manipulation intrinsics eventually (and then
SSE/AVX intrinsics), but I wanted to treat this as a
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: Simon Pilgrim (RKSimon)
Changes
This is an initial patch for constexpr handling of the BEXTR intrinsics - the
plan is to support all x86 bit manipulation intrinsics eventually (and then
SSE/AVX intrinsics), but I wanted to treat thi
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 5b9206dbe42a149f44cc267508d439717912cb1d
250338c42d61cb6870015679453e726aa0342b9e --e
https://github.com/RKSimon updated
https://github.com/llvm/llvm-project/pull/109577
>From 250338c42d61cb6870015679453e726aa0342b9e Mon Sep 17 00:00:00 2001
From: Simon Pilgrim
Date: Sun, 22 Sep 2024 15:00:03 +0100
Subject: [PATCH 1/2] [clang][x86] Add constexpr support for BMI/TBM BEXTR
intrin
RKSimon wrote:
@aniplcc reverse ping?
https://github.com/llvm/llvm-project/pull/94161
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/steakhal created
https://github.com/llvm/llvm-project/pull/109574
This helps to produce USRs for custom LangOpts - that differ from the one
associated with the given Decl. This can unlock usecases in tooling
opportunities that we have downstream.
This is NFC because existin
bradh352 wrote:
I'm honestly not sure how to fix the formatting in this. I'm not seeing
anything wrong with my addition in Format.h, but maybe there's something I'm
missing. I never touch ClangFormatStyleOptions.rst directly.
https://github.com/llvm/llvm-project/pull/108241
_
Author: Joseph Huber
Date: 2024-09-22T08:16:01-05:00
New Revision: 5b9206dbe42a149f44cc267508d439717912cb1d
URL:
https://github.com/llvm/llvm-project/commit/5b9206dbe42a149f44cc267508d439717912cb1d
DIFF:
https://github.com/llvm/llvm-project/commit/5b9206dbe42a149f44cc267508d439717912cb1d.diff
https://github.com/philnik777 closed
https://github.com/llvm/llvm-project/pull/109533
___
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: Balazs Benics (steakhal)
Changes
This helps to produce USRs for custom LangOpts - that differ from the one
associated with the given Decl. This can unlock usecases in tooling
opportunities that we have downstream.
This is NFC because exi
Author: Joseph Huber
Date: 2024-09-22T08:04:20-05:00
New Revision: 68e2b695eae06b42261ecdc145c1f1ece57cd14c
URL:
https://github.com/llvm/llvm-project/commit/68e2b695eae06b42261ecdc145c1f1ece57cd14c
DIFF:
https://github.com/llvm/llvm-project/commit/68e2b695eae06b42261ecdc145c1f1ece57cd14c.diff
Author: Kazu Hirata
Date: 2024-09-22T08:03:15-07:00
New Revision: 7a4b320931a139514b2fcdf682cb4ab2abb6331d
URL:
https://github.com/llvm/llvm-project/commit/7a4b320931a139514b2fcdf682cb4ab2abb6331d
DIFF:
https://github.com/llvm/llvm-project/commit/7a4b320931a139514b2fcdf682cb4ab2abb6331d.diff
L
https://github.com/HerrCai0907 updated
https://github.com/llvm/llvm-project/pull/109431
>From 4f2fe989bc8206e4d7f81e21b6d171b85a4dd39b Mon Sep 17 00:00:00 2001
From: Congcong Cai
Date: Sun, 22 Sep 2024 23:35:24 +0800
Subject: [PATCH] refix
---
clang/lib/CodeGen/CGBuiltin.cpp | 9
MichelleCDjunaidi wrote:
@5chmidti @SimplyDanny can anyone help merge this into main?
https://github.com/llvm/llvm-project/pull/106675
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/109583
Without this patch, several callers of LoadFromASTFile construct an
instance of std::string to be passed as FileName, only to be converted
back to StringRef when LoadFromASTFile calls ReadAST.
This patch
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
Without this patch, several callers of LoadFromASTFile construct an
instance of std::string to be passed as FileName, only to be converted
back to StringRef when LoadFromASTFile calls ReadAST.
This patc
101 - 140 of 140 matches
Mail list logo