[webkit-changes] [WebKit/WebKit] b4f187: Clangd should correctly interpret Objective-C and ...

Charlie Wolfe noreply at github.com
Mon Oct 30 16:23:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b4f187a0bdc9a93549b6995087076550fec1ab2c
      https://github.com/WebKit/WebKit/commit/b4f187a0bdc9a93549b6995087076550fec1ab2c
  Author: Charlie Wolfe <charliew at apple.com>
  Date:   2023-10-30 (Mon, 30 Oct 2023)

  Changed paths:
    M .clangd

  Log Message:
  -----------
  Clangd should correctly interpret Objective-C and Objective-C++ files
https://bugs.webkit.org/show_bug.cgi?id=263930
rdar://117709162

Reviewed by Yusuke Suzuki.

The clangd language server will often crash when trying to parse Objective-C and Objective-C++ files.

Add `-xobjective-c` and `-xobjective-c++` flags so that clangd correctly interprets .m/.mm files.

* .clangd:

Canonical link: https://commits.webkit.org/269982@main




More information about the webkit-changes mailing list