]> granicus.if.org Git - clang/commit
[WebAssembly] Modernize include path handling
authorSam Clegg <sbc@chromium.org>
Thu, 13 Jun 2019 09:42:43 +0000 (09:42 +0000)
committerSam Clegg <sbc@chromium.org>
Thu, 13 Jun 2019 09:42:43 +0000 (09:42 +0000)
commita5d4a3a916fa7374803fa29a38f670a6103225dc
treeb108c2de7342674e4b6d0cab9c9067e0acd8f5ab
parenta9c7c0fc5d468f3d18a5c6beb697ab0d5be2ff4c
[WebAssembly] Modernize include path handling

Move include path construction from
InitHeaderSearch::AddDefaultIncludePaths in the Driver which appears
to be the more modern/correct way of doing things.

Differential Revision: https://reviews.llvm.org/D63030

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363241 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/WebAssembly.cpp
lib/Frontend/InitHeaderSearch.cpp
test/Driver/wasm-toolchain.cpp