Tomas Matheson
Tomas Matheson
Running `./tools/build-pdfs.sh build` etc will generate directories owned by root, including `.sass-cache` and `_site`.
clang fails to diagnose non-constexpr function call in return statement of constexpr member function
Example: ```c++ struct A { int f() const; }; struct B { A a; constexpr int should_error_but_will_not() const { return a.f(); // gcc will error here, clang will not }...
```console $ llvm-readelf --arch-specific version.o File: myobj.b llvm-readelf: warning: 'version.o': attribute printing not implemented for big-endian ARM objects ```
[D152023](https://reviews.llvm.org/D152023) made calls to `__builtin_clz` and `__builtin_ctz` with input 0 to be undefined behaviour ([RFC here](https://discourse.llvm.org/t/should-ubsan-detect-0-input-to-builtin-clz-ctz-regardless-of-target/71060)). However we use them in the `arm-acle.h` to implement `__clz`: https://github.com/llvm/llvm-project/blob/c91246b71eec9fc1d4454ddcdc574733a699e190/clang/lib/Headers/arm_acle.h#L143 The [ACLE](https://github.com/ARM-software/acle/blob/main/main/acle.md#miscellaneous-data-processing-intrinsics) documentation...
https://godbolt.org/z/TYrzds3dT ```c++ #include std::atomic x; uint64_t y; void atomic() { uint64_t unused = x.load(std::memory_order_relaxed); } void nonatomic() { uint64_t unused = y; } ``` For `atomic()`, the load is generated...
Here's a demonstration of the problem I'm having while trying to set up CI: ```sh # Create a consumer -> dependency chain conan new dependency/1.0 --bare conan create . conan...
### What is your suggestion? For various reasons involving version ranges, we use `build_requires` and `tool_requires` rather than `requires` for our recipes. We also run the `conan install` before `conan...