[cfe-commits] r109357 - /cfe/trunk/lib/Frontend/InitHeaderSearch.cpp

Nick Lewycky nicholas at mxc.ca
Sat Jul 24 14:33:13 PDT 2010


Author: nicholas
Date: Sat Jul 24 16:33:13 2010
New Revision: 109357

URL: http://llvm.org/viewvc/llvm-project?rev=109357&view=rev
Log:
Add header searching for llvm-gcc trunk on Gentoo AMD64. Patch by Mark Wood!

Modified:
    cfe/trunk/lib/Frontend/InitHeaderSearch.cpp

Modified: cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/InitHeaderSearch.cpp?rev=109357&r1=109356&r2=109357&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/InitHeaderSearch.cpp (original)
+++ cfe/trunk/lib/Frontend/InitHeaderSearch.cpp Sat Jul 24 16:33:13 2010
@@ -1,4 +1,4 @@
-//===--- InitHeaderSearch.cpp - Initialize header search paths ----------*-===//
+//===--- InitHeaderSearch.cpp - Initialize header search paths --*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -716,6 +716,11 @@
     AddGnuCPlusPlusIncludePaths(
         "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include/g++-v4",
         "x86_64-pc-linux-gnu", "32", "", triple);
+
+    // Gentoo amd64 llvm-gcc trunk
+    AddGnuCPlusPlusIncludePaths(
+        "/usr/lib/llvm-gcc-4.2-9999/include/c++/4.2.1",
+        "x86_64-pc-linux-gnu", "", "", triple);
     
     break;
   case llvm::Triple::FreeBSD:





More information about the cfe-commits mailing list