summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2020-05-09 12:34:06 +0200
committerSam McCall <sam.mccall@gmail.com>2020-06-10 13:53:27 +0200
commitcb89646a4a888b8721adbc746e167f31fd484c11 (patch)
tree44b482864ec336466096e9cbaf56a2555476542c /lldb/packages/Python/lldbsuite/test/python_api
parent357e79c2895736c9d202c79380e3e1f507080df3 (diff)
downloadbcm5719-llvm-cb89646a4a888b8721adbc746e167f31fd484c11.tar.gz
bcm5719-llvm-cb89646a4a888b8721adbc746e167f31fd484c11.zip
[clangd] Filter pch related flags coming from the user
Summary: PCH format is unstable, hence using a preamble built with a different version of clang (or even worse, a different compiler) might result in unexpected behaviour. PCH creation on the other hand is something clangd wouldn't want to perform, as it doesn't generate any output files. This patch makes sure clangd drops any PCH related compile commands after parsing the command line args. Fixes https://github.com/clangd/clangd/issues/248 Reviewers: sammccall Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D79669 (cherry picked from commit 35d867a790c2bcf2008b2ee1895ae8af2793b797) Dropped the test as it depends on nontrivial changes from master. The code is very simple and identical to that tested on master. Fixes https://github.com/clangd/clangd/issues/419
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud