Commit
f0f3d1b1817a48daa0680324bec3c6d34e590d4a
by rengolinRevert "Fix Windows llvm-objdump tests"
It had already been fixed in a different way.
|
 | llvm/test/tools/llvm-objdump/X86/source-interleave-prefix-non-windows.test |
 | llvm/test/tools/llvm-objdump/X86/source-interleave-prefix.test |
Commit
24b5266892c30e2c9cb6ea28c2631e988a5754b6
by benhamilton[Format/ObjC] Correctly handle base class with lightweight generics and protocol
ClangFormat does not correctly handle an Objective-C interface declaration with both lightweight generics and a protocol conformance.
This simple example:
``` @interface Foo : Bar <Baz> <Blech>
@end ```
means `Foo` extends `Bar` (a lightweight generic class whose type parameter is `Baz`) and also conforms to the protocol `Blech`.
ClangFormat should not apply any changes to the above example, but instead it currently formats it quite poorly:
``` @interface Foo : Bar <Baz> <Blech>
@end ```
The bug is that `UnwrappedLineParser` assumes an open-angle bracket after a base class name is a protocol list, but it can also be a lightweight generic specification.
This diff fixes the bug by factoring out the logic to parse lightweight generics so it can apply both to the declared class as well as the base class.
Test Plan: New tests added. Ran tests with: % ninja FormatTests && ./tools/clang/unittests/Format/FormatTests Confirmed tests failed before diff and passed after diff.
Reviewed By: sammccall, MyDeveloperDay
Differential Revision: https://reviews.llvm.org/D89496
|
 | clang/lib/Format/UnwrappedLineParser.h |
 | clang/unittests/Format/FormatTestObjC.cpp |
 | clang/lib/Format/UnwrappedLineParser.cpp |
Commit
4242df14708cb84b3732ba1a22fb77146833340b
by vtjnashRevert "make the AsmPrinterHandler array public"
I messed up one of the tests.
|
 | llvm/unittests/CodeGen/TestAsmPrinter.h |
 | llvm/include/llvm/CodeGen/AsmPrinterHandler.h |
 | llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp |
 | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp |
 | llvm/lib/Target/BPF/BTFDebug.cpp |
 | llvm/include/llvm/CodeGen/AsmPrinter.h |
 | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp |
 | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h |
 | llvm/unittests/CodeGen/AsmPrinterDwarfTest.cpp |
 | llvm/include/llvm/CodeGen/DebugHandlerBase.h |
 | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp |
 | llvm/lib/CodeGen/MachineModuleInfo.cpp |
Commit
f16cecf3752a7c168293934d2ba6472a6b405694
by davelee.com[lldb] Implement ObjCExceptionThrowFrameRecognizer::GetName()
Implement `GetName` for `ObjCExceptionThrowFrameRecognizer`. Otherwise, `frame recognizer list` shows "(internal)" for the name.
Differential Revision: https://reviews.llvm.org/D89589
|
 | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp |
Commit
109113015ebeeceec862fc53a678b3619a879ce4
by daniel_l_sanders[objdump][macho] Check arch before formating reloc name as arm64 addend
Before formating ARM64_RELOC_ADDEND relocation target name as a hex number, the architecture need to be checked since other architectures can define a different relocation type with the same integer as ARM64_RELOC_ADDEND.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D89094
|
 | llvm/tools/llvm-objdump/MachODump.cpp |
