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

Hans Wennborg hans at hanshq.net
Thu Aug 2 05:27:08 PDT 2012


Author: hans
Date: Thu Aug  2 07:27:08 2012
New Revision: 161173

URL: http://llvm.org/viewvc/llvm-project?rev=161173&view=rev
Log:
Correct AddDefaultCIncludePaths for OpenBSD to not include /usr/local/include
in the default search path. Compilers on *BSD OS's only include /usr/include by
default.

Contributed by Brad Smith <brad at comstyle.com>

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=161173&r1=161172&r2=161173&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/InitHeaderSearch.cpp (original)
+++ cfe/trunk/lib/Frontend/InitHeaderSearch.cpp Thu Aug  2 07:27:08 2012
@@ -217,6 +217,7 @@
     switch (os) {
     case llvm::Triple::FreeBSD:
     case llvm::Triple::NetBSD:
+    case llvm::Triple::OpenBSD:
       break;
     default:
       // FIXME: temporary hack: hard-coded paths.





More information about the cfe-commits mailing list