Author Topic: clang and libclang showcase!  (Read 13108 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5931
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
clang and libclang showcase!
« on: January 13, 2011, 04:14:32 am »
I just found the video of showing the libclang and autocompletion.


and especially this section:
   libclang: Thinking Beyond the Compiler
        Doug Gregor, Apple Inc.

Also, some related stuff about code completion for vim:

there are some discussion to directly link to libclang instead of using clang.exe command line.

 :D :D :D
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 JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: clang and libclang showcase!
« Reply #1 on: January 13, 2011, 11:24:23 pm »
whoa really cool, no need to compile the code to know where are the syntax errors, warnings and everything else :D