ReverseFlux

ycmd

Feb 8th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. import os
  2. import ycm_core
  3.  
  4. flags = [
  5. '-Wall',
  6. '-Wextra',
  7. '-Werror',
  8. '-Wno-long-long',
  9. '-Wno-variadic-macros',
  10. '-fexceptions',
  11. '-ferror-limit=10000',
  12. '-DNDEBUG',
  13. '-std=c99',
  14. '-xc',
  15. '-isystem/usr/include/',
  16. ]
  17.  
  18. SOURCE_EXTENSIONS = [ '.cpp', '.cxx', '.cc', '.c', ]
  19.  
  20. def FlagsForFile( filename, **kwargs ):
  21. return {
  22. 'flags': flags,
  23. 'do_cache': True
  24. }
Advertisement
Add Comment
Please, Sign In to add comment