Commit
552c6c2328723a248c2b4d2765f75d49129dff20
by richardPR44406: Follow behavior of array bound constant folding in more recent versions of GCC.
Old GCC used to aggressively fold VLAs to constant-bound arrays at block scope in GNU mode. That's non-conforming, and more modern versions of GCC only do this at file scope. Update Clang to do the same.
Also promote the warning for this from off-by-default to on-by-default in all cases; more recent versions of GCC likewise warn on this by default.
This is still slightly more permissive than GCC, as pointed out in PR44406, as we still fold VLAs to constant arrays in structs, but that seems justifiable given that we don't support VLA-in-struct (and don't intend to ever support it), but GCC does.
Differential Revision: https://reviews.llvm.org/D89523
|
 | clang/test/Sema/builtin-assume.c |
 | clang/test/Sema/const-eval-64.c |
 | clang/test/PCH/cxx-constexpr.cpp |
 | clang/test/Sema/gnu-flags.c |
 | clang/test/Sema/struct-decl.c |
 | clang/test/SemaCXX/constant-expression.cpp |
 | clang/test/Sema/const-eval.c |
 | clang/test/Profile/misexpect-switch.c |
 | clang/test/Profile/misexpect-switch-nonconst.c |
 | clang/docs/UsersManual.rst |
 | clang/test/Sema/typedef-variable-type.c |
 | clang/lib/Sema/SemaType.cpp |
 | clang/test/CodeGen/vla.c |
 | clang/lib/Sema/SemaDecl.cpp |
 | clang/test/CXX/basic/basic.types/p10.cpp |
 | clang/test/CXX/drs/dr3xx.cpp |
 | clang/test/Sema/decl-in-prototype.c |
 | clang/test/SemaCXX/i-c-e-cxx.cpp |
 | clang/include/clang/Basic/DiagnosticSemaKinds.td |
 | clang/test/SemaCXX/anonymous-struct.cpp |
 | clang/test/Sema/complex-int.c |
 | clang/test/Sema/darwin-align-cast.c |
 | clang/test/SemaCXX/cxx1z-noexcept-function-type.cpp |
 | clang/test/Misc/warning-flags.c |
 | clang/test/Sema/rounding-math.c |
 | clang/test/Profile/misexpect-switch-only-default-case.c |
 | clang/test/Sema/i-c-e.c |
 | clang/test/Sema/vla.c |
 | clang/test/Sema/builtins.c |
 | clang/test/SemaObjC/gcc-cast-ext.m |
 | clang/test/Profile/misexpect-switch-default.c |
 | clang/test/Sema/offsetof-64.c |
Commit
c096377905db8144ed310247609134783b2c9b73
by rob.sudermanFixed a failure when const matcher fails, added a test to catch
Differential Revision: https://reviews.llvm.org/D89593
|
 | mlir/tools/mlir-tblgen/RewriterGen.cpp |
 | mlir/test/mlir-tblgen/pattern.mlir |
Commit
d30155feaa9c4ddd09cb115fb30ea5810f63af9c
by conanap[PowerPC] Implementation of 128-bit Binary Vector Rotate builtins
This patch implements 128-bit Binary Vector Rotate builtins for PowerPC10.
Differential Revision: https://reviews.llvm.org/D86819
|
 | llvm/include/llvm/IR/IntrinsicsPowerPC.td |
 | clang/test/CodeGen/builtins-ppc-p10vector.c |
 | clang/lib/Headers/altivec.h |
 | clang/include/clang/Basic/BuiltinsPPC.def |
 | llvm/test/CodeGen/PowerPC/p10-vector-rotate.ll |
 | llvm/lib/Target/PowerPC/PPCISelLowering.cpp |
 | llvm/lib/Target/PowerPC/PPCInstrPrefix.td |
Commit
efd02c1548ee458d59063f6393e94e972b5c3d50
by richardFix accidental use of VLAs that causes these tests to fail after Clang commit 552c6c2328723a248c2b4d2765f75d49129dff20.
|
 | compiler-rt/test/asan/TestCases/strncasecmp_strict.c |
 | compiler-rt/test/asan/TestCases/strncmp_strict.c |
Commit
5adb3a6d86eecade2cb94b1a04d35e673d4e5866
by georgios.rokos[libomptarget] Fix copy-to motion for PTR_AND_OBJ entries where PTR is a struct member.
This patch fixes a problem whereby the pointee object of a PTR_AND_OBJ entry with a `map(to)` motion clause can be overwritten on the device even if its reference counter is >=1.
Currently, we check the reference counter of the parent struct in order to determine whether the motion clause should be respected, but since the pointee object is not part of the struct, it's got its own reference counter which should be used to enqueue the copy or discard it.
The same behavior has already been implemented in targetDataEnd (omptarget.cpp:539-540), but we somehow missed doing the same in targetDataBegin.
Differential Revision: https://reviews.llvm.org/D89597
|
 | openmp/libomptarget/src/omptarget.cpp |
 | openmp/libomptarget/test/mapping/ptr_and_obj_motion.c |