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

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5377
  • 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.

see:
http://llvm.org/devmtg/2010-11/

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

Also, some related stuff about code completion for vim:
https://github.com/Silex/clang_complete

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