@@ -93,16 +96,20 @@ struct MissingFeatures {
static bool stackSaveOp() { return false; }
static bool aggValueSlot() { return false; }
static bool generateDebugInfo() { return false; }
+ static bool getFPFeaturesInEffect() { return false; }
+ static bool pointerOverflowS
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 1f967887018c63bddf5bf2860e0e6a3aa1e85840
ad58171d90be5e93c33c54f87f8c35096d13e680 --e
=?utf-8?q?Donát?= Nagy
Message-ID:
In-Reply-To:
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Donát Nagy (NagyDonat)
Changes
Previously `optin.taint.GenericTaint` misinterpreted the parameter indices and
produced false positives in situa
https://github.com/NagyDonat ready_for_review
https://github.com/llvm/llvm-project/pull/132765
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/NagyDonat edited
https://github.com/llvm/llvm-project/pull/132765
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4894,7 +4894,7 @@ def HLSLDotProduct : LangBuiltin<"HLSL_LANG"> {
def HLSLDot2Add : LangBuiltin<"HLSL_LANG"> {
let Spellings = ["__builtin_hlsl_dot2add"];
let Attributes = [NoThrow, Const, CustomTypeChecking];
farzonl wrote:
Not sure what you mean. Are
mizvekov wrote:
This is a compile-time improvement overall.
The reverted patch adds a 0.07 cost to stage2-clang, which we avoid with the
new approach:
Commit stage1-O3 stage1-ReleaseThinLTO stage1-ReleaseLTO-g
stage1-O0-g stage2-O3 stage2-O0-g stage2-clang
[9a089c5fb
https://github.com/NagyDonat updated
https://github.com/llvm/llvm-project/pull/132765
From f0ac1f6c223b3bfce25ba0183ba1aa2825c455ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Don=C3=A1t=20Nagy?=
Date: Mon, 24 Mar 2025 16:58:31 +0100
Subject: [PATCH 1/2] [NFC][analyzer] Add testcase to highlight G
https://github.com/NagyDonat edited
https://github.com/llvm/llvm-project/pull/132765
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jroelofs wrote:
Correct, and that's fine: nothing we've previously shipped supports FEAT_CSSC.
https://github.com/llvm/llvm-project/pull/132727
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-
https://github.com/mjklemm approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/128640
___
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: None (offsetof)
Changes
CWG2815 "Overload resolution for references/pointers to `noexcept` functions"
---
Full diff: https://github.com/llvm/llvm-project/pull/132778.diff
5 Files Affected:
- (modified) clang/docs/ReleaseNotes.rst (+4)
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
@llvm/pr-subscribers-clang-tidy
Author: Jan Svoboda (jansvoboda11)
Changes
This makes it so that `CompilerInvocation` can be the only entity that manages
ownership of `HeaderSearchOptions`, making it possible to implement
copy-on-writ
https://github.com/topperc closed
https://github.com/llvm/llvm-project/pull/132529
___
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 72e596f35951e849de9fc739238e84ec1217b939
187c26f90800edf0b5335322025606e3779e344a --e
balazske wrote:
[This single
report](https://codechecker-demo.eastus.cloudapp.azure.com/Default/report-detail?run=qtbase_v6.2.0_fixedaddr_on_test&is-unique=off&diff-type=New&checker-name=alpha.core.FixedAddressDereference&report-hash=fda7750beaa79c7f9c602febcf9a7bb9&report-id=6953322&report-file
https://github.com/Meinersbur approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/132737
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -9337,6 +9337,11 @@ void LinkerWrapper::ConstructJob(Compilation &C, const
JobAction &JA,
CmdArgs.push_back(
Args.MakeArgString("--device-linker=" + TC.getTripleString() + "="
+
"-lclang_rt.builtins"));
+ bool HasFlan
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/132737
>From abf867e63c939e70916017e3abcabc5a947fb41e Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Mon, 24 Mar 2025 09:01:08 -0500
Subject: [PATCH 1/2] [Flang] Link `-lflang_rt.runtime` if available on the
device
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ryosuke Niwa (rniwa)
Changes
Recognize dynamic_objc_cast, checked_objc_cast, dynamic_cf_cast, and
checked_cf_cast.
---
Full diff: https://github.com/llvm/llvm-project/pull/132784.diff
5 Files Affected:
- (modified) clang/lib/StaticAnal
@@ -1657,6 +1657,10 @@ def err_omp_expected_colon : Error<"missing ':' in %0">;
def err_omp_missing_comma : Error< "missing ',' after %0">;
def err_omp_expected_context_selector
: Error<"expected valid context selector in %0">;
+def err_omp_unknown_clause
+: Error<"unkn
https://github.com/isuckatcs edited
https://github.com/llvm/llvm-project/pull/132579
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,15 @@
+// RUN: %clang_analyze_cc1 -std=c++20 %s
-analyzer-checker=core.NullDereference -analyzer-output=text -verify
+
+// expected-no-diagnostics
+
+struct S { int x; };
+
+void f(int x) { (void)x; }
+
+int main()
+{
+S s{42};
+auto& [x] = s;
+auto g = [x]
@@ -741,6 +750,28 @@ def QC_C_MILEAVERET : QCIRVInst16CI_NONE<0b10100,
"qc.c.mileaveret">;
} // Predicates = [HasVendorXqciint, IsRV32], hasSideEffects = 1
+let Predicates = [HasVendorXqciio, IsRV32] in {
+let hasSideEffects = 1, mayLoad = 0, mayStore = 0 in {
+ def QC_OU
https://github.com/isuckatcs requested changes to this pull request.
IIUC, the real issue is that we could only handle `VarDecl` that was captured
by a lambda, and nothing else, including the `BindingDecl`.
In this case the proper fix would be to make sure, every declaration is
correctly look
https://github.com/carlosgalvezp created
https://github.com/llvm/llvm-project/pull/132743
…(#128150)"
This was too aggressive, and leads to problems for downstream users:
https://github.com/llvm/llvm-project/pull/128150#issuecomment-2739803409
Let's revert and reland it once we have addressed
https://github.com/Xazax-hun approved this pull request.
https://github.com/llvm/llvm-project/pull/132743
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -94,8 +94,6 @@ Improvements to clang-tidy
- :program:`clang-tidy` no longer processes declarations from system headers
by default, greatly improving performance. This behavior is disabled if the
`SystemHeaders` option is enabled.
- Note: this may lead to false negatives
https://github.com/Xazax-hun edited
https://github.com/llvm/llvm-project/pull/132581
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-03-24T15:03:49+01:00
New Revision: f7aea4d081f77dba48b0fc019f59b678fb679aa8
URL:
https://github.com/llvm/llvm-project/commit/f7aea4d081f77dba48b0fc019f59b678fb679aa8
DIFF:
https://github.com/llvm/llvm-project/commit/f7aea4d081f77dba48b0fc019f59b678fb679aa8.diff
L
https://github.com/jhuber6 created
https://github.com/llvm/llvm-project/pull/132737
Summary:
Now that we can build the Fortran runtime on the GPU (mostly) we should
be able to implicitly link it if it exists. This matches the normal
behavior where it is included implicity. No tests because it
wo
https://github.com/Pierre-vh edited
https://github.com/llvm/llvm-project/pull/128509
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
CarlosAlbertoEnciso wrote:
> > Given the _vtable$ artificial member: use the DW_AT_containing_type to find
> > the vtable global variable.
>
> It seems to me that this attribute should refer to a type and not a variable.
Good point. Another option is to use `DW_AT_specification`.
```
0x00
https://github.com/flovent updated
https://github.com/llvm/llvm-project/pull/132581
>From 67ebfb00f7104e63b4a1464f6b015ba8bdea4cc6 Mon Sep 17 00:00:00 2001
From: flovent
Date: Sun, 23 Mar 2025 11:02:53 +0800
Subject: [PATCH 1/2] [clang][analyzer] Fix crash caused by overload operator
member fu
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Make sure we run each configuration once with the bytecode interpreter and once
with the current one. Add a triple to the one that was previously without.
---
Full diff: https://github.com/llvm/llvm-project/
@@ -2473,11 +2473,9 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned
BuiltinID, CallExpr *TheCall) {
break;
}
case Builtin::BI__builtin_hlsl_dot2add: {
-// Check number of arguments should be 3
if (SemaRef.checkArgCount(TheCall, 3))
return true;
-
https://github.com/offsetof created
https://github.com/llvm/llvm-project/pull/132778
CWG2815 "Overload resolution for references/pointers to `noexcept` functions"
>From 0aa1e7b83888bde7112327fba7db9bdcb71c43d9 Mon Sep 17 00:00:00 2001
From: offsetof
Date: Mon, 24 Mar 2025 16:28:28 +
Subjec
@@ -93,16 +96,20 @@ struct MissingFeatures {
static bool stackSaveOp() { return false; }
static bool aggValueSlot() { return false; }
static bool generateDebugInfo() { return false; }
+ static bool getFPFeaturesInEffect() { return false; }
+ static bool pointerOverflowS
github-actions[bot] wrote:
:warning: undef deprecator found issues in your code. :warning:
You can test this locally with the following command:
``bash
git diff -U0 --pickaxe-regex -S
'([^a-zA-Z0-9#_-]undef[^a-zA-Z0-9_-]|UndefValue::get)'
09feaa9261448e72ce21394613e0a12f84c1b8d9
https://github.com/RKSimon approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/132397
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mizvekov closed
https://github.com/llvm/llvm-project/pull/131966
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/131237
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/topperc approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/131996
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -453,11 +481,11 @@ BuiltinTypeMethodBuilder
&BuiltinTypeMethodBuilder::dereference(T Ptr) {
return *this;
}
-BuiltinTypeDeclBuilder &BuiltinTypeMethodBuilder::finalizeMethod() {
+BuiltinTypeDeclBuilder &BuiltinTypeMethodBuilder::finalize() {
assert(!DeclBuilder.Record
@@ -9615,7 +9615,7 @@ ModuleFile *ASTReader::getLocalModuleFile(ModuleFile &M,
unsigned ID) const {
// It's a prefix (preamble, PCH, ...). Look it up by index.
unsigned IndexFromEnd = ID >> 1;
assert(IndexFromEnd && "got reference to unknown module file");
-ret
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Kaitlin Peng (kmpeng)
Changes
Closes #99156.
Tasks completed:
- Implement `smoothstep` using HLSL source in `hlsl_intrinsics.h`
- Implement the `smoothstep` SPIR-V target built-in in
`clang/include/clang/Basic/BuiltinsSPIRV.td`
- Add sema
https://github.com/rj-jesus created
https://github.com/llvm/llvm-project/pull/132368
This patch adds support for the NVIDIA Olympus core.
This does not add any special tuning decisions, and those may come later.
>From b9725e115876f26311edd408b9d4521ae8a03ebd Mon Sep 17 00:00:00 2001
From: Rica
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/132885
Annotate the angles in `AB` as template opener/closer as it's unlikely
that they are less/greater-than operators in this context.
Fix #132248
>From 2f376c819aed998ee30fb007d3c151efb7762bc0 Mon Sep 17 00:00:00 2
https://github.com/ravurvi20 updated
https://github.com/llvm/llvm-project/pull/128640
>From 6ebd5991788608fbd104ea9c23230912044462d3 Mon Sep 17 00:00:00 2001
From: Urvi Rav
Date: Tue, 25 Feb 2025 00:49:07 -0600
Subject: [PATCH] default clause replaced by otherwise clause for metadirective
---
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Annotate the angles in `AB` as template opener/closer as it's
unlikely that they are less/greater-than operators in this context.
Fix #132248
---
Full diff: https://github.com/llvm/llvm-project/pu
https://github.com/koachan closed
https://github.com/llvm/llvm-project/pull/130108
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/topperc approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/132259
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
delcypher wrote:
@MaskRay So this is actually part of [my GSoc
proposal](https://discourse.llvm.org/t/clang-gsoc-2025-usability-improvements-for-trapping-undefined-behavior-sanitizer/84568/15?u=dan_liew).
There's an explanation in the discord post about why I believe it's the wrong
behavior. I
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
https://github.com/abdurj closed
https://github.com/llvm/llvm-project/pull/132880
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AustinSchuh created
https://github.com/llvm/llvm-project/pull/132883
This adds support for all the surface read and write calls to clang. It extends
the pattern used for textures to surfaces too.
I tested this by generating all the various permutations of the calls and
argu
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Austin Schuh (AustinSchuh)
Changes
This adds support for all the surface read and write calls to clang. It extends
the pattern used for textures to surfaces too.
I tested this by generating all the various permutations of the calls and
a
@@ -0,0 +1,5 @@
+// REQUIRES: systemz-registered-target
hubert-reinterpretcast wrote:
Should there be diagnostics (and corresponding testing) for ignored/meaningless
uses of `_Export`?
e.g.,
```cpp
typedef int _Export ty;
ty x;
int f(int _Export x);
static int
https://github.com/MaskRay closed
https://github.com/llvm/llvm-project/pull/132443
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MaskRay wrote:
NAK.
(LibraryPaths is primarily intended for compiler-rt libraries.)
Maintaining compatibility by itself isn’t sufficient, as each entry could
subtly shift library selection precedence, and the code here reflects a certain
level of upstream (llvm-project) preference. We should
@@ -0,0 +1,194 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++20 %s
+
+namespace A {
+template
+concept C = true;
+
+template
+requires C && C
+void f() {}
+
+template
+requires C && true
+void f() {}
+
+template <>
+void f();
+}
+
+namespace B {
+template
+concept A = t
AustinSchuh wrote:
@Artem-B I think you added texture support originally.
A lot of the language in that file is focused on just textures, not textures
and surfaces. I am happy to adjust that if that is desired. I figured a bit
ugly, working, and early feedback was preferable.
https://github
https://github.com/koplas updated
https://github.com/llvm/llvm-project/pull/132802
>From 2d143ca15476df04063e9e7e2c5fd1938c4f705b Mon Sep 17 00:00:00 2001
From: koplas
Date: Mon, 24 Mar 2025 19:20:52 +0100
Subject: [PATCH 1/2] [PATCH] [clang][modules] Fix serialization and
de-serialization of
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/132775
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-03-25T07:17:10+01:00
New Revision: bcedb368e317332d99dbdde617ebc35140b10de3
URL:
https://github.com/llvm/llvm-project/commit/bcedb368e317332d99dbdde617ebc35140b10de3
DIFF:
https://github.com/llvm/llvm-project/commit/bcedb368e317332d99dbdde617ebc35140b10de3.diff
L
wenju-he wrote:
@frasercrmck please help to merge, thanks. I don't have merge access.
https://github.com/llvm/llvm-project/pull/130882
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Sameer Sahasrabuddhe
Date: 2025-03-25T10:44:08+05:30
New Revision: f6a3cd54bc063efe522cc3df82fcadc86ac5a354
URL:
https://github.com/llvm/llvm-project/commit/f6a3cd54bc063efe522cc3df82fcadc86ac5a354
DIFF:
https://github.com/llvm/llvm-project/commit/f6a3cd54bc063efe522cc3df82fcadc86ac5a35
https://github.com/jsji created https://github.com/llvm/llvm-project/pull/132868
Fix error
llvm\clang\tools\amdgpu-arch\AMDGPUArchByHIP.cpp(102,29): error: result of
comparison of constant 18446744073709551615 with expression of type 'unsigned
int' is always false [-Werror,-Wtautological-const
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/132882
Fix #132334
>From 07947452a460c7e4ac3715ccc8c703595670c90a Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Mon, 24 Mar 2025 21:51:04 -0700
Subject: [PATCH] [clang-format] Correctly annotate requires clause in `&&
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Fix #132334
---
Full diff: https://github.com/llvm/llvm-project/pull/132882.diff
3 Files Affected:
- (modified) clang/lib/Format/UnwrappedLineParser.cpp (+5-3)
- (modified) clang/lib/Format/UnwrappedLin
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
github-actions[bot] wrote:
@koplas Congratulations on having your first Pull Request (PR) merged into the
LLVM Project!
Your changes will be combined with recent changes from other authors, then
tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a
problem with a build,
https://github.com/ChuanqiXu9 approved this pull request.
https://github.com/llvm/llvm-project/pull/132802
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 closed
https://github.com/llvm/llvm-project/pull/132802
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Bigcheese created
https://github.com/llvm/llvm-project/pull/132853
Instead of eagerly populating the `clang::ModuleMap` when looking up a module
by name, this patch changes `HeaderSearch` to only load the modules that are
actually used.
This introduces `ModuleMap::findOrLoa
Endilll wrote:
I was pointed out that there is a separate rule that constants are supposed to
be in `SCREAMING_CAPS` (https://peps.python.org/pep-0008/#constants). We
should've changed the names (`k` prefix is out of place anyway), but not to
`snake_case` as I implied.
https://github.com/llvm
spall wrote:
> For example, for `abs`, it still depends on the _HLSL_16BIT_AVAILABILITY
> availability attribute. Does this PR intend to keep abs overloads using half
> "unexposed"? Or should that overload for abs be exposed too?
Oh I see what you are referring to. That might be my mistake; le
farzonl wrote:
Are there any test changes we should consider here? If not could you prefix
`[NFC]` to the title?
https://github.com/llvm/llvm-project/pull/132804
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
Endilll wrote:
Sorry for the churn
https://github.com/llvm/llvm-project/pull/132378
___
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-driver
Author: Shilei Tian (shiltian)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/132814.diff
4 Files Affected:
- (modified) clang/include/clang/Basic/DiagnosticDriverKinds.td (-4)
- (modified) clang/lib/Driver/ToolChains
@@ -0,0 +1,32 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --version 5
jhuber6 wrote:
Move to normal `CodeGen`.
https://github.com/llvm/llvm-project/pull/129347
___
cfe-c
https://github.com/jhuber6 commented:
I'll defer to @arsenm for the final verdict.
https://github.com/llvm/llvm-project/pull/129347
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/offsetof updated
https://github.com/llvm/llvm-project/pull/132830
>From e458a6b79f560e803bdce414ea35f147ee4ce39d Mon Sep 17 00:00:00 2001
From: offsetof
Date: Mon, 24 Mar 2025 21:06:44 +
Subject: [PATCH 1/2] [clang] Fix overload resolution ranking of inherited
constructo
@@ -91,6 +91,137 @@ if.end: ; preds =
%if.else, %if.then
%3 = load i32, ptr %resp, align 4
ret i32 %3
}
+
+; CHECK: define i32 @flatten_switch(i32 %X)
+; CHECK-NOT: hlsl.controlflow.hint
+; CHECK: switch i32 %0, label %sw.epil
https://github.com/hekota edited
https://github.com/llvm/llvm-project/pull/131384
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -91,6 +91,137 @@ if.end: ; preds =
%if.else, %if.then
%3 = load i32, ptr %resp, align 4
ret i32 %3
}
+
+; CHECK: define i32 @flatten_switch(i32 %X)
+; CHECK-NOT: hlsl.controlflow.hint
+; CHECK: switch i32 %0, label %sw.epil
https://github.com/nico created https://github.com/llvm/llvm-project/pull/132834
None
>From ec8faf518af6384203c776fdd9928ef06e9b5be7 Mon Sep 17 00:00:00 2001
From: Nico Weber
Date: Mon, 24 Mar 2025 15:56:49 -0400
Subject: [PATCH] [clang] Upstream Mach-O ptrauth driver defaults
---
clang/lib/D
@@ -91,6 +91,137 @@ if.end: ; preds =
%if.else, %if.then
%3 = load i32, ptr %resp, align 4
ret i32 %3
}
+
+; CHECK: define i32 @flatten_switch(i32 %X)
+; CHECK-NOT: hlsl.controlflow.hint
+; CHECK: switch i32 %0, label %sw.epil
@@ -0,0 +1,14 @@
+// RUN: %clang_cc1 %s -verify -std=c++20
+
+namespace std {
+
+template // expected-error 2 {{type 'int' cannot be
used prior to '::' because it has no members}}
+class initializer_list;
+
+}
+
+auto x = {1}; // expected-note {{in instantiation of default argume
https://github.com/jansvoboda11 created
https://github.com/llvm/llvm-project/pull/132780
This makes it so that `CompilerInvocation` can be the only entity that manages
ownership of `HeaderSearchOptions`, making it possible to implement
copy-on-write semantics.
>From 4fe58f967f21c790c179d4c37e
https://github.com/shafik commented:
LGTM, thank you for adding this comment!
https://github.com/llvm/llvm-project/pull/132527
___
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: Ryosuke Niwa (rniwa)
Changes
This PR fixes the bug that we weren't generating warnings when a raw poiner is
used to point to a NS type in Objective-C ivars. Also fix the bug that we
weren't suppressing this warning in system headers.
---
https://github.com/joaosaffran approved this pull request.
Code LGTM
https://github.com/llvm/llvm-project/pull/132828
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -91,6 +91,137 @@ if.end: ; preds =
%if.else, %if.then
%3 = load i32, ptr %resp, align 4
ret i32 %3
}
+
+; CHECK: define i32 @flatten_switch(i32 %X)
+; CHECK-NOT: hlsl.controlflow.hint
+; CHECK: switch i32 %0, label %sw.epil
https://github.com/ojhunt edited
https://github.com/llvm/llvm-project/pull/113510
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1518,7 +1526,7 @@ NamedDecl *Sema::ActOnNonTypeTemplateParameter(Scope *S,
Declarator &D,
QualType T = CheckNonTypeTemplateParameterType(TInfo, D.getIdentifierLoc());
if (T.isNull()) {
-T = Context.IntTy; // Recover with an 'int' type.
+T = TInfo->getType();
-
https://github.com/joaosaffran deleted
https://github.com/llvm/llvm-project/pull/131739
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hekota closed
https://github.com/llvm/llvm-project/pull/131032
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/llvm-beanz approved this pull request.
https://github.com/llvm/llvm-project/pull/131739
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hekota updated
https://github.com/llvm/llvm-project/pull/131384
>From 7ebfc826ca27c71ef80f4a1b38b2d3a2e155b777 Mon Sep 17 00:00:00 2001
From: Helena Kotas
Date: Wed, 12 Mar 2025 14:09:24 -0700
Subject: [PATCH 1/5] [HLSL][NFC] Refactoring HLSLExternalSemaSource
Moving builder
201 - 300 of 486 matches
Mail list logo