[all-commits] [llvm/llvm-project] 5cfc37: [clang-tidy][NFC]clean ConstCorrectnessCheck (#130...
Congcong Cai via All-commits
all-commits at lists.llvm.org
Tue Mar 11 02:13:57 PDT 2025
Branch: refs/heads/users/ccc03-08-_clang-tidy_support_to_detect_conversion_in_make_optional_for_bugprone-optional-value-conversion_
Home: https://github.com/llvm/llvm-project
Commit: 5cfc37b3458b89927e76950c9498152ab729803e
https://github.com/llvm/llvm-project/commit/5cfc37b3458b89927e76950c9498152ab729803e
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.cpp
Log Message:
-----------
[clang-tidy][NFC]clean ConstCorrectnessCheck (#130493)
Commit: 23d5123a08ad376d9a3cb2700fe2da1f8c1cb006
https://github.com/llvm/llvm-project/commit/23d5123a08ad376d9a3cb2700fe2da1f8c1cb006
Author: Petr Hosek <phosek at google.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
Log Message:
-----------
Revert "[llvm] add support for mustache templating language" (#130720)
Reverts llvm/llvm-project#105893 since it broke all builders that use
GCC as the compiler.
Commit: f120b0d6d2629e226e6fa75974fbd17f46206bca
https://github.com/llvm/llvm-project/commit/f120b0d6d2629e226e6fa75974fbd17f46206bca
Author: Fangrui Song <i at maskray.me>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M llvm/include/llvm/MC/MCAsmInfo.h
M llvm/include/llvm/MC/MCExpr.h
M llvm/lib/MC/MCAsmInfo.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Log Message:
-----------
[MC] Remove MCSymbolRefExpr::VK_Invalid in favor of getVaraintKindForName returning std::optional
so that when the enum members are moved to XXXTargetExpr::VariantKind,,
they do not need to implement an invalid value.
Commit: f4218753ad93dd44b019e38bae61dceb93514aee
https://github.com/llvm/llvm-project/commit/f4218753ad93dd44b019e38bae61dceb93514aee
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ByteCode/Compiler.h
M clang/lib/AST/ExprConstant.cpp
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/AST/ByteCode/if.cpp
A clang/test/CodeGen/p0963r3.cpp
M clang/test/Parser/cxx1z-decomposition.cpp
M clang/test/Parser/decomposed-condition.cpp
M clang/test/SemaCXX/decomposed-condition.cpp
M clang/www/cxx_status.html
Log Message:
-----------
[Clang] Implement P0963R3 "Structured binding declaration as a condition" (#130228)
This implements the R2 semantics of P0963.
The R1 semantics, as outlined in the paper, were introduced in Clang 6.
In addition to that, the paper proposes swapping the evaluation order of
condition expressions and the initialization of binding declarations
(i.e. std::tuple-like decompositions).
Commit: 4a4444c0b2f68bec1db8e2cc8d133982d5a339e3
https://github.com/llvm/llvm-project/commit/4a4444c0b2f68bec1db8e2cc8d133982d5a339e3
Author: David Green <david.green at arm.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M llvm/lib/Analysis/CostModel.cpp
Log Message:
-----------
[CodeModel] Factor getCost out of CostModelPrinter loop. NFC
This helps in a follow-up so that it can be called multiple times with
different cost types.
Commit: 8758e5fe47b5cf2d39d94ee6dc8834755c7687d9
https://github.com/llvm/llvm-project/commit/8758e5fe47b5cf2d39d94ee6dc8834755c7687d9
Author: Nikita Popov <npopov at redhat.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
A llvm/test/Transforms/InstSimplify/ConstProp/inttoptr-gep-index-width.ll
Log Message:
-----------
[ConstantFolding] Fix handling of index width != pointer width (#130608)
Per LangRef:
> The offsets are then added to the low bits of the base address up to
the index type width, with silently-wrapping two’s complement
arithmetic. If the pointer size is larger than the index size, this
means that the bits outside the index type width will not be affected.
The transform as implemented was doubly wrong, because it just truncated
the original base pointer to the index width, losing the top bits
entirely. Make sure we preserve the bits and use wrapping arithmetic
within the low bits.
Commit: 7ecb0d03a4d78357adc35137a3109ee305ac4fff
https://github.com/llvm/llvm-project/commit/7ecb0d03a4d78357adc35137a3109ee305ac4fff
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M lldb/source/Core/Mangled.cpp
Log Message:
-----------
[lldb][Mangled] Use early-return style in GetDemangledName (#130622)
This patch refactors `Mangled::GetDemangledName` to use LLVM's preferred
early-return style. I'm planning on introducing a way to force
re-demangling of names in a future patch, and this stylisitc cleanup
makes that easier to reason about.
Also performed small cleanups where I could:
* we can handle `eManglingSchemeNone` inside the switch instead of a
separate if-block
* removed some redundant explicit StringRef<->C-string conversions
Commit: cdd560eead457bcc6dbb28ef88d868bc68cfd7e6
https://github.com/llvm/llvm-project/commit/cdd560eead457bcc6dbb28ef88d868bc68cfd7e6
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M lldb/include/lldb/Utility/XcodeSDK.h
M lldb/source/Utility/XcodeSDK.cpp
M lldb/unittests/Utility/XcodeSDKTest.cpp
Log Message:
-----------
[lldb][XcodeSDK] Simplify logic that adjusts sysroot during XcodeSDK merging (#130640)
The `DW_AT_APPLE_sdk` should always be equal to the filename of the
`DW_AT_LLVM_sysroot`. We can use this property to simplify
`XcodeSDK::Merge` to no longer manually adjust the sysroot filename.
Instead we simply update the sysroot filename with merged SDK name.
This should be an NFC change.
Commit: cb7298f66d62a3548fcf3bd230304067ecf30d17
https://github.com/llvm/llvm-project/commit/cb7298f66d62a3548fcf3bd230304067ecf30d17
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M clang/docs/LibASTMatchersReference.html
M clang/docs/tools/dump_ast_matchers.py
M clang/include/clang/ASTMatchers/ASTMatchers.h
Log Message:
-----------
[AstMatcher][NFC]fix doc gen for ast matchers (#130726)
1. dump-ast-matchers.py does not depend on pwd
2. fix some warning in python3
Commit: 1ddf18057a5aa1ee7010ec262ccfc80c39b99bf6
https://github.com/llvm/llvm-project/commit/1ddf18057a5aa1ee7010ec262ccfc80c39b99bf6
Author: jeanPerier <jperier at nvidia.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Dialect/FIRType.h
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
A flang/test/Fir/copy-codegen.fir
M flang/test/Fir/fir-ops.fir
M flang/test/Fir/invalid.fir
Log Message:
-----------
[flang] introduce fir.copy to avoid load store of aggregates (#130289)
Introduce a FIR operation to do memcopy/memmove of compile time constant size types.
This is to avoid requiring derived type copies to done with load/store
which is badly supported in LLVM when the aggregate type is "big" (no
threshold can easily be defined here, better to always avoid them for
fir.type).
This was the root cause of the regressions caused by #114002 which introduced a
load/store of fir.type<> which caused hand/asserts to fire in LLVM on
several benchmarks.
See https://llvm.org/docs/Frontend/PerformanceTips.html#avoid-creating-values-of-aggregate-type
Commit: 976e41302411e511ab0e99922288185b5939bf54
https://github.com/llvm/llvm-project/commit/976e41302411e511ab0e99922288185b5939bf54
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M lldb/include/lldb/Core/Mangled.h
Log Message:
-----------
[lldb][Mangled][NFC] Clean up member variable doxygen comments
Commit: d71fe1e943a5b2365b6a127b776aad19ba3e8ccf
https://github.com/llvm/llvm-project/commit/d71fe1e943a5b2365b6a127b776aad19ba3e8ccf
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/OptionalValueConversionCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
Log Message:
-----------
fix
Commit: 7c1ca62b5d782f6d262271c624ed6a1d1ce0778f
https://github.com/llvm/llvm-project/commit/7c1ca62b5d782f6d262271c624ed6a1d1ce0778f
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.cpp
M clang/docs/LanguageExtensions.rst
M clang/docs/LibASTMatchersReference.html
M clang/docs/ReleaseNotes.rst
M clang/docs/tools/dump_ast_matchers.py
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ByteCode/Compiler.h
M clang/lib/AST/ExprConstant.cpp
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/AST/ByteCode/if.cpp
A clang/test/CodeGen/p0963r3.cpp
M clang/test/Parser/cxx1z-decomposition.cpp
M clang/test/Parser/decomposed-condition.cpp
M clang/test/SemaCXX/decomposed-condition.cpp
M clang/www/cxx_status.html
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Dialect/FIRType.h
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
A flang/test/Fir/copy-codegen.fir
M flang/test/Fir/fir-ops.fir
M flang/test/Fir/invalid.fir
M lldb/include/lldb/Core/Mangled.h
M lldb/include/lldb/Utility/XcodeSDK.h
M lldb/source/Core/Mangled.cpp
M lldb/source/Utility/XcodeSDK.cpp
M lldb/unittests/Utility/XcodeSDKTest.cpp
M llvm/include/llvm/MC/MCAsmInfo.h
M llvm/include/llvm/MC/MCExpr.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/CostModel.cpp
M llvm/lib/MC/MCAsmInfo.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
A llvm/test/Transforms/InstSimplify/ConstProp/inttoptr-gep-index-width.ll
Log Message:
-----------
Merge remote-tracking branch 'origin/main' into users/ccc03-08-_clang-tidy_support_to_detect_conversion_in_make_optional_for_bugprone-optional-value-conversion_
Compare: https://github.com/llvm/llvm-project/compare/1706e3fc5819...7c1ca62b5d78
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list