svn commit: r1926005 - /subversion/trunk/configure.ac

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: brane
Date: Sat May 31 10:35:36 2025
New Revision: 1926005

URL: http://svn.apache.org/viewvc?rev=1926005&view=rev
Log:
Improve the generated .clangd file by adding language tags to the sections.

* configure.ac
  (svn_dot_clangdcc_contents): Add --language=c.
  (svn_dot_clangdxx_contents): Add --language=c++.

Modified:
    subversion/trunk/configure.ac

Modified: subversion/trunk/configure.ac
URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=1926005&r1=1926004&r2=1926005&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Sat May 31 10:35:36 2025
@@ -61,7 +61,8 @@ If:
   PathExclude: [subversion/bindings/javahl/native/.*]
 
 CompileFlags:
-  Add:'
+  Add:
+    - --language=c'
 
   svn_dot_clangdxx_contents='---
 # C++
@@ -69,7 +70,8 @@ If:
   PathMatch: [.*\.[ch]pp|.*/bindings/javahl/native/.*\.h]
 
 CompileFlags:
-  Add:'
+  Add:
+    - --language=c++'
 ],
 [])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.