@@ -10,11 +10,229 @@ using FourI128VecSize __attribute__((vector_size(64))) =
__int128;
using FourCharsExtVec __attribute__((ext_vector_type(4))) = char;
using FourIntsExtVec __attribute__((ext_vector_type(4))) = int;
+using FourLongLongsExtVec __attribute__((ext_vector_type(
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
They aren't allowed here either.
---
Full diff: https://github.com/llvm/llvm-project/pull/109515.diff
2 Files Affected:
- (modified) clang/lib/AST/ByteCode/Interp.cpp (+2)
- (modified) clang/test/CodeGenC
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/109515
They aren't allowed here either.
>From bc5bbba9c0ab2aa19172d45b2fad628ec531bb8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 21 Sep 2024 08:28:52 +0200
Subject: [PATCH] [clang][bytec
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/109331
>From 6d40fb810312b41d4ec4e10dba2f55e7e0625953 Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Thu, 19 Sep 2024 00:13:51 +
Subject: [PATCH] adding clang codegen
---
clang/include/clang/Basic/Builtins
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/109331
>From 7bdad6254a6a5bc763ebcbb120f7ad73f598cb7d Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Thu, 19 Sep 2024 00:13:51 +
Subject: [PATCH] adding clang codegen
---
clang/include/clang/Basic/Builtins
c8ef wrote:
> But that function _does_ have a return statement after the loop?
I assumed that the entire function body was enclosed within the `while(true)`
loop?
https://github.com/llvm/llvm-project/pull/109298
___
cfe-commits mailing list
cfe-commi
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-s390x-linux-lnt`
running on `systemz-1` while building `clang-tools-extra,clang` at step 7
"ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/136/builds/972
Here is the relevant p
c8ef wrote:
Or we can simply return `TPResult::Ambiguous`, as many functions in this file
do.
https://github.com/llvm/llvm-project/pull/109298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-
peilin-ye wrote:
@eddyz87,
Thanks! I didn't know about `XXXISelLowering.cpp`.
> But there should be a way to tweak existing `fail` function to stop after
> errors are reported.
Can we `exit(1)` ? :-)
`fail()` calls `LLVMContext::diagnose()`, which already `exit(1)` when there's
no "report
tbaederr wrote:
But that function _does_ have a return statement after the loop?
https://github.com/llvm/llvm-project/pull/109298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Na
c8ef wrote:
> I'm only worried about the missing return at the end of the function - maybe
> there should be a `llvm_unreachable` here to silence compilers, even if that
> control flow is not possible.
https://github.com/llvm/llvm-project/blob/21594f2793da5d2e1d1cd6714bfa10e742f2e526/clang/lib
@@ -774,18 +774,27 @@ class buffer_unique_ostream : public raw_svector_ostream {
// you can use
// OS << indent(6) << "more stuff";
// which has better ergonomics (and clang-formats better as well).
+//
+// If indentation is always in increments of a fixed value, you can use Sc
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/109478
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tbaederr wrote:
Yeah the behavior is not the same. The original code only parsed `ident[,]` in
the loop, since the `continue` ended the loop anyway.
The comment above the function reads:
```
/// [ObjC] protocol-qualifiers:
'<' identifier-list '>'
```
So the assumption is that this
llvmbot wrote:
@llvm/pr-subscribers-llvm-support
Author: Rahul Joshi (jurahul)
Changes
Scaled indent is useful when indentation is always in steps of a fixed number
(the Scale) and still allow using the +/- operators to adjust indentation.
---
Full diff: https://github.com/llvm/llvm-proj
https://github.com/jurahul ready_for_review
https://github.com/llvm/llvm-project/pull/109478
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tomasz-kaminski-sonarsource wrote:
The correct link is https://github.com/llvm/llvm-project/commit/97af17c5. The
commit id remains the same.
https://github.com/llvm/llvm-project/pull/109470
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https
https://github.com/tomasz-kaminski-sonarsource edited
https://github.com/llvm/llvm-project/pull/109470
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tomasz-kaminski-sonarsource updated
https://github.com/llvm/llvm-project/pull/109470
>From 6ff9964b7180cc9279c2742b14f69cc966a027a1 Mon Sep 17 00:00:00 2001
From: Tomasz Kaminski
Date: Fri, 20 Sep 2024 17:21:33 +0200
Subject: [PATCH] [C++20][Modules] Restore inliness of const
https://github.com/ziqingluo-90 updated
https://github.com/llvm/llvm-project/pull/109496
>From e7f7f82b25eaae86623ac8f47731892b3b629d7d Mon Sep 17 00:00:00 2001
From: Ziqing Luo
Date: Fri, 20 Sep 2024 16:27:09 -0700
Subject: [PATCH 1/4] [-Wunsafe-buffer-usage] Fix a bug and suppress libc
warni
Author: Christian Kandeler
Date: 2024-09-20T23:54:20-04:00
New Revision: 0659fd996784cbc2b11379380a03633fa80f7816
URL:
https://github.com/llvm/llvm-project/commit/0659fd996784cbc2b11379380a03633fa80f7816
DIFF:
https://github.com/llvm/llvm-project/commit/0659fd996784cbc2b11379380a03633fa80f7816.
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/67802
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 approved this pull request.
Thanks! The patch looks good to me. And the index size measurements reported in
[this
comment](https://github.com/llvm/llvm-project/pull/67802#issuecomment-1923778262)
look good as well, thank you for taking them.
https://github.co
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/109229
>From 84c166dfabc3f314cd922baa3933b3d0ea11e08e Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Wed, 18 Sep 2024 21:03:24 -0700
Subject: [PATCH] [clang-format] Annotate the l_paren of function pointer types
Fixes #
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/109507.diff
1 Files Affected:
- (modified) clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp (+1-2)
``diff
diff --git a/cl
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/109508.diff
1 Files Affected:
- (modified) clang-tools-extra/modularize/Modularize.cpp (+4-6)
``diff
diff --git a/clan
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/109508
None
>From d50b829fd1277736b7e65886879fcfe9a45714f2 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Fri, 20 Sep 2024 13:31:12 -0700
Subject: [PATCH] [modularize] Avoid repeated hash lookups (NFC)
---
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/109507
None
>From a08161a8308d724e7cf41ee0f603321ee6a121d4 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Fri, 20 Sep 2024 13:32:54 -0700
Subject: [PATCH] [clang-offload-bundler] Avoid repeated hash lookups (
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/109469
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2024-09-20T20:32:23-07:00
New Revision: 68849a878858f981e19c5a664310e0ff059f27e7
URL:
https://github.com/llvm/llvm-project/commit/68849a878858f981e19c5a664310e0ff059f27e7
DIFF:
https://github.com/llvm/llvm-project/commit/68849a878858f981e19c5a664310e0ff059f27e7.diff
L
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Fixes #109371.
---
Full diff: https://github.com/llvm/llvm-project/pull/109505.diff
2 Files Affected:
- (modified) clang/lib/Format/TokenAnnotator.cpp (+16-9)
- (modified) clang/unittests/Format/TokenAn
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/109505
Fixes #109371.
>From 192deb4adc9f7e77167a02c060eef8c91932b912 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Fri, 20 Sep 2024 20:28:31 -0700
Subject: [PATCH] [clang-format] Correctly annotate */& in if condition
@@ -784,12 +786,12 @@ AST_MATCHER_P(CallExpr, hasUnsafePrintfStringArg,
return false; // possibly some user-defined printf function
ASTContext &Ctx = Finder->getASTContext();
- QualType FristParmTy = FD->getParamDecl(0)->getType();
+ QualType FirstParmTy = FD->getParam
https://github.com/ziqingluo-90 updated
https://github.com/llvm/llvm-project/pull/109496
>From e7f7f82b25eaae86623ac8f47731892b3b629d7d Mon Sep 17 00:00:00 2001
From: Ziqing Luo
Date: Fri, 20 Sep 2024 16:27:09 -0700
Subject: [PATCH 1/3] [-Wunsafe-buffer-usage] Fix a bug and suppress libc
warni
https://github.com/dtcxzyw approved this pull request.
Nice catch!
https://github.com/llvm/llvm-project/pull/109277
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -784,12 +786,12 @@ AST_MATCHER_P(CallExpr, hasUnsafePrintfStringArg,
return false; // possibly some user-defined printf function
ASTContext &Ctx = Finder->getASTContext();
- QualType FristParmTy = FD->getParamDecl(0)->getType();
+ QualType FirstParmTy = FD->getParam
https://github.com/haoNoQ approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/109496
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/haoNoQ edited
https://github.com/llvm/llvm-project/pull/109496
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jkorous-apple approved this pull request.
Left some comments but LGTM.
https://github.com/llvm/llvm-project/pull/109496
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
https://github.com/jkorous-apple edited
https://github.com/llvm/llvm-project/pull/109496
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2549,6 +2549,7 @@ void clang::sema::AnalysisBasedWarnings::IssueWarnings(
DiagnosticOptions &DiagOpts = Diags.getDiagnosticOptions();
// UnsafeBufferUsage analysis settings.
+ bool IsCXXLang = S.getLangOpts().CPlusPlus;
jkorous-apple wrote:
Nit: it d
@@ -250,7 +250,9 @@ AST_MATCHER_P(Stmt, ignoreUnsafeBufferInContainer,
AST_MATCHER_P(Stmt, ignoreUnsafeLibcCall, const UnsafeBufferUsageHandler *,
Handler) {
- return Handler->ignoreUnsafeBufferInLibcCall(Node.getBeginLoc());
+ if (Finder->getASTContext().getLa
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 -Wunsafe-buffer-usage %s -verify %s
jkorous-apple wrote:
FWIW the language mode is set via `-x` command line option. It is only inferred
from the file extension if it's missing.
https://github.com/llvm/llvm-project/pull/10949
shafik wrote:
CC @tbaederr this does not look like equivalent code to me based on your
original isue but maybe I am confused.
https://github.com/llvm/llvm-project/pull/109298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.o
https://github.com/ziqingluo-90 updated
https://github.com/llvm/llvm-project/pull/109496
>From e7f7f82b25eaae86623ac8f47731892b3b629d7d Mon Sep 17 00:00:00 2001
From: Ziqing Luo
Date: Fri, 20 Sep 2024 16:27:09 -0700
Subject: [PATCH 1/2] [-Wunsafe-buffer-usage] Fix a bug and suppress libc
warni
@@ -753,13 +753,7 @@ CodeGenTypes::arrangeCall(const CGFunctionInfo &signature,
signature.getRequiredArgs());
}
-namespace clang {
-namespace CodeGen {
-void computeSPIRKernelABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI);
-}
-}
--
@@ -753,13 +753,7 @@ CodeGenTypes::arrangeCall(const CGFunctionInfo &signature,
signature.getRequiredArgs());
}
-namespace clang {
-namespace CodeGen {
-void computeSPIRKernelABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI);
-}
-}
-
-/// Arrange
https://github.com/ilovepi edited
https://github.com/llvm/llvm-project/pull/109431
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ilovepi approved this pull request.
LGTM, modulo the unrelated bits. Those should be handled separately.
https://github.com/llvm/llvm-project/pull/109431
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/
@@ -22,6 +22,9 @@
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h"
+namespace llvm {
+extern cl::opt EnableSingleByteCoverage;
+} // namespace llvm
ilovepi wrote:
This seems like an unrelated change.
https://github.com/llvm/llvm-pr
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/109370
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Owen Pan
Date: 2024-09-20T18:13:21-07:00
New Revision: c28e268c32a6840d08e3a4dbc9eeb8a0f564d6c0
URL:
https://github.com/llvm/llvm-project/commit/c28e268c32a6840d08e3a4dbc9eeb8a0f564d6c0
DIFF:
https://github.com/llvm/llvm-project/commit/c28e268c32a6840d08e3a4dbc9eeb8a0f564d6c0.diff
LOG:
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/109361
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Owen Pan
Date: 2024-09-20T18:12:09-07:00
New Revision: 4fd14b9a3afb2ab34dfaa3bc4ed86e82122507be
URL:
https://github.com/llvm/llvm-project/commit/4fd14b9a3afb2ab34dfaa3bc4ed86e82122507be
DIFF:
https://github.com/llvm/llvm-project/commit/4fd14b9a3afb2ab34dfaa3bc4ed86e82122507be.diff
LOG:
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/109331
>From 6e2330d95c0833e36cbf0c8532e11873cadfe898 Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Thu, 19 Sep 2024 00:13:51 +
Subject: [PATCH] adding clang codegen
---
clang/include/clang/Basic/Builtins
https://github.com/hnrklssn commented:
You may want to add some tests with annotated pointers to verify that you treat
them correctly, e.g. `_Nullable`
https://github.com/llvm/llvm-project/pull/109496
___
cfe-commits mailing list
cfe-commits@lists.ll
@@ -789,7 +791,7 @@ AST_MATCHER_P(CallExpr, hasUnsafePrintfStringArg,
if (!FristParmTy->isPointerType())
return false; // possibly some user-defined printf function
- QualType FirstPteTy = (cast(FristParmTy))->getPointeeType();
+ QualType FirstPteTy = FristParmTy->getA
https://github.com/hnrklssn edited
https://github.com/llvm/llvm-project/pull/109496
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/109331
>From 3331a54b0ff5f257494e501e5d0533f657987162 Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Thu, 19 Sep 2024 00:13:51 +
Subject: [PATCH] adding clang codegen
---
clang/include/clang/Basic/Builtins
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/109331
>From 506204b2514af0a0cae8cc2a42d0c04b137c9105 Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Thu, 19 Sep 2024 00:13:51 +
Subject: [PATCH] adding clang codegen
---
clang/include/clang/Basic/Builtins
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/109331
>From 7493fc50beae8223e6ba83a1b2fcc8e14d31b352 Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Thu, 19 Sep 2024 00:13:51 +
Subject: [PATCH] adding clang codegen
---
clang/include/clang/Basic/Builtins
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/109331
>From 75742cb797f5ba34c6746941c9197de55b685a36 Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Thu, 19 Sep 2024 00:13:51 +
Subject: [PATCH] adding clang codegen
---
clang/include/clang/Basic/Builtins
https://github.com/ziqingluo-90 updated
https://github.com/llvm/llvm-project/pull/109496
>From e7f7f82b25eaae86623ac8f47731892b3b629d7d Mon Sep 17 00:00:00 2001
From: Ziqing Luo
Date: Fri, 20 Sep 2024 16:27:09 -0700
Subject: [PATCH] [-Wunsafe-buffer-usage] Fix a bug and suppress libc warnings
xedin wrote:
I addressed most of the comments. A few points to add:
- I'm not sure what to make of the comment regarding templates if somebody
could point me to the right direction I can make appropriate changes
- I'd need some guidance regarding release note
- I'd prefer to keep AttributedType
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/109331
>From 3d29a9c6a1339b03b0a3847163e27c4afc2de5d7 Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Thu, 19 Sep 2024 00:13:51 +
Subject: [PATCH] adding clang codegen
---
clang/include/clang/Basic/Builtins
@@ -6037,13 +6038,24 @@ class AttributedType : public Type, public
llvm::FoldingSetNode {
private:
friend class ASTContext; // ASTContext creates these
+ const Attr *Attribute;
+
QualType ModifiedType;
QualType EquivalentType;
AttributedType(QualType canon, attr
@@ -7163,7 +7217,8 @@ static QualType
rebuildAttributedTypeWithoutNullability(ASTContext &Ctx,
Ctx, Attributed->getModifiedType());
assert(Modified.getTypePtr() != Attributed->getModifiedType().getTypePtr());
return Ctx.getAttributedType(Attributed->getAttrKind(), Mo
@@ -8732,6 +8786,11 @@ static void processTypeAttrs(TypeProcessingState &state,
QualType &type,
case ParsedAttr::AT_HLSLParamModifier: {
HandleHLSLParamModifierAttr(state, type, attr, state.getSema());
attr.setUsedAsTypeAttr();
+ break;
+
@@ -5125,24 +5127,54 @@ QualType ASTContext::getUnresolvedUsingType(
QualType ASTContext::getAttributedType(attr::Kind attrKind,
QualType modifiedType,
- QualType equivalentType) const {
+
https://github.com/xedin updated
https://github.com/llvm/llvm-project/pull/108631
>From bd447428181ec9ab38679625fd3b3b422eb18446 Mon Sep 17 00:00:00 2001
From: Pavel Yaskevich
Date: Wed, 20 Dec 2023 14:04:22 -0800
Subject: [PATCH] [clang/AST] Make it possible to use SwiftAttr in type context
S
efriedma-quic wrote:
Yes, that makes sense, thanks.
https://github.com/llvm/llvm-project/pull/109277
___
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-format
Author: None (JessehMSFT)
Changes
There are two primary scenarios where our team uses block comments in function
declarations.
1. To comment out unused parameters
2. To provide additional context when passing an unnamed parameter
Clang-fo
https://github.com/JessehMSFT ready_for_review
https://github.com/llvm/llvm-project/pull/109497
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/JessehMSFT updated
https://github.com/llvm/llvm-project/pull/109497
>From 38333491868dfad9c84719d9dd8fd872a2aa7584 Mon Sep 17 00:00:00 2001
From: Jesse Harvey
Date: Fri, 20 Sep 2024 16:40:35 -0700
Subject: [PATCH] Add support for aligning BlockComments in declarations
---
c
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/JessehMSFT created
https://github.com/llvm/llvm-project/pull/109497
There are two primary scenarios where our team uses block comments in function
declarations.
1. To comment out unused parameters
2. To provide additional context when passing an unnamed parameter
Clang-form
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ziqing Luo (ziqingluo-90)
Changes
- Fix a bug in UnsafeBufferUsage.cpp related to casting to PointerType (report
by @hnrklssn
[here](https://github.com/llvm/llvm-project/pull/101583#discussion_r1767705992))
- Suppress -Wunsafe-buffer-usag
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: Ziqing Luo (ziqingluo-90)
Changes
- Fix a bug in UnsafeBufferUsage.cpp related to casting to PointerType (report
by @hnrklssn
[here](https://github.com/llvm/llvm-project/pull/101583#discussion_r1767705992))
- Suppress -Wunsafe-bu
https://github.com/ziqingluo-90 created
https://github.com/llvm/llvm-project/pull/109496
- Fix a bug in UnsafeBufferUsage.cpp related to casting to PointerType (report
by @hnrklssn
[here](https://github.com/llvm/llvm-project/pull/101583#discussion_r1767705992))
- Suppress -Wunsafe-buffer-usage
@@ -7147,6 +7147,60 @@ static bool
HandleWebAssemblyFuncrefAttr(TypeProcessingState &State,
return false;
}
+static void HandleSwiftAttr(TypeProcessingState &State, TypeAttrLocation TAL,
+QualType &QT, ParsedAttr &PAttr) {
+ if (TAL == TAL_DeclN
augusto2112 wrote:
@dwblaikie @AaronBallman this is the "debug_transparent" patch that I opened
last year but didn't get around to finish implementing
(https://reviews.llvm.org/D146595).
The current version addresses the comments left in the phabricator review:
- Changed the name from debug_tr
@@ -6037,13 +6038,24 @@ class AttributedType : public Type, public
llvm::FoldingSetNode {
private:
friend class ASTContext; // ASTContext creates these
+ const Attr *Attribute;
+
QualType ModifiedType;
QualType EquivalentType;
AttributedType(QualType canon, attr
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Augusto Noronha (augusto2112)
Changes
The `debug_transparent` attribute is intended as a hint for debuggers that this
function itself is not interesting, but it calls a function that might be. So,
when stepping in arrives at a fu
https://github.com/augusto2112 created
https://github.com/llvm/llvm-project/pull/109490
The `debug_transparent` attribute is intended as a hint for debuggers that this
function itself is not interesting, but it calls a function that might be. So,
when stepping in arrives at a function with th
https://github.com/shafik commented:
The link you gave for the regression is not a llvm commit, is that the correct
commit you meant to point to?
https://github.com/llvm/llvm-project/pull/109470
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://github.com/HerrCai0907 edited
https://github.com/llvm/llvm-project/pull/109436
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HerrCai0907 updated
https://github.com/llvm/llvm-project/pull/109436
>From 011a64ce5d228bc8945f719f37350a9c6663e283 Mon Sep 17 00:00:00 2001
From: Congcong Cai
Date: Sat, 21 Sep 2024 07:06:06 +0800
Subject: [PATCH] add static
---
clang/lib/Sema/SemaDecl.cpp | 2 +-
clang/l
@@ -0,0 +1,82 @@
+//===--- SYCL.h - SYCL ToolChain Implementations *- 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
@@ -0,0 +1,77 @@
+///
+/// Perform several driver tests for SYCL offloading for JIT
+///
+
+/// Check the phases graph with -fsycl. Use of -fsycl enables offload
+// RUN: %clang -ccc-print-phases --target=x86_64-unknown-linux-gnu \
+// RUN: -fsycl %s 2>&1 \
+// RUN: | FileCheck
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/109180
>From 3c58861f3e8c2f1333d0b36c6f5b7ba7f3d9e187 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Wed, 18 Sep 2024 12:20:19 -0700
Subject: [PATCH 1/3] add cross hlsl function
---
clang/include/clang/Basic/Bu
MaskRay wrote:
> > Just to be certain: the revised version of the patch is ok to commit?
>
> I think it would be good to get an ACK from at least one of the SPARC Leon
> maintainers.
>
> CC @andreas-gaisler
Thanks for informing the maintainer. Note: this is done as a courtesy. When we
bump a
@@ -0,0 +1,24 @@
+// The -time option prints timing information for the various subcommands in a
+// format similar to that used by gcc. When compiling and linking, this will
+// include the time to call clang-${LLVM_VERSION_MAJOR} and the linker. Since
+// the name of the linker
github-actions[bot] wrote:
@oracle-9 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/5chmidti closed
https://github.com/llvm/llvm-project/pull/107711
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Afonso Faria
Date: 2024-09-21T00:23:17+02:00
New Revision: c24418ad914c64c78facb1bb77951b161448fcc0
URL:
https://github.com/llvm/llvm-project/commit/c24418ad914c64c78facb1bb77951b161448fcc0
DIFF:
https://github.com/llvm/llvm-project/commit/c24418ad914c64c78facb1bb77951b161448fcc0.diff
@@ -0,0 +1,24 @@
+// The -time option prints timing information for the various subcommands in a
+// format similar to that used by gcc. When compiling and linking, this will
+// include the time to call clang-${LLVM_VERSION_MAJOR} and the linker. Since
+// the name of the linker
https://github.com/llvm-beanz updated
https://github.com/llvm/llvm-project/pull/108659
>From 9a3660e32da5e3829d2167ae7d160e4f973a9e33 Mon Sep 17 00:00:00 2001
From: Chris Bieneman
Date: Fri, 30 Aug 2024 18:40:43 -0500
Subject: [PATCH 1/2] [HLSL] Vector Usual Arithmetic Conversions
HLSL has a d
@@ -1704,6 +1704,20 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned
BuiltinID, CallExpr *TheCall) {
return true;
break;
}
+ case Builtin::BI__builtin_hlsl_cross: {
+if (SemaRef.checkArgCount(TheCall, 2))
+ return true;
+if (CheckVectorElementCallA
kyulee-com wrote:
Could someone please take another look? Thanks!
https://github.com/llvm/llvm-project/pull/90933
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 473 matches
Mail list logo