Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Clang CC
yvesdm3000:
--- Quote from: Alpha on January 28, 2017, 04:26:36 pm ---I probably could have done a better job choosing the name; I had not considered "lib" being in important prefix/suffix...
The intent of the name was that this plugin would also support other functionality retrievable via clang, such as true semantic highlighting, auto suggest (+/- apply) fixes for warnings and errors, refactoring, reformatting, etc.
--- End quote ---
I actually haven't found reformatting functionality in libclang, only using a cmd-line tool which is not based on libclang but on the 'continuously-changing' c++ classes... I think if it is based on an external tool, it should have its own C::B plugin.
Yves
oBFusCATed:
Yes, clang-format doesn't require a compiler it is standalone tool or library...
yvesdm3000:
For the users of ClangCC, I just pushed a fix for an issue when a file that is not part of the project would be saved, caused a crash on ClangCC.
(on the staging branch)
Yves
MortenMacFly:
Dear Yves,
I've tried to compile this plugin on a more recent compiler. I suggest to apply the patch that is attached to:
- get rid of the deprecated auto_ptr
- simplify the singleton pattern
- fix an compiler error in non-PCH builds due to missing #include <iostream>
The patch applies to 2 files on the staging branch only: cclogger{.h/.cpp}.
oBFusCATed:
Another note: if you're using CC_LOCKER_TRACK_TT_MTX_LOCK I guess you'll have to fix its implementation ;)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version