Skip to content

Commit 318fdc8

Browse files
author
Sasha Krassovsky
committed
Fix warnings in Syntax
1 parent d4110e4 commit 318fdc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Syntax/Trivia.cpp.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ TriviaPiece TriviaPiece::fromText(TriviaKind kind, StringRef text) {
3636
% end
3737
% end
3838
}
39+
llvm_unreachable("Unhandled TriviaKind in switch");
3940
}
4041

4142
void TriviaPiece::dump(llvm::raw_ostream &OS, unsigned Indent) const {

0 commit comments

Comments
 (0)