summaryrefslogtreecommitdiffstats
path: root/clang/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
commit609dd6671d8a44bf87a4106aec1278ffb789e0c6 (patch)
tree5bb9ef97a7af0d7af78e775a1a2e34fa62ae59cb /clang/lib/Driver/Tools.cpp
parentf22bf50443ee049f768829009011a5a3d7b8017f (diff)
downloadbcm5719-llvm-609dd6671d8a44bf87a4106aec1278ffb789e0c6.tar.gz
bcm5719-llvm-609dd6671d8a44bf87a4106aec1278ffb789e0c6.zip
Fix typo in comment. No functionality change.
llvm-svn: 192412
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index ad09b334145..e849186d75c 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/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).
OpenPOWER on IntegriCloud