diff options
author | Sam McCall <sam.mccall@gmail.com> | 2021-07-02 09:48:58 +0200 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2021-07-02 09:52:36 +0200 |
commit | 26e1553a107f52667be879e99739a4153f8799d8 (patch) | |
tree | 3a656283d7bf8c912a1339d681bed0eb25adc465 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 4facbf213c51e4add2e8c19b08d5e58ad71c72de (diff) | |
download | llvm-26e1553a107f52667be879e99739a4153f8799d8.zip llvm-26e1553a107f52667be879e99739a4153f8799d8.tar.gz llvm-26e1553a107f52667be879e99739a4153f8799d8.tar.bz2 |
[clangd] CMake: express -Iclangd/ at top level and inherit
For files directly under clangd/, -Iclang-tools-extra/clangd (and the
equivalent for generated files) are not required, as CMake/the compiler puts
these directories on the include path by default.
However this means each subdirectory needs to
include_directories(.. ${CMAKE_CURRENT_BINARY_DIR}/..) etc, and this
proved annoying and error-prone to maintain and debug.
Since include_directories is inherited by subdirectories, we just
configure this explicitly at the top level instead.
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions