]> granicus.if.org Git - clang/commitdiff
Fix typo in comment. No functionality change.
authorNick Lewycky <nicholas@mxc.ca>
Fri, 11 Oct 2013 03:33:53 +0000 (03:33 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 11 Oct 2013 03:33:53 +0000 (03:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192412 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index ad09b334145b8120a2e1a043daf10dfa2f6df8c5..e849186d75ce2259a867a38b0527294ecf98b243 100644 (file)
@@ -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).