@@ -1421,6 +1421,18 @@ def fhip_emit_relocatable : Flag<["-"],
"fhip-emit-relocatable">,
HelpText<"Compile HIP source to relocatable">;
def fno_hip_emit_relocatable : Flag<["-"], "fno-hip-emit-relocatable">,
HelpText<"Do not override toolchain to compile HIP source to relo
https://github.com/mgcarrasco edited
https://github.com/llvm/llvm-project/pull/162282
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -151,7 +151,6 @@ void g() {
for (int i = 0; i < 10; ++i) {
a[i] = i;
// CHECK-MESSAGES: :[[@LINE-1]]:5: warning: do not use array subscript
when the index is not an integer constant expression
-// CHECK-FIXES: gsl::at(a, i) = i;
gsl::at(a, i) = i; // OK,
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 origin/main HEAD --extensions c,cpp,h --
clang/test/Preprocessor/header-shadowing.c
https://github.com/andykaylor commented:
It's great to see function attribute support get started! This looks good
overall.
https://github.com/llvm/llvm-project/pull/162866
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org
sarnex wrote:
Will do.
https://github.com/llvm/llvm-project/pull/161905
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1801,6 +1817,16 @@ void cir::FuncOp::print(OpAsmPrinter &p) {
p << ")";
}
+ if (auto inlineKind = getInlineKind()) {
+if (*inlineKind == cir::InlineKind::NoInline) {
+ p << " inline_never";
+} else if (*inlineKind == cir::InlineKind::AlwaysInline) {
+
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Brad Smith (brad0)
Changes
After 07ca4db1e1f53876b14e5773e8b9d77c20774fca remove support
for really old and older Ubunutu releases.
---
Full diff: https://github.com/llvm/llvm-project/pull/162778.diff
2 Files Affected:
- (modifie
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/162474
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-aarch64-linux-bootstrap-hwasan` running on `sanitizer-buildbot12`
while building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/55/builds/18431
Here is the re
https://github.com/vitalybuka edited
https://github.com/llvm/llvm-project/pull/162303
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,84 @@
+// RUN: cir-opt %s --verify-roundtrip | FileCheck %s
+
+!u8i = !cir.int
+
+module {
+
+cir.global "private" constant external @_ZTIi : !cir.ptr
+cir.global "private" constant external @_ZTIPKc : !cir.ptr
+
+cir.func dso_local @empty_try_block_with_catch_all() {
+
@@ -1599,8 +1599,15 @@ def CUDAShared : InheritableAttr {
}
def : MutualExclusions<[CUDAConstant, CUDAShared, HIPManaged]>;
+def SYCLKernel : InheritableAttr {
+ let Spellings = [Clang<"sycl_kernel">];
+ let Subjects = SubjectList<[FunctionTmpl]>;
+ let LangOpts = [SYCLDevi
@@ -755,6 +755,12 @@ def BSwap : Builtin, Template<["unsigned short",
"uint32_t", "uint64_t"],
let Prototype = "T(T)";
}
+def BSwapg : Builtin {
+ let Spellings = ["__builtin_bswapg"];
+ let Attributes = [NoThrow, Const, Constexpr, CustomTypeChecking];
+ let Prototype =
cor3ntin wrote:
> hasNonTrivialDefaultConstructor
you can have
```cpp
template
class C {
C();
C() requires true;
};
```
But in the case of __builtin_is_implicit_lifetime we probably want to allow
that, actually...
https://github.com/llvm/llvm-project/pull/162612
__
15 matches
Mail list logo