[all-commits] [llvm/llvm-project] ea9888: [clangd] Respect `--sysroot` argument if it is set
David Goldman via All-commits
all-commits at lists.llvm.org
Thu Jan 9 08:03:53 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ea9888b8f6f20887647b77ebf5864d647fd2ea44
https://github.com/llvm/llvm-project/commit/ea9888b8f6f20887647b77ebf5864d647fd2ea44
Author: David Goldman <davg at google.com>
Date: 2020-01-09 (Thu, 09 Jan 2020)
Changed paths:
M clang-tools-extra/clangd/CompileCommands.cpp
Log Message:
-----------
[clangd] Respect `--sysroot` argument if it is set
Summary:
- Since `--sysroot` is a superset of the `-isysroot` argument, we
shouldn't add the `-isysroot` if we detect a `--sysroot` flag.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72415
More information about the All-commits
mailing list