r192412 - Fix typo in comment. No functionality change.

Nick Lewycky nicholas at mxc.ca
Thu Oct 10 20:33:53 PDT 2013


Author: nicholas
Date: Thu Oct 10 22:33:53 2013
New Revision: 192412

URL: http://llvm.org/viewvc/llvm-project?rev=192412&view=rev
Log:
Fix typo in comment. No functionality change.

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=192412&r1=192411&r2=192412&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Thu Oct 10 22:33:53 2013
@@ -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,
     }
   }
 
-  // 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).





More information about the cfe-commits mailing list