Home » Community » U++ community news and announcements » 2025.1rc4
Re: 2025.1rc4 [message #61585 is a reply to message #61580] |
Thu, 20 March 2025 09:17   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
Novo wrote on Thu, 20 March 2025 05:47I checked TheIDE with valgrind (debug version of TheIDE + open the ide package). A result is attached.
I ran valgrind three times and each time result was different.
This doesn't look good to me. I doubt that this is a problem with clangd itself.
Checked our code, I do not see anything wrong with it...
And it is really simple really:
CXCursor cursor = clang_getTranslationUnitCursor(tu);
pp_id = clang_getCursorPrintingPolicy(cursor);
pp_pretty = clang_getCursorPrintingPolicy(cursor);
for(int i = 0; i <= CXPrintingPolicy_LastProperty; i++) {
clang_PrintingPolicy_setProperty(pp_id, (CXPrintingPolicyProperty)i, 0);
clang_PrintingPolicy_setProperty(pp_pretty, (CXPrintingPolicyProperty)i, 0);
}
for(CXPrintingPolicyProperty p : {
CXPrintingPolicy_SuppressSpecifiers,
CXPrintingPolicy_SuppressTagKeyword,
CXPrintingPolicy_SuppressUnwrittenScope,
CXPrintingPolicy_SuppressInitializers,
CXPrintingPolicy_SuppressStrongLifetime,
CXPrintingPolicy_SuppressLifetimeQualifiers,
CXPrintingPolicy_SuppressTemplateArgsInCXXConstructors,
CXPrintingPolicy_TerseOutput,
CXPrintingPolicy_SuppressImplicitBase,
#ifndef UBUNTU2204_WORKAROUND
CXPrintingPolicy_FullyQualifiedName,
#endif
CXPrintingPolicy_Bool })
clang_PrintingPolicy_setProperty(pp_id, p, 1);
clang_PrintingPolicy_setProperty(pp_pretty, CXPrintingPolicy_TerseOutput, 1);
clang_PrintingPolicy_setProperty(pp_pretty, CXPrintingPolicy_Bool, 1);
clang_PrintingPolicy_setProperty(pp_pretty, CXPrintingPolicy_SuppressScope, 1);
initialized = true;
clang_visitChildren(cursor, clang_visitor, this); <<<<<<<<<<<<<<<< valgrind problem
So the only input is 'tu', the rest are legal libclang calls. And checking the rest of code, 'tu' is either nullptr or result of translate....
Mirek
|
|
|
 |
|
2025.1rc4
By: mirek on Fri, 07 March 2025 15:48
|
 |
|
Re: 2025.1rc4
By: Novo on Thu, 13 March 2025 04:42
|
 |
|
Re: 2025.1rc4
By: mirek on Fri, 14 March 2025 13:54
|
 |
|
Re: 2025.1rc4
By: Novo on Sat, 15 March 2025 05:11
|
 |
|
Re: 2025.1rc4
By: mirek on Sat, 15 March 2025 08:57
|
 |
|
Re: 2025.1rc4
By: Novo on Sat, 15 March 2025 16:20
|
 |
|
Re: 2025.1rc4
By: Novo on Sat, 15 March 2025 16:44
|
 |
|
Re: 2025.1rc4
By: mirek on Sun, 16 March 2025 09:37
|
 |
|
Re: 2025.1rc4
By: Novo on Sun, 16 March 2025 23:05
|
 |
|
Re: 2025.1rc4
By: mirek on Mon, 17 March 2025 09:11
|
 |
|
Re: 2025.1rc4
By: Novo on Mon, 17 March 2025 16:19
|
 |
|
Re: 2025.1rc4
By: mirek on Mon, 17 March 2025 20:18
|
 |
|
Re: 2025.1rc4
By: Novo on Mon, 17 March 2025 22:53
|
 |
|
Re: 2025.1rc4
By: mirek on Mon, 17 March 2025 23:51
|
 |
|
Re: 2025.1rc4
By: Novo on Tue, 18 March 2025 01:22
|
 |
|
Re: 2025.1rc4
By: Novo on Tue, 18 March 2025 04:52
|
 |
|
Re: 2025.1rc4
By: mirek on Tue, 18 March 2025 11:21
|
 |
|
Re: 2025.1rc4
By: Klugier on Tue, 18 March 2025 19:26
|
 |
|
Re: 2025.1rc4
By: Novo on Wed, 19 March 2025 00:09
|
 |
|
Re: 2025.1rc4
By: mirek on Wed, 19 March 2025 10:02
|
 |
|
Re: 2025.1rc4
By: Novo on Tue, 18 March 2025 22:24
|
 |
|
Re: 2025.1rc4
By: Novo on Tue, 18 March 2025 22:26
|
 |
|
Re: 2025.1rc4
By: mirek on Wed, 19 March 2025 10:39
|
 |
|
Re: 2025.1rc4
By: Novo on Tue, 18 March 2025 23:00
|
 |
|
Re: 2025.1rc4
By: mirek on Wed, 19 March 2025 10:59
|
 |
|
Re: 2025.1rc4
By: Novo on Wed, 19 March 2025 18:39
|
 |
|
Re: 2025.1rc4
By: mirek on Wed, 19 March 2025 20:38
|
 |
|
Re: 2025.1rc4
By: Novo on Thu, 20 March 2025 05:47
|
 |
|
Re: 2025.1rc4
By: Novo on Thu, 20 March 2025 06:17
|
 |
|
Re: 2025.1rc4
By: mirek on Thu, 20 March 2025 08:58
|
 |
|
Re: 2025.1rc4
By: Novo on Thu, 20 March 2025 17:23
|
 |
|
Re: 2025.1rc4
By: mirek on Thu, 20 March 2025 23:10
|
 |
|
Re: 2025.1rc4
By: Novo on Fri, 21 March 2025 02:39
|
 |
|
Re: 2025.1rc4
By: Novo on Fri, 21 March 2025 04:52
|
 |
|
Re: 2025.1rc4
By: Novo on Fri, 21 March 2025 05:11
|
 |
|
Re: 2025.1rc4
By: Novo on Fri, 21 March 2025 05:21
|
 |
|
Re: 2025.1rc4
By: Novo on Fri, 21 March 2025 05:43
|
 |
|
Re: 2025.1rc4
By: Novo on Fri, 21 March 2025 05:59
|
 |
|
Re: 2025.1rc4
By: Novo on Fri, 21 March 2025 06:09
|
 |
|
Re: 2025.1rc4
By: Novo on Fri, 21 March 2025 06:15
|
 |
|
Re: 2025.1rc4
By: mirek on Fri, 21 March 2025 07:53
|
 |
|
Re: 2025.1rc4
By: Novo on Fri, 21 March 2025 18:20
|
 |
|
Re: 2025.1rc4
By: Novo on Sat, 22 March 2025 02:44
|
 |
|
Re: 2025.1rc4
By: mirek on Sat, 22 March 2025 08:31
|
 |
|
Re: 2025.1rc4
By: mirek on Sat, 22 March 2025 11:30
|
 |
|
Re: 2025.1rc4
By: Novo on Sun, 23 March 2025 05:43
|
 |
|
Re: 2025.1rc4
By: Novo on Sun, 23 March 2025 05:38
|
 |
|
Re: 2025.1rc4
By: mirek on Sun, 23 March 2025 07:56
|
 |
|
Re: 2025.1rc4
By: Novo on Sun, 23 March 2025 20:19
|
 |
|
Re: 2025.1rc4
By: mirek on Sun, 23 March 2025 20:37
|
 |
|
Re: 2025.1rc4
By: Novo on Mon, 24 March 2025 04:51
|
 |
|
Re: 2025.1rc4
By: mirek on Mon, 24 March 2025 08:08
|
 |
|
Re: 2025.1rc4
By: mirek on Thu, 20 March 2025 09:17
|
 |
|
Re: 2025.1rc4
By: Novo on Thu, 20 March 2025 17:20
|
Goto Forum:
Current Time: Sat Aug 16 16:54:53 CEST 2025
Total time taken to generate the page: 0.06532 seconds
|