[cfe-commits] r105083 - /cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
Douglas Gregor
dgregor at apple.com
Fri May 28 18:15:13 PDT 2010
Author: dgregor
Date: Fri May 28 20:15:12 2010
New Revision: 105083
URL: http://llvm.org/viewvc/llvm-project?rev=105083&view=rev
Log:
Add C++ include paths for Darwin PowerPC
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=105083&r1=105082&r2=105083&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/InitHeaderSearch.cpp (original)
+++ cfe/trunk/lib/Frontend/InitHeaderSearch.cpp Fri May 28 20:15:12 2010
@@ -562,6 +562,13 @@
switch (triple.getArch()) {
default: break;
+ case llvm::Triple::ppc:
+ case llvm::Triple::ppc64:
+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.0.0",
+ "powerpc-apple-darwin10", "", "ppc64",
+ triple);
+ break;
+
case llvm::Triple::x86:
case llvm::Triple::x86_64:
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.2.1",
More information about the cfe-commits
mailing list