[analyzer] Fix BuiltingFunctionChecker crash on large types (#174335)
Previously, if the result type was 'large' (at least 65 bits), then the
ASTContext::getIntTypeForBitwidth would return an empty QualType,
causing later a crash when we assume it's non-empty.
Instead of using this API, we could piggyback on the BigInt type to
formulate a "large enough" type for calculating the mathematically
correct result for the operation to check against.
Crash: https://godbolt.org/z/dGY3vh39a
```c++
void bigint(_BitInt(63) a, _BitInt(63) b) {
_BitInt(63) result = 0;
(void)__builtin_add_overflow(a, b, &result); // crashes here
}
```
Fixes #173795
rdar://166709144
[X86] Add test showing failure to make use of existing concatenated operands for profitable fadd concatenation (#174383)
Since we've already concatenated the fsqrt operands, we only need to concatenate the other fadd operand
dmarc-report-viewer: update to 2.3.1.
* Fixed issue #70 with incomplete command line help caused by new Docker health check feature
* Added failure filters to DMARC report details (implemented by @manufant)
* Updated Cargo dependencies
Revert "[ConstantInt] Disable implicit truncation in ConstantInt::get() (#171456)"
This reverts commit 47fc1dd90ed4fa7c806795fada77e8c7cdfd6760.
Causes assertion failures while building sanitizer libraries on
some buildbots.
[lldb][DWARF] Use actual DWARF format when computing header size (#173600)
The list table header size was always computed assuming `DWARF32`, even
when parsing `DWARF64` units. This results in an incorrect header size
for `DWARF64` and can cause mis-parsing of list tables.
Fix this by using the Dwarf Format from the form parameters instead of
always assuming `DWARF32` when computing the `DWARF` header size.
Update test for C++20 defaulting compilers after #173236 changed the expected diagnostic message. (#174377)
Change #173236 changed the emitted error message which caused the test
`clang/test/SemaCXX/typeid.cpp` to fail if tested with a compiler that
defaults to C++20 because the error message has changed. This change
updates the test to expect the correct error message depending on
whether the compiler defaults to C++20 or earlier.
mvc: introduce defaultConfig property for AppConfig
Related to testing there is a side effect from snatching the
default config.xml if no other configuration was found. We
want the tests to be independent of runtime so this is a first
step towards it. While here replace other uses of the default
file acquire and almost completely fix the permission issue
on default bootstrap.
(cherry picked from commit 7cbda13310bbcedba03b1893c8ef329f752d662b)
mvc: reduce some call overheaad.
When initiating large numbers of fields, nested methods have the tendency to consume quite some additional processing time.
This commit removes an extra constructor in IntegerField which was needed in a very old php version from when we started and only applies applyFilterChangeCase() when "ChangeCase" is set (which is very rare)
(cherry picked from commit bfeeb91a2341f4d5fb293edd1fbe303e39a5154c)