File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -735,8 +735,8 @@ def _all_platform_patch(compile_args: typing.List[str]):
735
735
# For more context see: https://github.com/hedronvision/bazel-compile-commands-extractor/issues/21
736
736
compile_args = (arg for arg in compile_args if not arg == '-fno-canonical-system-headers' )
737
737
738
- # Swap -isysroot for --sysroot to work around (probably) https://github.com/ clangd/clangd/issues/1305
739
- # For context, see https://github.com/clangd/clangd /issues/1305
738
+ # Swap -isysroot for --sysroot to work around some unknown sysroot bug in clangd.
739
+ # For context, see https://github.com/hedronvision/bazel-compile-commands-extractor /issues/82
740
740
# The = logic has to do with clang not accepting -isysroot=, but accepting --sysroot=. Note that -isysroot <path> is accepted, though undocumented.
741
741
compile_args = ('-isysroot' + arg [len ('--sysroot' )+ arg .startswith ('--sysroot=' ):] if arg .startswith ('--sysroot' ) else arg for arg in compile_args )
742
742
You can’t perform that action at this time.
0 commit comments