llvm-project
llvm-project copied to clipboard
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
See https://reviews.llvm.org/D38636 This is still an issue, and the behaviour is quite inconsistent. When using `AlignArrayOfStructures: Left` or `AlignArrayOfStructures: Right`, it does put them each on one line, but using...
For clang-format version 15.0.1 .clang-format: ```config SpacesInLineCommentPrefix: Minimum: 1 Maximum: -1 ``` Original: ```cpp int main() { int a = 0; //dsa } ``` Excepted: ```cpp int main() { int...
Tried with top-of-tree as of `4ba360d499f6169d62a9535438b3cf34337ffc67`. But works with `lldb-14`. ```console $ cat nested.cpp template struct C {}; template struct S { template void method() {} }; template void free_function()...
Hi, we found a regression with some bpf code with patch https://reviews.llvm.org/D77804. ``` commit 69d5a038b90d3616a5c22d4e0e682aad4679758d Author: Simon Pilgrim Date: Thu Jul 28 14:10:44 2022 +0100 [DAG] Enable ISD::SRL SimplifyMultipleUseDemandedBits handling...
It seems cause infinite recursion when use -O3. godbolt: https://godbolt.org/z/ej1jEsT6W sourcecode: ``` #include int a() { int b, c; uint32_t d; for (;;) if (d + (d = 0 >=...
[lldb] Setting breakpoint by basename doesn't resolve if function name is a CPlusPlusParser keyword
Example program: ```console $ cat keyword.cpp template struct Foo { template void import() {} }; int main() { Foo f; f.import(); } $ ./bin/lldb a.out (lldb) target create "a.out" Current...
When building LLVM with MLIR enabled and using `LLVM_LINK_LLVM_DYLIB=ON`, I get a build failure in the linker: ```console [ 81%] Linking CXX executable ../../../../bin/tblgen-lsp-server.exe ld.lld: error: duplicate symbol: llvm::inconvertibleErrorCode() >>>...
Reproducer: https://godbolt.org/z/WhG6z5czo The ABI of coroutines require the layout of the coroutine frame to be: ``` struct coroutine_frame { void (*resume_fn)(); void (*destroy_fn)(); promise_type promise; ... // Other needed variables...
Got a crash after making a typo. Accidentally made a struct Specialization but the struct name was a already a concept name. I expect that it's not so big a...
With CodeChecker 6.20.0, self-compiled clang 15.0.1, enabled Z3 solver 4.11.2 on openldap branch OPENLDAP_REL_ENG_2_6, calling ```console > CodeChecker analyze ./compile_commands.json --ctu --z3=on --output ./reports ``` prints ```console [INFO 2022-10-03 10:00]...