Summary: | Clang source include path in Git MonoRepo | ||
---|---|---|---|
Product: | [Developer tools] clazy | Reporter: | Eugene Zelenko <eugene.zelenko> |
Component: | general | Assignee: | Sergio Martins <smartins> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | smartins |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Eugene Zelenko
2019-05-16 22:18:03 UTC
does it work if you simply add: ${_llvmSourceRoot}/../clang/include" without removing the old one ? Most likely it'll work, but it's not good idea to add not existing path into include paths. GCC even has -Wmissing-include-dirs. Problem with libc++: I build second pass LLVM/Clang with LLVM_ENABLE_LIBCXX and LLVM_ENABLE_LLD. I got a lot of unresolved symbols from libc++ when linking ClazyPlugin.so. Ether Clazy CMake should detect STL from llvm-config or reuse part of LLVM CMake files to setup STL easily. |