]> granicus.if.org Git - clang/commitdiff
Fix typo in comments.
authorLogan Chien <tzuhsiang.chien@gmail.com>
Thu, 4 Oct 2012 08:08:56 +0000 (08:08 +0000)
committerLogan Chien <tzuhsiang.chien@gmail.com>
Thu, 4 Oct 2012 08:08:56 +0000 (08:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165216 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Driver.cpp

index 1897a63196f61c5112574372734f74afe58976d9..212042eaf366bdad399146171b6568547de695ae 100644 (file)
@@ -1581,7 +1581,7 @@ const char *Driver::GetNamedOutputPath(Compilation &C,
 
 std::string Driver::GetFilePath(const char *Name, const ToolChain &TC) const {
   // Respect a limited subset of the '-Bprefix' functionality in GCC by
-  // attempting to use this prefix when lookup up program paths.
+  // attempting to use this prefix when looking for file paths.
   for (Driver::prefix_list::const_iterator it = PrefixDirs.begin(),
        ie = PrefixDirs.end(); it != ie; ++it) {
     std::string Dir(*it);
@@ -1625,7 +1625,7 @@ std::string Driver::GetProgramPath(const char *Name,
   // FIXME: Needs a better variable than DefaultTargetTriple
   std::string TargetSpecificExecutable(DefaultTargetTriple + "-" + Name);
   // Respect a limited subset of the '-Bprefix' functionality in GCC by
-  // attempting to use this prefix when lokup up program paths.
+  // attempting to use this prefix when looking for program paths.
   for (Driver::prefix_list::const_iterator it = PrefixDirs.begin(),
        ie = PrefixDirs.end(); it != ie; ++it) {
     llvm::sys::Path P(*it);