[frontend] Make InputKind::Filename the default InputKind for a SelectedInput.

Nearly all uses of this will be to specify a filename, so make that the default.

Swift SVN r12149
This commit is contained in:
Connor Wakamo
2014-01-10 22:39:04 +00:00
parent e9cc548765
commit 8475eeaad3

View File

@@ -42,7 +42,8 @@ public:
/// The kind of input which this SelectedInput represents.
InputKind Kind;
SelectedInput(unsigned Index, InputKind Kind) : Index(Index), Kind(Kind) {}
SelectedInput(unsigned Index, InputKind Kind = InputKind::Filename)
: Index(Index), Kind(Kind) {}
};
/// Options for controlling the behavior of the frontend.