[PATCH] [Driver] Move description of toolchain specific include directories from the common driver code to the corresponding `MultilibSet` declarations

Simon Atanasyan simon at atanasyan.com
Wed Jul 30 03:35:12 PDT 2014


Hi rafael,

The patch moves description of toolchain specific include directories from the common driver code to the corresponding `MultilibSet` declarations.

The `MultilibSet` can hold an optional callback function which is responsible to return a set of include directories specific for the toolchain. That allows, for example, to remove MIPS toolchain specific directories from `Linux::AddClangSystemIncludeArgs` method and simplify adding new directories in the future.

http://reviews.llvm.org/D4720

Files:
  include/clang/Driver/Multilib.h
  lib/Driver/ToolChains.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4720.12013.patch
Type: text/x-patch
Size: 4350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140730/e5e96196/attachment.bin>


More information about the cfe-commits mailing list