summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2019-12-19 22:22:01 +0100
committerKadir Cetinkaya <kadircet@google.com>2019-12-20 11:10:36 +0100
commitc2377eae286bbe616267bef772ee736b030dd007 (patch)
tree0fe97afeef4533fd328a5a2ea2b432fbf136146b /llvm/lib
parent29bd2194979c50097edb39a4beb714bff8c153a1 (diff)
downloadbcm5719-llvm-c2377eae286bbe616267bef772ee736b030dd007.tar.gz
bcm5719-llvm-c2377eae286bbe616267bef772ee736b030dd007.zip
[clang][Tooling] Prefer -x over -std when interpolating
Summary: Currently interpolation logic prefers -std over -x. But the latter is a more strong signal, so this patch inverts the order and only makes use of -std if -x didn't exist. Fixes https://github.com/clangd/clangd/issues/185 Thanks @sammccall for tracking this down! Reviewers: sammccall Subscribers: ilya-biryukov, usaxena95, cfe-commits, sammccall Tags: #clang Differential Revision: https://reviews.llvm.org/D71727
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud