Skip to content

WenxiJin/.clang_complete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

clang_complete

Scripts for clang completion

This script is for generating a .clang_complete that could be utilized by emacs irony-mode or company-clang mode.

It takes make VERBOSE=1 log as input to generate the desired .clang_complete file.

$ make VERBOSE=1 > compile.log

or

$ make V=1 > compile.log

even better with

$ make -n > compile.log

Note: CMake-generated Makefiles only support VERBOSE=1, not V=1. compile.log could be any name you want.

$ ruby cc_args.rb compile.log

TODO: allow "-include ../some_dir/some_header"

About

Scripts for clang completion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages