llvm-project
llvm-project copied to clipboard
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
# Added documentation for optin.performance.Padding. - Performance package has `PaddingChecker` checker. - It checks for excessively padded structs. - It has one option that is `AllowedPad`, an integer option. -...
Hi Can clang enable -fPIE by itself? I found that when compiling with -fPIE enabled Clang and the EnableHotColdSplit optimization is enabled, Clang compiles the source file multiple times, and...
Some tests in `condition_variable_any` use two `shared_lock` to guard, which does not work. The fix is to make the writer to use `unique_lock`
Reading through [this page](https://llvm.org/docs/TypeMetadata.html) on the reference for type metadata. and two errors happen. first it says `declare void @g() !type !3` is invalid specifically > error: expected '=' here...
As described in the official doc [(Link)](https://clang.llvm.org/docs/ClangFormatStyleOptions.html), setting `AlignArrayOfStructures` to `Left` should result in: ```c++ struct test demo[] = { {56, 23, "hello"}, {-1, 93463, "world"}, {7, 5, "!!" }...
Change param names to recommended upper case format for static methods in CmpInst for consistency Implement suggestion from @dtcxzyw. cc @dtcxzyw @tschuett
Fixes: #84940
Since C++14 has been released for about nine years and most standard libraries have implemented sized deallocation functions, it's time to make this feature default again. This is another try...
demo.c ```c #include #include #include struct S1644 {struct{int a[0];}b;} ; struct S1644 s1644; void check1644va (int z, ...) { struct S1644 arg; va_list ap; __builtin_va_start(ap, z); arg = __builtin_va_arg(ap, struct...