github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions c,h,cpp,inc --
bolt/lib/Core/DebugNames.cpp
clang-tools-extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
clang-tools-extra/clangd/Hover.cpp clang-tools-extra/clangd/index/FileIndex.cpp
clang-tools-extra/test/clang-tidy/checkers/abseil/faster-strsplit-delimiter.cpp
clang-tools-extra/test/clang-tidy/checkers/readability/function-cognitive-complexity.cpp
clang/include/clang/Sema/Sema.h clang/lib/APINotes/APINotesYAMLCompiler.cpp
clang/lib/Analysis/FlowSensitive/Transfer.cpp clang/lib/Basic/OpenMPKinds.cpp
clang/lib/CrossTU/CrossTranslationUnit.cpp
clang/lib/Parse/ParseHLSLRootSignature.cpp clang/lib/Sema/CheckExprLifetime.cpp
clang/lib/Sema/SemaCUDA.cpp clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/TreeTransform.h
clang/lib/StaticAnalyzer/Checkers/WebKit/ForwardDeclChecker.cpp
clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefCallArgsChecker.cpp
clang/test/Analysis/cxx-uninitialized-object-inheritance.cpp
clang/test/Analysis/cxx-uninitialized-object.cpp
clang/test/CXX/except/except.spec/p13-friend.cpp
clang/test/CodeGenCXX/ctor-empty-nounique.cpp
clang/unittests/Format/FormatTestCSharp.cpp
compiler-rt/lib/builtins/fp_add_impl.inc
compiler-rt/lib/gwp_asan/tests/backtrace.cpp
flang-rt/unittests/Runtime/NumericalFormatTest.cpp
flang/lib/Lower/ConvertConstant.cpp flang/lib/Semantics/check-omp-structure.cpp
libc/src/__support/RPC/rpc_server.h libc/src/__support/math/cbrt.h
libc/src/__support/str_to_float.h libc/src/stdio/generic/fgets.cpp
libc/src/stdlib/strfroml.cpp
libc/test/integration/startup/gpu/rpc_interface_test.cpp
libcxx/include/__math/special_functions.h
lldb/include/lldb/API/SBCommandInterpreter.h
lldb/include/lldb/Target/Platform.h
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Plugins/TraceExporter/common/TraceHTR.cpp
lldb/source/Plugins/TraceExporter/common/TraceHTR.h
lldb/source/ValueObject/DILEval.cpp
lldb/test/Shell/SymbolFile/DWARF/split-dwarf-expression-eval-bug.cpp
lldb/unittests/Utility/StreamTest.cpp
llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
llvm/include/llvm/Support/LEB128.h
llvm/include/llvm/Support/raw_socket_stream.h
llvm/lib/CodeGen/RegisterPressure.cpp llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp llvm/lib/Support/TextEncoding.cpp
llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp
llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
llvm/lib/Transforms/Scalar/LICM.cpp
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
llvm/lib/Transforms/Utils/IRNormalizer.cpp
mlir/include/mlir/Analysis/DataFlowFramework.h
mlir/include/mlir/Dialect/Bufferization/Transforms/BufferViewFlowAnalysis.h
mlir/lib/Dialect/Arith/IR/ArithOps.cpp
mlir/lib/Dialect/SparseTensor/IR/Detail/DimLvlMapParser.cpp
mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
mlir/test/lib/Analysis/TestDataFlowFramework.cpp
openmp/libompd/gdb-plugin/ompdModule.c openmp/runtime/src/kmp_runtime.cpp
openmp/runtime/test/api/omp60_memory_routines.c
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Sema/SemaDeclCXX.cpp b/clang/lib/Sema/SemaDeclCXX.cpp
index f9f1a9b45..06c4c4fc8 100644
--- a/clang/lib/Sema/SemaDeclCXX.cpp
+++ b/clang/lib/Sema/SemaDeclCXX.cpp
@@ -10989,7 +10989,7 @@ static void checkMethodTypeQualifiers(Sema &S,
Declarator &D, unsigned DiagID) {
bool DiagOccurred = false;
FTI.MethodQualifiers->forEachQualifier(
[DiagID, &S, &DiagOccurred](DeclSpec::TQ, StringRef QualName,
- SourceLocation SL) {
+ SourceLocation SL) {
// This diagnostic should be emitted on any qualifier except an addr
// space qualifier. However, forEachQualifier currently doesn't visit
// addr space qualifiers, so there's no way to write this condition
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
b/llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
index b39431209..0264d88c4 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
@@ -367,10 +367,10 @@ bool
AMDGPUPostLegalizerCombinerImpl::matchRemoveFcanonicalize(
return TLI->isCanonicalized(Reg, MF);
}
-// The buffer_load_{i8, i16} intrinsics are initially lowered as
buffer_load_{u8,
-// u16} instructions. Here, the buffer_load_{u8, u16} instructions are combined
-// with sign extension instrucions in order to generate buffer_load_{i8, i16}
-// instructions.
+// The buffer_load_{i8, i16} intrinsics are initially lowered as
+// buffer_load_{u8, u16} instructions. Here, the buffer_load_{u8, u16}
+// instructions are combined with sign extension instrucions in order to
+// generate buffer_load_{i8, i16} instructions.
// Identify buffer_load_{u8, u16}.
bool AMDGPUPostLegalizerCombinerImpl::matchCombineSignExtendInReg(
``````````
</details>
https://github.com/llvm/llvm-project/pull/156270
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits