Fix a tranche of comment, test and doc typos
llvm-svn: 196510
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp
index 0472cdc..bfc2aca 100644
--- a/clang/lib/Driver/ToolChains.cpp
+++ b/clang/lib/Driver/ToolChains.cpp
@@ -864,7 +864,7 @@
// Check whether the target provides libc++.
StringRef where;
- // Complain about targetting iOS < 5.0 in any way.
+ // Complain about targeting iOS < 5.0 in any way.
if (isTargetIPhoneOS() && isIPhoneOSVersionLT(5, 0))
where = "iOS 5.0";
@@ -2450,7 +2450,7 @@
// <prefix>/<libdir>/gcc/<triple>/<version>. This decision is somewhat
// debatable, but is the reality today. We need to search this tree even
// when we have a sysroot somewhere else. It is the responsibility of
- // whomever is doing the cross build targetting a sysroot using a GCC
+ // whomever is doing the cross build targeting a sysroot using a GCC
// installation that is *not* within the system root to ensure two things:
//
// 1) Any DSOs that are linked in from this tree or from the install path