forked from OSchip/llvm-project
Fix a couple of cases of (innocuous) unmarked fallthrough. At least one of these
was unintentional. Found by -Wimplicit-fallthrough, patch by Alexander Kornienko! llvm-svn: 156082
This commit is contained in:
parent
9933e3ac88
commit
3bddb62daa
|
@ -1400,6 +1400,7 @@ bool RecursiveASTVisitor<Derived>::TraverseClassInstantiations(
|
|||
case TSK_Undeclared:
|
||||
case TSK_ImplicitInstantiation:
|
||||
TRY_TO(TraverseDecl(SD));
|
||||
break;
|
||||
|
||||
// We don't need to do anything on an explicit instantiation
|
||||
// or explicit specialization because there will be an explicit
|
||||
|
|
|
@ -175,6 +175,7 @@ public:
|
|||
switch (kind) {
|
||||
case PrintErrno:
|
||||
assert(IsPrintf);
|
||||
return false;
|
||||
case PercentArg:
|
||||
return false;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue