Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion clang/lib/AST/DeclTemplate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ void RedeclarableTemplateDecl::loadLazySpecializationsImpl(

ExternalSource->LoadExternalSpecializations(this->getCanonicalDecl(),
OnlyPartial);
return;
}

bool RedeclarableTemplateDecl::loadLazySpecializationsImpl(
Expand Down
1 change: 0 additions & 1 deletion clang/lib/CodeGen/CGExprAgg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,6 @@ static void EmitHLSLScalarFlatCast(CodeGenFunction &CGF, Address DestVal,
}
CGF.Builder.CreateStore(Cast, StoreGEPList[I].first);
}
return;
}

// emit a flat cast where the RHS is an aggregate
Expand Down
1 change: 0 additions & 1 deletion clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,6 @@ void CGOpenMPRuntimeGPU::emitReduction(
CGF.getTarget().getGridValue(),
C.getLangOpts().OpenMPCUDAReductionBufNum, RTLoc));
CGF.Builder.restoreIP(AfterIP);
return;
}

const VarDecl *
Expand Down
2 changes: 0 additions & 2 deletions clang/lib/Driver/ToolChains/CommonArgs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2576,8 +2576,6 @@ static void GetSDLFromOffloadArchive(
InputInfo(&JA, C.getArgs().MakeArgString(OutputLib))));

CC1Args.push_back(DriverArgs.MakeArgString(OutputLib));

return;
}

// Wrapper function used by driver for adding SDLs during link phase.
Expand Down
1 change: 0 additions & 1 deletion clang/lib/InstallAPI/DylibVerifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,6 @@ void DylibVerifier::visitSymbolInDylib(const Record &R, SymbolContext &SymCtx) {
// Missing declarations are dropped for ErrorsOnly mode. It is the last
// remaining mode.
updateState(Result::Ignore);
return;
}

void DylibVerifier::visitGlobal(const GlobalRecord &R) {
Expand Down
1 change: 0 additions & 1 deletion clang/lib/Sema/SemaDeclAttr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3982,7 +3982,6 @@ static void handleFormatMatchesAttr(Sema &S, Decl *D, const ParsedAttr &AL) {

S.Diag(AL.getLoc(), diag::err_format_nonliteral)
<< FormatStrExpr->getSourceRange();
return;
}

/// Handle __attribute__((callback(CalleeIdx, PayloadIdx0, ...))) attributes.
Expand Down
1 change: 0 additions & 1 deletion clang/lib/Sema/SemaExpr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,6 @@ static void CheckUnicodeArithmeticConversions(Sema &SemaRef, Expr *LHS,
SemaRef.Diag(Loc, diag::warn_arith_conv_mixed_unicode_types)
<< LHS->getSourceRange() << RHS->getSourceRange() << ACK << LHSType
<< RHSType;
return;
}

/// UsualArithmeticConversions - Performs various conversions that are common to
Expand Down
1 change: 0 additions & 1 deletion clang/lib/Sema/SemaInit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9853,7 +9853,6 @@ static void CheckC23ConstexprInitStringLiteral(const StringLiteral *SE,
return;
}
}
return;
}

//===----------------------------------------------------------------------===//
Expand Down
1 change: 0 additions & 1 deletion clang/lib/Sema/SemaStmtAttr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ static void CheckForDuplicateLoopAttrs(Sema &S, ArrayRef<const Attr *> Attrs) {
S.Diag((*FirstItr)->getLocation(), diag::note_previous_attribute);
}
}
return;
}

static Attr *handleMSConstexprAttr(Sema &S, Stmt *St, const ParsedAttr &A,
Expand Down