Skip to content

Commit a3033a7

Browse files
kazutakahiratagithub-actions[bot]
authored andcommitted
Automerge: [clang] Remove redundant control flow statements (NFC) (#155138)
2 parents e70196a + 970516d commit a3033a7

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

clang/lib/CodeGen/Targets/RISCV.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,6 @@ void RISCVABIInfo::createCoercedStore(llvm::Value *Val, Address Dst,
955955
cast<llvm::FixedVectorType>(EltTy), Val, uint64_t(0));
956956
auto *I = CGF.Builder.CreateStore(Coerced, Dst, DestIsVolatile);
957957
CGF.addInstToCurrentSourceAtom(I, Val);
958-
return;
959958
}
960959

961960
namespace {

clang/lib/Driver/Driver.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4675,7 +4675,6 @@ void Driver::BuildDriverManagedModuleBuildActions(
46754675
Compilation &C, llvm::opt::DerivedArgList &Args, const InputList &Inputs,
46764676
ActionList &Actions) const {
46774677
Diags.Report(diag::remark_performing_driver_managed_module_build);
4678-
return;
46794678
}
46804679

46814680
/// Returns the canonical name for the offloading architecture when using a HIP

clang/lib/Driver/ToolChains/HLSL.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ void getSpirvExtOperand(StringRef SpvExtensionArg, raw_ostream &out) {
215215
return;
216216
}
217217
out << SpvExtensionArg;
218-
return;
219218
}
220219

221220
SmallString<1024> getSpirvExtArg(ArrayRef<std::string> SpvExtensionArgs) {

clang/unittests/Analysis/FlowSensitive/FormulaTest.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ using namespace dataflow;
2222
using ::llvm::Failed;
2323
using ::llvm::HasValue;
2424
using ::llvm::Succeeded;
25-
using ::testing::ElementsAre;
26-
using ::testing::IsEmpty;
2725

2826
class SerializeFormulaTest : public ::testing::Test {
2927
protected:

0 commit comments

Comments
 (0)