Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

Clang CC

<< < (36/48) > >>

yvesdm3000:
Sadly it's not that simple...

http://clang.llvm.org/doxygen/group__CINDEX__TRANSLATION__UNIT.html

However I need to experiment a little more and possibly look a bit at the clang code to see if I do pass the header-file as an "unsaved_file" it detects that and reparses the header file(s), maybe it would only work if the header-file is a first-level header file (e.g. specified directly in the .cpp file). Maybe it needs to be in the unsaved_file list at the initial parse to work or something like that...

Yves

yvesdm3000:
Hi,

Function overrides for the 'goto implementation' operation is now implemented on the 'staging' branch.

So if you go to a function implementation that points to a pure virtual function, it will also search for the implementation(s) in subclasses.

I'm still pondering if I should also do the same for non-pure virtual functions and offer the user a list, or if this should be a separate operation like 'Find function overrides'.

Yves

yvesdm3000:
Just pushed fixes and a .cbp for wxWidgets 3.0 support on the 'staging' branch.

Compiling for wxWidgets 3.0 should now work correctly and I'll be continuously testing it, just like I do for wxWidgets 2.8.

Yves

BlueHazzard:
honestly: your project files (for windows) are a danger for the commonality. Everywhere hard coded paths (THE OUTPUT IS TO C:\git ????????? honestly??????) ...
i have cleaned up and will make a pull request, but i am not able to run the plugin... Codeblocks gives me errors about symbols not loaded and depwalker shows me unresolved symbols for libclang.dll i thought clang is linked in statically?

[edit:] my problem is that the official build of clang is for msvc and i need a build for mingw...

yvesdm3000:

--- Quote from: BlueHazzard on October 27, 2016, 11:36:56 am ---honestly: your project files (for windows) are a danger for the commonality. Everywhere hard coded paths (THE OUTPUT IS TO C:\git ????????? honestly??????) ...
i have cleaned up and will make a pull request, but i am not able to run the plugin... Codeblocks gives me errors about symbols not loaded and depwalker shows me unresolved symbols for libclang.dll i thought clang is linked in statically?

[edit:] my problem is that the official build of clang is for msvc and i need a build for mingw...

--- End quote ---
Hi,
No clang is not linked in statically.
Sorry that the project file for windows isn't of high quality yet. Patches are welcome. It is pretty hard for me to test this on windows since that is not my main platform. Please indicate if you are willing to clean up the project file since I don't want to do duplicate work. If not, I'll take a look at it.

Yves

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version