-
i am using cmake for my project, but when i use clang to compile it gives me this error
Severity Code Description Project File Line Suppression State Details
Error unsafe buffer access [-Werror,-W…
-
Reproducer:
```c++
// clang++ -std=c++26 -fsyntax-only main.cpp
struct X {
constexpr auto ICE(int&& that)
noexcept(noexcept(
[that]() {}
));
};
```
Assertions:
```…
-
# Description
When I was compiling this IR with clang, I encountered this error. It seems to be right from a syntactic perspective, which is quite strange. From [half-precision-floating-point](https:…
-
Reproducer (See online compiler: https://godbolt.org/z/5srGToPG6)
```c++
// clang++ -std=c++26 main.cpp
template
struct lambda {
CallableT storage;
};
constexpr auto clang_ice(auto fun…
-
This came up during reduction of #96623.
Code (https://godbolt.org/z/Kjfnfdfns):
```cpp
template
struct allocator_traits;
template
struct allocator_traits {
template
static void co…
-
I'm trying to use Clang for my C++ project in Yocto. I've added the following to the recipe for my project:
```
TOOLCHAIN = "clang"
TC_CXX_RUNTIME = "llvm"
```
But I got an error during the con…
drula updated
2 months ago
-
```c++
struct X {
~X() = defaul;
};
struct Y : X {} y1{};
```
https://godbolt.org/z/877vsf8jb
```
:2:5: error: initializer on function does not look like a pure-specifier
2 | …
-
### Version
Yosys 0.39+4 (git sha1 3231c1cd9, clang++ 16.0.6 -fPIC -Os)
### On which OS did this happen?
Linux
### Reproduction Steps
This zip file contains the full dut.cpp from `write_cxxrtl`, …
-
### Description:
The following code causes a crash in clang++.
Also ICE on trunk, compiler explorer:https://godbolt.org/z/a1YeKdsEW
### OS and Platform:
```
# uname -a
Linux ubuntu 4.15.0-21…
-
I compiled a file on a new set-up raspberry pi Zero W. The library compiled many times before - even on the same raspberry pi. Please find the output below, the two requested files are [attached.]([fk…