]> granicus.if.org Git - clang/commit
Move most of HeaderSearch initialization to libDriver.
authorNico Weber <nicolasweber@gmx.de>
Fri, 22 Aug 2008 09:25:22 +0000 (09:25 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 22 Aug 2008 09:25:22 +0000 (09:25 +0000)
commit0fca022d77b89100e746f4d659b84ed5b1ee0158
tree688424af9b47218576b04815e3f8007608050121
parentefe8a96f5965106e6c23df3c0c0681325b66062d
Move most of HeaderSearch initialization to libDriver.

For example, adding the default system include paths in clients is now as
simple as

  InitHeaderSearch init(headers);
  init.AddDefaultSystemIncludePaths(langopts);
  init.Realize();

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55174 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/clang.cpp
include/clang/Driver/InitHeaderSearch.h [new file with mode: 0644]
lib/Driver/InitHeaderSearch.cpp [new file with mode: 0644]