]> granicus.if.org Git - clang/commitdiff
Fixed typo causing tests to fail on non-MSVC machines.
authorJoao Matos <ripzonetriton@gmail.com>
Sat, 1 Sep 2012 23:24:10 +0000 (23:24 +0000)
committerJoao Matos <ripzonetriton@gmail.com>
Sat, 1 Sep 2012 23:24:10 +0000 (23:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163077 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/WindowsToolChain.cpp

index 5fba6b48b070e8f781bf906e1d1a08bd7a3cf701..ad2605a815c91db6fe075641fe85fb1eedfbd28f 100644 (file)
@@ -350,7 +350,7 @@ std::vector<std::string> clang::driver::GetWindowsSystemIncludeDirs() {
   };
 
   for (unsigned i = 0; i < sizeof(FallbackPaths) / sizeof(FallbackPaths[0]); ++i)
-    Paths.push_back(Paths[i]);
+    Paths.push_back(FallbackPaths[i]);
 
   return Paths;
 }