Fix MSVC 'not all control paths return a value' warning.

llvm-svn: 298712
This commit is contained in:
Simon Pilgrim 2017-03-24 16:59:14 +00:00
parent d4521c2fc2
commit dfbf049e7f
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@ static bool shouldReportOccurrenceForSystemDeclOnlyMode(
case SymbolRole::RelationContainedBy:
return true;
}
llvm_unreachable("Unsupported SymbolRole value!");
});
return accept;
};