llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

Results 700 llvm-project issues
Sort by recently updated
recently updated
newest added

This comes from https://github.com/llvm/llvm-project/issues/63530. I file this to track the issue in the compiler side. Reproducer: ```C++ // RUN: rm -rf %t // RUN: mkdir -p %t // RUN: split-file...

clang:modules

Consider this header `stdio.h`: ```cpp // exists so it can be put in a modulemap... #include_next // and also so we can mark a few things nodiscard [[nodiscard]] FILE* tmpfile();...

libclang

testcase ```c #include extern int printf(const char *format, ...); int main() { printf("Hello World\n"); return 0; } ``` ```bash clang -O2 -D_FORTIFY_SOURCE=2 test_1.c ``` output: ``` extern int printf(const char...

new issue

```cpp #include class A { public: A() {} virtual ~A() {} virtual void f(const std::string &a, const char b[], const std::size_t c); }; class B : public A { public:...

clang-tidy

```ll define i32 @foo(i1 signext noundef %cond, i32 noundef %y) { %e = zext i1 %cond to i32 %r = sub i32 %y, %e ret i32 %r } ``` Compiling...

backend:WebAssembly

Getting the following on latest trunk: ```cpp #include struct Foo { void l(); }; ``` ```console [source>:5:10: warning: 'l' is confusable with 'I' [misc-confusable-identifiers]] void l(); ^ /opt/compiler-explorer/libs/googletest/trunk/googletest/include/gtest/internal/gtest-param-util.h:842:23: note: other...

clang-tidy
false-positive

Same build of llvm as #59063, just with libc++. https://github.com/Trass3r/llvm-project/actions/runs/3652405070/jobs/6170757099 https://github.com/Trass3r/llvm-project/blob/64a7e047880c0c7211be9db740deb1ac4949a545/.github/workflows/CI.yml#L146-L163 ```console Error: ld.lld: error: undefined symbol: clang::ast_matchers::internal::DynTypedMatcher::matches(clang::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const ```

clang:modules

The testcase (compiled with: `clang -fopenmp-simd small.c`): ``` int *a, b; void c(void) { #pragma omp task depend(iterator(int *d = 23 : a), in : b) } ``` Compiler Explorer:...

clang:frontend
crash

The testcase (compiled with: `clang small.c`): ``` __attribute__((target_clones("arch=core-avx2", "arch=slm", "default"))) void foo(void) {} ``` Compiler Explorer: https://gcc.godbolt.org/z/xn6KrTcor Compiler version: ``` clang version 17.0.0 (https://github.com/llvm/llvm-project.git 12e9c7aaa66b7624b5d7666ce2794d912bf9e4b7) Target: x86_64-unknown-linux-gnu Thread model: posix...

clang:codegen
crash