<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
On 11/8/2021 11:57 AM, Adam Light wrote:<br>
<blockquote type="cite"
cite="mid:CACTDJ6gjm2kLb24Ka7k+XLqhBaLcnfGp9m8fN9TbDdkT2X4VNg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">[...]
<div><br>
</div>
I realize that clangd is considered experimental, but surely
it's not this slow for others, right?</div>
</blockquote>
<br>
I can't speak for its use in Qt Creator, but some weeks back I tried
to use clang directly to create a parse tree for one of the C++
modules in my project in the hopes of being able to use it to detect
scope changes and to identify other elements for something I was
writing (<a class="moz-txt-link-freetext" href="https://www.github.com/b0bh00d/Dreadlock">https://www.github.com/b0bh00d/Dreadlock</a>).<br>
<br>
It took clang <i>almost</i><i> 10 minutes</i> to parse one file.<br>
<br>
Needless to say, I abandoned that approach and instead wrote a small
Python script that achieved the desired results in just hundreds of
milliseconds.<br>
</body>
</html>