Title: [295042] trunk/.clangd
Revision
295042
Author
[email protected]
Date
2022-05-30 21:50:57 -0700 (Mon, 30 May 2022)

Log Message

Clangd should always interpret headers as C++
https://bugs.webkit.org/show_bug.cgi?id=241118

Reviewed by Saam Barati.

Attach `-xc++` flag to headers in .clangd to interpret all headers as C++ by default.

* .clangd:

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

Modified Paths

Diff

Modified: trunk/.clangd (295041 => 295042)


--- trunk/.clangd	2022-05-31 04:18:39 UTC (rev 295041)
+++ trunk/.clangd	2022-05-31 04:50:57 UTC (rev 295042)
@@ -1,7 +1,7 @@
 If:
     PathMatch: [.*\.h]
 CompileFlags:
-    Add: [--include=config.h]
+    Add: [-xc++, --include=config.h]
 ---
 If:
     PathMatch: [.*\.cpp]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to