summaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2013-10-11 03:33:53 +0000
committerNick Lewycky <nicholas@mxc.ca>2013-10-11 03:33:53 +0000
commitd4705688feb77cbb8317d1c1a1fdbff5ccdf2d10 (patch)
tree1ec492465e2110d9f5cd6d29cade78b4b3d46a39 /lib/Driver/Tools.cpp
parent2102a1dba460c99f97a0fdf1e5aee8c685e29ff8 (diff)
downloadclang-d4705688feb77cbb8317d1c1a1fdbff5ccdf2d10.tar.gz
clang-d4705688feb77cbb8317d1c1a1fdbff5ccdf2d10.tar.bz2
clang-d4705688feb77cbb8317d1c1a1fdbff5ccdf2d10.tar.xz
Fix typo in comment. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r--lib/Driver/Tools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
index ad09b33414..e849186d75 100644
--- a/lib/Driver/Tools.cpp
+++ b/lib/Driver/Tools.cpp
@@ -1725,7 +1725,7 @@ static void addSanitizerRTLinkFlagsLinux(
/// This needs to be called before we add the C run-time (malloc, etc).
static void addAsanRTLinux(const ToolChain &TC, const ArgList &Args,
ArgStringList &CmdArgs) {
- if(TC.getTriple().getEnvironment() == llvm::Triple::Android) {
+ if (TC.getTriple().getEnvironment() == llvm::Triple::Android) {
SmallString<128> LibAsan(TC.getDriver().ResourceDir);
llvm::sys::path::append(LibAsan, "lib", "linux",
(Twine("libclang_rt.asan-") +
@@ -2107,7 +2107,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
}
}
- // Inroduce a Darwin-specific hack. If the default is PIC but the flags
+ // Introduce a Darwin-specific hack. If the default is PIC but the flags
// specified while enabling PIC enabled level 1 PIC, just force it back to
// level 2 PIC instead. This matches the behavior of Darwin GCC (based on my
// informal testing).