[all-commits] [llvm/llvm-project] 4af340: [clangd] Forward --target to system include extrac...

Matthew Mirvish via All-commits all-commits at lists.llvm.org
Mon Sep 11 01:11:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4af340a6afb971c2f79d19b3575c7831f6949503
      https://github.com/llvm/llvm-project/commit/4af340a6afb971c2f79d19b3575c7831f6949503
  Author: Matthew Mirvish <mincrmatt12 at users.noreply.github.com>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    M clang-tools-extra/clangd/SystemIncludeExtractor.cpp
    M clang-tools-extra/clangd/test/system-include-extractor.test

  Log Message:
  -----------
  [clangd] Forward --target to system include extraction (#65824)

Some clang multilib configurations (such as the one currently used in
the [beta ARM LLVM
toolchain](https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm))
wind up only reporting the C++ include paths properly if they get passed
the correct target. This patch ensures the `--target` (or `-target`)
arguments are correctly sent to the queried driver.




More information about the All-commits mailing list