summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2020-02-26 09:03:03 +0100
committerKadir Cetinkaya <kadircet@google.com>2020-02-26 09:28:39 +0100
commit0fe369ad5ff69394b9076b1a679502c3993488d1 (patch)
tree61837e33f54b29273df6e108315dd9627024d150 /llvm/test
parent002af0119286297dbd76b08a4a6cc4b6b87d3f26 (diff)
downloadbcm5719-llvm-0fe369ad5ff69394b9076b1a679502c3993488d1.tar.gz
bcm5719-llvm-0fe369ad5ff69394b9076b1a679502c3993488d1.zip
Strip preceeding -Xclang when stripping -fcolor-diagnostics or -fdiagnostics-color
Summary: Fixes https://github.com/clangd/clangd/issues/279. We were removing the color options but not the preceeding -Xclang which causes errors since the -Xclang would now apply to the next option in the list of options. Now, when removing a color option, we check if there was a preceeding -Xclang and remove it as well. Patch By @DaanDeMeyer ! Reviewers: sammccall, kadircet Reviewed By: sammccall Subscribers: ilya-biryukov, usaxena95 Differential Revision: https://reviews.llvm.org/D75019 (cherry picked from commit da236f235028c82c2f0e00eea1f6f9c689bcae4a)
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud