[all-commits] [llvm/llvm-project] 00d19c: [various] Remove or use variables which are unused...
Michael Benfield via All-commits
all-commits at lists.llvm.org
Tue Jun 1 15:41:02 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 00d19c6704f421157ae3de3623aca5f58f6c366d
https://github.com/llvm/llvm-project/commit/00d19c6704f421157ae3de3623aca5f58f6c366d
Author: Michael Benfield <mbenfield at google.com>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PostSelectOptimize.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
M llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
M llvm/lib/Target/X86/X86FloatingPoint.cpp
M llvm/utils/benchmark/src/complexity.cc
Log Message:
-----------
[various] Remove or use variables which are unused but set.
This is in preparation for the -Wunused-but-set-variable warning.
Differential Revision: https://reviews.llvm.org/D102942
Commit: cf49cae278b4e972cd2547d72f9ee7d9d69a3af4
https://github.com/llvm/llvm-project/commit/cf49cae278b4e972cd2547d72f9ee7d9d69a3af4
Author: Michael Benfield <mbenfield at google.com>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/test/CXX/expr/expr.prim/expr.prim.lambda/p12.cpp
M clang/test/CodeGen/2007-10-30-Volatile.c
M clang/test/CodeGen/X86/x86_32-xsave.c
M clang/test/CodeGen/X86/x86_64-xsave.c
M clang/test/CodeGen/builtins-arm.c
M clang/test/CodeGen/builtins-riscv.c
M clang/test/FixIt/fixit.cpp
M clang/test/Misc/warning-wall.c
M clang/test/Sema/shift.c
M clang/test/Sema/vector-gcc-compat.c
M clang/test/Sema/vector-gcc-compat.cpp
A clang/test/Sema/warn-unused-but-set-parameters.c
A clang/test/Sema/warn-unused-but-set-variables.c
M clang/test/SemaCXX/goto.cpp
M clang/test/SemaCXX/shift.cpp
M clang/test/SemaCXX/sizeless-1.cpp
A clang/test/SemaCXX/warn-unused-but-set-parameters-cpp.cpp
A clang/test/SemaCXX/warn-unused-but-set-variables-cpp.cpp
M clang/test/SemaObjC/foreach.m
Log Message:
-----------
[Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable
These are intended to mimic warnings available in gcc.
Differential Revision: https://reviews.llvm.org/D100581
Compare: https://github.com/llvm/llvm-project/compare/8f89c054afa1...cf49cae278b4
More information about the All-commits
mailing list