- Dec 10, 2023
-
-
Justin Bogner authored
Created using spr 1.3.5-bogner
-
Nathan Sidwell authored
Created using spr 1.3.5-bogner [skip ci]
-
Nathan Sidwell authored
Query the executable for address size.
-
Craig Topper authored
These names are never used so just waste a lot of memory. If do need them ever, it would be better to store pointers to the StringMapEntry objects that store the same strings.
-
Justin Bogner authored
Pull Request: https://github.com/llvm/llvm-project/pull/74896
-
Kiran Chandramohan authored
-
- Dec 09, 2023
-
-
Nathan Sidwell authored
An 8 bit bitfield should not have a preferred type of bool.
-
Mark de Wever authored
This fixes a clang-tidy diagnostic when building libc++ with RTTI disabled. This was originally part of #65518.
-
Richard Dzenis authored
Fixes regression introduced in b3e6ff33 Fixes bot failure https://lab.llvm.org/buildbot/#/builders/60/builds/15037 ``` .---command stderr------------ | error: 'supported-warning' diagnostics seen but not expected: | File C:\buildbot\as-builder-1\x-armv7l\llvm-project\clang\test\SemaCXX\ms-constexpr-new.cpp Line 7: '__cdecl' calling convention is not supported for this target | 1 error generated. `----------------------------- ```
-
Mark de Wever authored
This adds the std.compat module. The patch contains a bit of refactoring to avoid code duplication between the std and std.compat module. Implements parts of - P2465R3 Standard Library Modules std and std.compat
-
Benjamin Maxwell authored
-
Mark de Wever authored
This change requires quite a number of changes in the tests; this is not code I expect people to use in the wild. So I don't expect breakage for users. Implements: - P2905R2 Runtime format strings, as a Defect Report
-
Jie Fu authored
llvm-project/clang/lib/AST/ExprConstant.cpp:5645:74: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses] 5645 | (Definition->isConstexpr() || Info.CurrentCall->CanEvalMSConstexpr && | ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 5646 | Definition->hasAttr<MSConstexprAttr>())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ llvm-project/clang/lib/AST/ExprConstant.cpp:5645:74: note: place parentheses around the '&&' expression to silence this warning 5645 | (Definition->isConstexpr() || Info.CurrentCall->CanEvalMSConstexpr && | ^ | ( 5646 | Definition->hasAttr<MSConstexprAttr>())) | | ) 1 error generated. -
Benjamin Kramer authored
-
Richard Dzenis authored
This commit introduces support for the MSVC-specific C++11-style attribute `[[msvc::constexpr]]`, which was introduced in MSVC 14.33. The semantics of this attribute are enabled only under MSVC compatibility (`-fms-compatibility-version`) 14.33 and higher. Additionally, the default value of `_MSC_VER` has been raised to 1433. The current implementation lacks support for: - `[[msvc::constexpr]]` constructors (see #72149); at the time of this implementation, such support would have required an unreasonable number of changes in Clang. - `[[msvc::constexpr]] return ::new` (constexpr placement new) from non-std namespaces (see #74924). Relevant to: #57696
-
Jay Foad authored
-
Justin Bogner authored
Created using spr 1.3.5
-
Justin Bogner authored
Created using spr 1.3.5 [skip ci]
-
Vlad Serebrennikov authored
This patch continues the work started with ea5b1ef0. See that commit and its corresponding PR for details.
-
Yingwei Zheng authored
Alive2: https://alive2.llvm.org/ce/z/38KiC_
-
Vlad Serebrennikov authored
-
Brad Smith authored
Invert the logic and choose the ELF path by default as a fallback. Move check for Darwin to the top.
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Craig Topper authored
These both do the same thing, but some profiling on a Releast+Asserts build suggests isRVVSizelessBuiltinType() is the more efficient version so lets keep that one.
-
Jan Svoboda authored
-
Jan Svoboda authored
-
Jan Svoboda authored
-
Florian Mayer authored
-
Lang Hames authored
MachOPlatformRuntimeState::lookupSymbols encapsulates the approach used in dlsym in bb41fc68, but generalizes it to multiple symbols: 1. try to resolve symbols locally 2. issue a push-request for any unresolved symbols 3. re-try local resolution In the future lookupSymbols can serve as the basis for a public bulk lookup API in the ORC runtime.
-
Jan Svoboda authored
AFAICT, `ModuleFile::File` can be `std::nullopt` only for PCM files loaded from the standard input. This patch starts setting that variable to `FileManager::getSTDIN()` in that case, which makes it possible to remove the optionality, and also simplifies code that actually reads the file. This is part of an effort to get rid of `Optional{File,Directory}EntryRefDegradesTo{File,Directory}EntryPtr`. -
Justin Bogner authored
Created using spr 1.3.5
-
Justin Bogner authored
Created using spr 1.3.5 [skip ci]
-
Justin Bogner authored
-
Owen Pan authored
-
Fangrui Song authored
-
Alexey Bataev authored
Tries to simplify structural complexity of the findReusedOrderedScalars function.
-
Raghu Maddhipatla authored
[Flang][OpenMP][Semantics] Modify errors to warnings for semantic checks in IS_DEVICE_PTR related to list-items being dummy arguments. (#74370) Changed semantic check from giving error to giving a warning about deprecation from OpenMP 5.2 and later about checks for dummy argument list-items present on IS_DEVICE_PTR clause. This P is blocker for https://github.com/llvm/llvm-project/pull/71255
-
Daniil Kovalev authored
Reapply llvm/llvm-project#72713 after fixing formatted printing of `uint64_t` values as hex (see failing build here https://lab.llvm.org/buildbot/#/builders/186/builds/13604). This patch adds llvm-readobj support for: - Dynamic `R_AARCH64_AUTH_*` relocations (including RELR compressed AUTH relocations) as described here: https://github.com/ARM-software/abi-aa/blob/main/pauthabielf64/pauthabielf64.rst#auth-variant-dynamic-relocations - `.note.AARCH64-PAUTH-ABI-tag` section as defined here https://github.com/ARM-software/abi-aa/blob/main/pauthabielf64/pauthabielf64.rst#elf-marking
-
Guillaume Chatelet authored
This reverts the following commits: - a539a090 - 31316b3f Rationale for revert: https://github.com/llvm/llvm-project/issues/74258#issuecomment-1847836861
-