[Driver] Move information about toolchain specific include directories
authorSimon Atanasyan <simon@atanasyan.com>
Wed, 6 Aug 2014 05:44:47 +0000 (05:44 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Wed, 6 Aug 2014 05:44:47 +0000 (05:44 +0000)
commit9e49e145b109a9132c692de0b27784c9dadf09f3
tree7b62ac10a1d426e73a93f1d4c5dd1a6260acb0a9
parentce49b5ba98209f66b06629d778274aad07d25cdc
[Driver] Move information about toolchain specific include directories
from the common driver code to the corresponding `MultilibSet` declarations.

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

llvm-svn: 214949
clang/include/clang/Driver/Multilib.h
clang/lib/Driver/ToolChains.cpp