]> granicus.if.org Git - clang/commit
[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)
commit72492c3b52e8591e95d5331f1ecfacd8b11ad54f
tree5e1c5d324953cebf045eed5f4f16d8e26f904cdc
parentbab1697d36d91d64bd3887330dd80715dc8b8fe6
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214949 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Multilib.h
lib/Driver/ToolChains.cpp