Commit
2a42c759ae7bb09dd448d188138f310d014fcab6
by marek.kurdej[clang-format] [PR19056] Add support for access modifiers indentation
Adds support for coding styles that make a separate indentation level for access modifiers, such as Code::Blocks or QtCreator.
The new option, `IndentAccessModifiers`, if enabled, forces the content inside classes, structs and unions (“records”) to be indented twice while removing a level for access modifiers. The value of `AccessModifierOffset` is disregarded in this case, aiming towards an ease of use.
====== The PR (https://bugs.llvm.org/show_bug.cgi?id=19056) had an implementation attempt by @MyDeveloperDay already (https://reviews.llvm.org/D60225) but I've decided to start from scratch. They differ in functionality, chosen approaches, and even the option name. The code tries to re-use the existing functionality to achieve this behavior, limiting possibility of breaking something else.
Reviewed By: MyDeveloperDay, curdeius, HazardyKnusperkeks
Differential Revision: https://reviews.llvm.org/D94661
|
 | clang/lib/Format/UnwrappedLineFormatter.cpp |
 | clang/lib/Format/Format.cpp |
 | clang/docs/ClangFormatStyleOptions.rst |
 | clang/unittests/Format/FormatTest.cpp |
 | clang/docs/ReleaseNotes.rst |
 | clang/lib/Format/UnwrappedLineParser.h |
 | clang/include/clang/Format/Format.h |
 | clang/lib/Format/UnwrappedLineParser.cpp |
Commit
d412dbe388819dd68bbe4a3967783fdf80400860
by sam.mccall[clang][NFC] Extract Target and AuxTarget creation in CompilerInstance to new function
As @sammccall mentioned in [[ https://reviews.llvm.org/D97109 | D97109 ]], I've extract the logic of creating Target and AuxTarget into a new function called `createTargetAndAuxTarget`.
Since there are many similar code in clang or other related tools, consolidating them into a single function may help others to maintain the logic handling target related things.
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D97493
|
 | clang/include/clang/Frontend/CompilerInstance.h |
 | clang/lib/Frontend/CompilerInstance.cpp |
Commit
d5e0868e5e321e2a2f3bf73599ae9239c5aaa0c9
by nullptr.cpp[Basic] Fix Wreturn-type gcc warning (NFC)
|
 | clang/include/clang/Basic/Diagnostic.h |
Commit
cb2bc9aad5de91cc5851aa707c39a68cfae65f0f
by mkazantsev[Test] Add one more test with corner cases for non-wrapping IVs
|
 | llvm/test/CodeGen/X86/overflowing-iv.ll |
Commit
e9475a276267f1bc74d9624fc797c7a754b5b90b
by nullptr.cpp[Sema] Fix MSVC "attribute is not recognized" warning (NFC)
MSVC warning: ``` \llvm-project\clang\lib\Sema\SemaChecking.cpp(10323): warning C5030: attribute 'clang::fallthrough' is not recognized ```
|
 | clang/lib/Sema/SemaChecking.cpp |
Commit
b16cbd8890a08ea265b8d3f3499a29b58bfa3b4a
by courbet[llvm-exegesis][X86] Ignore a few unmeasurable opcodes.
Differential Revision: https://reviews.llvm.org/D90744
|
 | llvm/tools/llvm-exegesis/lib/X86/Target.cpp |
Commit
37014db0134b6df3945a7d4b1a835f8daefecb79
by fraser[RISCV] Use existing method for the LMUL1 type. NFCI.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D97467
|
 | llvm/lib/Target/RISCV/RISCVISelLowering.cpp |
Commit
ce0f10a1d19b559938870ba6172b517417bc2c76
by uday[MLIR][affine] Certain Call Ops to prevent fusion
Fixes a bug in affine fusion pipeline where an incorrect fusion is performed despite a Call Op that potentially modifies memrefs under consideration exists between source and target.
Fixes part of https://bugs.llvm.org/show_bug.cgi?id=49220
Reviewed By: bondhugula, dcaballe
Differential Revision: https://reviews.llvm.org/D97252
|
 | mlir/lib/Transforms/LoopFusion.cpp |
 | mlir/test/Transforms/loop-fusion.mlir |
Commit
a754dc235834fd4e0c63a0a35933e001e17b3921
by mkazantsev[Test] Two more interesting test cases & their codegen counterparts
|
 | llvm/test/CodeGen/X86/overflowing-iv.ll |
 | llvm/test/CodeGen/X86/overflowing-iv-codegen.ll |