<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: clangd broken command line options in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/clangd-broken-command-line-options/m-p/1614330#M3942</link>
    <description>&lt;P&gt;clangd doesn't come with Intel's oneAPI toolkits. And why is it a compiler issue?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 23:15:40 GMT</pubDate>
    <dc:creator>Alex_Y_Intel</dc:creator>
    <dc:date>2024-07-11T23:15:40Z</dc:date>
    <item>
      <title>clangd broken command line options</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/clangd-broken-command-line-options/m-p/1610346#M3919</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;System:&lt;BR /&gt;Intel oneAPI 2024.2.0&lt;BR /&gt;Windows 10/11 and Linux RHEL8&lt;/P&gt;&lt;P&gt;Problem:&lt;BR /&gt;We found out that the clangd executable does not work either on Windows or Linux&lt;BR /&gt;We need this feature for version detection in our IDE (vs code, clion etc.)&lt;/P&gt;&lt;P&gt;On Windows we get:&lt;BR /&gt;clangd --version&lt;BR /&gt;clangd.exe: Unknown command line argument '--version'. Try: 'D:\p4ws\repo_cache\software\intel\oneAPI\2024.2.0\windows\compiler\2024.2\bin\compiler\clangd.exe --help'&lt;BR /&gt;clangd.exe: Did you mean '--log'?&lt;BR /&gt;clangd -v&lt;BR /&gt;clangd.exe: Unknown command line argument '-v'. Try: 'D:\p4ws\repo_cache\software\intel\oneAPI\2024.2.0\windows\compiler\2024.2\bin\compiler\clangd.exe --help'&lt;BR /&gt;clangd.exe: Did you mean '-j'?&lt;BR /&gt;clangd --help&lt;BR /&gt;clangd.exe: Unknown command line argument '--help'. Try: 'D:\p4ws\repo_cache\software\intel\oneAPI\2024.2.0\windows\compiler\2024.2\bin\compiler\clangd.exe --help'&lt;BR /&gt;clangd.exe: Did you mean '--check'?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 12:01:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/clangd-broken-command-line-options/m-p/1610346#M3919</guid>
      <dc:creator>Frank_R_1</dc:creator>
      <dc:date>2024-06-27T12:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: clangd broken command line options</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/clangd-broken-command-line-options/m-p/1612534#M3932</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI:&lt;/P&gt;&lt;P&gt;clang-format.exe --help&lt;BR /&gt;clang-format.exe: Unknown command line argument '--help'. Try: 'D:clang-format.exe --help'&lt;BR /&gt;clang-format.exe: Did you mean '-n'?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 12:26:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/clangd-broken-command-line-options/m-p/1612534#M3932</guid>
      <dc:creator>Frank_R_1</dc:creator>
      <dc:date>2024-07-05T12:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: clangd broken command line options</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/clangd-broken-command-line-options/m-p/1614330#M3942</link>
      <description>&lt;P&gt;clangd doesn't come with Intel's oneAPI toolkits. And why is it a compiler issue?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 23:15:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/clangd-broken-command-line-options/m-p/1614330#M3942</guid>
      <dc:creator>Alex_Y_Intel</dc:creator>
      <dc:date>2024-07-11T23:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: clangd broken command line options</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/clangd-broken-command-line-options/m-p/1614481#M3943</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course it comes with the installation of Intel oneAPI:&lt;/P&gt;&lt;P&gt;C:\intel\oneAPI\2024.2.0\windows\compiler\2024.2\bin\compiler\clangd.exe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The whole llvm clang suite is installed under this path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just wanted to transport the information to the Intel developer team, that the command line options are messed up!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 08:08:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/clangd-broken-command-line-options/m-p/1614481#M3943</guid>
      <dc:creator>Frank_R_1</dc:creator>
      <dc:date>2024-07-12T08:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: clangd broken command line options</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/clangd-broken-command-line-options/m-p/1614647#M3947</link>
      <description>&lt;P&gt;My apologies, you're right that clangd comes in oneAPI package.&amp;nbsp;&lt;BR /&gt;I checked on Linux and Windows; for Linux I'm able to use --help to display a list of help options:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;$ clangd --help&lt;BR /&gt;OVERVIEW: clangd is a language server that provides IDE-like features to editors.&lt;/P&gt;
&lt;P&gt;It should be used via an editor plugin rather than invoked directly. For more information, se e:&lt;BR /&gt;&lt;A href="https://clangd.llvm.org/" target="_blank"&gt;https://clangd.llvm.org/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://microsoft.github.io/language-server-protocol/" target="_blank"&gt;https://microsoft.github.io/language-server-protocol/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;clangd accepts flags on the commandline, and in the CLANGD_FLAGS environment variable.&lt;/P&gt;
&lt;P&gt;USAGE: clangd [options]&lt;/P&gt;
&lt;P&gt;OPTIONS:&lt;/P&gt;
&lt;P&gt;Generic Options:&lt;/P&gt;
&lt;P&gt;--help - Display available options (--help-hidden for more)&lt;BR /&gt;--help-list - Display list of available options (--help-list-hidden for more)&lt;BR /&gt;--version - Display the version of this program&lt;/P&gt;
&lt;P&gt;clangd compilation flags options:&lt;/P&gt;
&lt;P&gt;--compile-commands-dir=&amp;lt;string&amp;gt; - Specify a path to look for compile_commands.json. If path is invalid, clangd will look in the current directory and parent paths of each source file&lt;BR /&gt;--query-driver=&amp;lt;string&amp;gt; - Comma separated list of globs for white-listing gcc-compa tible drivers that are safe to execute. Drivers matching any of these globs will be used to e xtract system includes. e.g. /usr/bin/**/clang-*,/path/to/repo/**/g++-*&lt;/P&gt;
&lt;P&gt;clangd feature options:&lt;/P&gt;
&lt;P&gt;--all-scopes-completion - If set to true, code completion will include index symbol s that are not defined in the scopes (e.g. namespaces) visible from the code completion point . Such completions can insert scope qualifiers&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ clangd --version&lt;BR /&gt;clangd version 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--version and --help don't work on Windows.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll check with our internal team.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 21:04:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/clangd-broken-command-line-options/m-p/1614647#M3947</guid>
      <dc:creator>Alex_Y_Intel</dc:creator>
      <dc:date>2024-07-12T21:04:53Z</dc:date>
    </item>
  </channel>
</rss>

