r321116 - Add explicit break (PR35700).
Adrian Prantl via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 19 14:21:48 PST 2017
Author: adrian
Date: Tue Dec 19 14:21:48 2017
New Revision: 321116
URL: http://llvm.org/viewvc/llvm-project?rev=321116&view=rev
Log:
Add explicit break (PR35700).
Modified:
cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp
Modified: cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp?rev=321116&r1=321115&r2=321116&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp (original)
+++ cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp Tue Dec 19 14:21:48 2017
@@ -5431,6 +5431,7 @@ MarkUsedTemplateParameters(ASTContext &C
MarkUsedTemplateParameters(Ctx,
cast<DeducedType>(T)->getDeducedType(),
OnlyDeduced, Depth, Used);
+ break;
// None of these types have any template parameters in them.
case Type::Builtin:
More information about the cfe-commits
mailing list