[cfe-dev] clang-tidy & SSE with GCC toolchain
Kim Gräsman via cfe-dev
cfe-dev at lists.llvm.org
Fri Jan 26 02:12:22 PST 2018
On Fri, Jan 26, 2018 at 10:36 AM, Daniel Evers via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> Hi,
>
> Thanks for the tip. I checked the output and clang++ uses its own includes instead of the GCC headers.
> Does the compiler add some pre-defined include paths that the clang-based tools don't have by default?
>
> Clang-tidy at least doesn't complain about -gcc-toolchain ;-) But I'm not sure if it's relevant here.
There used to (not sure if it's still there) a special relative lookup
for the builtins, something like
$dirname(driver-binary)/../lib/clang-6.0/include. So if your
clang-tidy is not in /usr/bin, it might not find the builtins.
- Kim
More information about the cfe-dev
mailing list