User Details
- User Since
- Jul 11 2015, 3:14 PM (402 w, 5 d)
Jul 7 2020
great, thanks for the help - please land the other change then
Jul 3 2020
@jkorous ping? can you chime in on either of the two patches? I'm fine with either, and D82629 comes with a test too. So maybe let's just go with that one? If so, could you integrate that one please?
Jun 30 2020
this relates to https://reviews.llvm.org/D82740 too, but comes with a test which is good. personally I would place the check directly within Visit to make it more generically prevent a crash on invalid input, but that's probably a subjective design decision.
Also see https://reviews.llvm.org/D82629 which I believe is also a fix for this crash. But I didn't use a VLA in my code, but maybe the parse error just triggered something similar like that.
@jkorous how would you use a debugger (would be GDB for me) to find the source - I would have to use RR or something like that to see why and where the invalid node is added, no?
Jun 29 2020
I'm not sure how to write a unit test for this, but I ran into a reproducible crash with a complex C++ file which got fixed by this patch
May 15 2020
Apr 23 2020
ping?
ping?
Apr 20 2020
with this patch I could just use the global lit and don't need to add the build dir to my PATH. But, thinking about it, I can also symlink llvm-lit into a custom folder in my PATH and see if that works. If you don't want to merge this, I'll abandon it, please tell me if you would prefer it like that.
Apr 16 2020
I'm using lit 0.10.0 installed via pip 20.0.2 using python 3.8.2
Apr 15 2020
nope, without the symlink I get:
fixup commit message
May 21 2019
thanks!
Do you have commit rights? Can you push that for me?
May 17 2019
@nik odd, it works for me, I just switched to master (previously I used the 8x release branch) and applied this patch and build it all. Then I run:
Apr 17 2019
Apr 14 2019
looks good, but this needs a test, could you add one please?
Jan 9 2018
I'm pretty sure this is not ABI compatible. You change the size of CXCompletionResult, so when anyone is iterating over the array in CXCompletionResults it will break. If you don't want to, I can try to find some time to take this over again ;-)
still looks good to me. can someone else please review and commit this?
Can this be abandoned now that the issue Erik has mentioned got fixed?
Sep 21 2017
I don't think this upholds the ABI guarantee, but maybe I'm wrong? Can someone else chime in please? @klimek ?
Sep 9 2017
lgtm, but could we get some more tests rather than only this one for templates?
superseded by https://reviews.llvm.org/D37650
Aug 30 2017
Apr 19 2017
lgtm in general, but this patch is missing a unit test
Sep 15 2016
agreed, lgtm but someone else must accept this upstream
Sep 12 2016
Long time no see - sorry for the delay. I want to pick this up again. Would you say I should add the tests as separate tests (i.e. something like -code-completion-cursors-at), or should I rather output the cursor in addition when requesting -code-completion-at, and then extend all existing unit tests with the cursor information?
Sep 11 2016
ping, any update on this?
Mar 24 2016
+1 from my side, but someone else has to approve
+1 from my side, but someone else has to approve.
Mar 5 2016
Mar 2 2016
lgtm - I should have done that directly. Sadly, I didn't receive my commit rights either yet ;-)
@akyrtzi raises a very valid point - I did not think about that. KDevelop uses the clang-c API and does fuzzy matching on top of the results, e.g. for camel-case matching. But, we currently always request code completion at a word start boundary so nothing would change for us. That said, I see how this patch could be seen as a breaking behavior change, and thus should probably only get enabled by an explicit option - if at all.
I'm not yet acquainted enough with the code at hand, but I wonder whether I'm understanding the code correctly:
Feb 29 2016
Thanks Manuel!
attended klimek's review comments
Ping? This patch would be very helpful for us to have in KDevelop. Can anyone give us a review please? I'm willing to amend it as needed to get this issue resolved.
Feb 21 2016
Feb 20 2016
closing then, since this has been landed
Dec 23 2015
lgtm, but someone else should approve
Dec 13 2015
lgtm, but someone else should approve
Nov 22 2015
From my POV this is still fine. Manuel, Sergey - could you have a look at this please and push it upstream if you agree with me?
Nov 14 2015
From my POV, this looks good.
Nov 1 2015
+1 from my side, but someone else has to approve
Oct 19 2015
Adding tests wouldn't hurt though, quite the contrary. Especially if it wasn't tested before. Otherwise, this looks good to me.
Oct 13 2015
This looks good to me, but it's missing a unit test. Take a look at http://reviews.llvm.org/D13388 for how to do that in principle.
Yep, looks good to me as well - thanks!
Oct 9 2015
any suggestion as to where put unit tests for this?
Oct 1 2015
Is there still an error reported for the invalid condition?
Sep 18 2015
Ping? Can someone please submit this upstream?