Author Topic: QtCreator will embrace Clang as its code completion engine  (Read 9819 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

hzlixiong

  • Guest
Re: QtCreator will embrace Clang as its code completion engine
« Reply #1 on: October 22, 2011, 12:38:31 pm »
I try to use clang codecompletion, it work well in codecompletion and jump to declaration, but I don't know how to jump to function implementation, beacuse the current TU have no information about what a function implementation.

Can you have any idea?

[REMOVED NON-ENGLISH CONTENT]
« Last Edit: October 22, 2011, 03:38:34 pm by MortenMacFly »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: QtCreator will embrace Clang as its code completion engine
« Reply #2 on: October 22, 2011, 12:56:34 pm »
CB forum is English only, i think i will give a pm later.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: QtCreator will embrace Clang as its code completion engine
« Reply #3 on: October 22, 2011, 02:24:31 pm »
btw, what does TU stand for?
Regards,
xunxun

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: QtCreator will embrace Clang as its code completion engine
« Reply #4 on: October 22, 2011, 02:26:03 pm »
btw, what does TU stand for?
translation unit.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.