From d3f88343af2dec3459493fafa22532317321eaf0 Mon Sep 17 00:00:00 2001 From: John Thompson Date: Tue, 13 Oct 2009 18:51:32 +0000 Subject: [PATCH] Fixes pth.c on Windows. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84007 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/InitHeaderSearch.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/Frontend/InitHeaderSearch.cpp b/lib/Frontend/InitHeaderSearch.cpp index 9381c67cd8..eb5b4335cb 100644 --- a/lib/Frontend/InitHeaderSearch.cpp +++ b/lib/Frontend/InitHeaderSearch.cpp @@ -365,14 +365,13 @@ void InitHeaderSearch::AddDefaultSystemIncludePaths(const LangOptions &Lang, break; } } - - AddPath("/usr/local/include", System, false, false, false); - - AddPath("/usr/include", System, false, false, false); - AddPath("/System/Library/Frameworks", System, true, false, true); - AddPath("/Library/Frameworks", System, true, false, true); break; } + + AddPath("/usr/local/include", System, false, false, false); + AddPath("/usr/include", System, false, false, false); + AddPath("/System/Library/Frameworks", System, true, false, true); + AddPath("/Library/Frameworks", System, true, false, true); } void InitHeaderSearch::AddDefaultEnvVarPaths(const LangOptions &Lang) { -- 2.40.0