Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Clang CC
yvesdm3000:
--- Quote from: MortenMacFly on February 06, 2016, 08:44:33 pm ---Another thing: Please don't use code that is not portable. alloca for example is very bad and should never be used.
--- End quote ---
A question, where did you see the use of alloca ?
Please always use the "master" branch. The "develop" branch is mostly playground for new features and is hopelessly unstable right now due to some problems inside the clang-library itself.
Yves
Alpha:
By the way, I would like to help clean up code when I have time. Do you think you will have a set of commits ready for me to pull upstream anytime soon?
yvesdm3000:
Hi Alpha,
I'm not ready to push this upstream yet:
I'm mostly working on the tokendatabase right now, using an indexing job to parse all files within the workspace. It's a complex matter, with tokens parsed from unsaved files going into the database but you don't want half of the tokens available to the point where it's parsing in any db lookup from the editor, and we only want it persisted when the file is saved (otherwise you type some symbols, they get parsed, inserted in the database and then you close without saving ==> tokens still in the database) etc...
I first tried with a revision number, but that became hopelessly complex so I dropped this in favour of different instances of tokendatabases that can be merged when needed or dropped on failure or cancellation. It has a superior advantage that a thread can update it's own tokendatabase and it gets merged into the main database after the file is successfully parsed.
Yves
MortenMacFly:
--- Quote from: Alpha on February 09, 2016, 03:30:02 pm ---By the way, I would like to help clean up code when I have time.
--- End quote ---
You could also just fork from Yves repo and send pull requests to Yves...
Alpha:
--- Quote from: MortenMacFly on February 09, 2016, 08:07:20 pm ---
--- Quote from: Alpha on February 09, 2016, 03:30:02 pm ---By the way, I would like to help clean up code when I have time.
--- End quote ---
You could also just fork from Yves repo and send pull requests to Yves...
--- End quote ---
I have done that already. However, since it would likely include a decent number of whitespace edits, I was trying to avoid merging troubles.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version