forked from OSchip/llvm-project
Fix MSVC "not all control paths return a value" warning. NFC.
This commit is contained in:
parent
2655bd51d6
commit
b9aaf32f46
|
@ -131,6 +131,7 @@ static std::string formatHeaderPath(StringRef Header, IncludeFormat Format) {
|
|||
case transformer::IncludeFormat::Angled:
|
||||
return ("<" + Header + ">").str();
|
||||
}
|
||||
llvm_unreachable("Unknown transformer::IncludeFormat enum");
|
||||
}
|
||||
|
||||
ASTEdit transformer::addInclude(RangeSelector Target, StringRef Header,
|
||||
|
|
Loading…
Reference in New Issue