]> granicus.if.org Git - clang/commit
Move the GCC installation detection helper a member of the Linux
authorChandler Carruth <chandlerc@gmail.com>
Sat, 5 Nov 2011 22:07:51 +0000 (22:07 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 5 Nov 2011 22:07:51 +0000 (22:07 +0000)
commitf13b13e85bedf91bde90a2c902fed99581e70f7a
tree880de6cb1299cc0b0a8fd6a9f7a128c178273db2
parent258883b544bfc220b801b66a5fad416c83cd956f
Move the GCC installation detection helper a member of the Linux
toolchain instead of merely using it in the constructor. This will allow
us to query it when building include paths as well as the file search
paths built in the constructor. I've lifted as little of it as I could
into the header file.

Eventually this will likely sink down into some of the Generic
toolchains and be used on more platforms, but I'm starting on Linux so
I can work out all the APIs needed there, where it is easiest to test
and we have the most pressing need.

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