Skip to content

Fix typos in lib/Driver/Driver.cpp comments #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Driver/Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Driver::Driver(StringRef DriverExecutable,
DefaultTargetTriple(llvm::sys::getDefaultTargetTriple()) {

// The driver kind must be parsed prior to parsing arguments, since that
// affects how argumens are parsed.
// affects how arguments are parsed.
parseDriverKind(Args.slice(1));
}

Expand Down Expand Up @@ -852,7 +852,7 @@ static bool isSDKTooOld(StringRef sdkPath, const llvm::Triple &target) {
void Driver::buildOutputInfo(const ToolChain &TC, const DerivedArgList &Args,
const InputList &Inputs, OutputInfo &OI) const {
// By default, the driver does not link its output; this will be updated
// appropariately below if linking is required.
// appropriately below if linking is required.

if (driverKind == DriverKind::Interactive) {
OI.CompilerMode = OutputInfo::Mode::Immediate;
Expand Down