forked from reactorlabs/rir
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.ycm_extra_conf.py
More file actions
33 lines (31 loc) · 874 Bytes
/
.ycm_extra_conf.py
File metadata and controls
33 lines (31 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import os
import ycm_core
def DirectoryOfThisScript():
return os.path.dirname( os.path.abspath( __file__ ) )
def Settings( **kwargs ):
return {
'flags': [
'-x',
'c++',
'-std=c++20',
'-Drir_EXPORTS',
'-DENABLE_SLOWASSERT',
'-I'+DirectoryOfThisScript()+'/rir/src',
'-isystem'+DirectoryOfThisScript()+'/external/custom-r/include',
'-isystem'+DirectoryOfThisScript()+'/external/llvm-12/include',
'-isystem'+DirectoryOfThisScript()+'/external/llvm-12.0.0.src/include',
'-Wall',
'-Wuninitialized',
'-Wundef',
'-Winit-self',
'-Wcast-align',
'-Woverloaded-virtual',
'-Wctor-dtor-privacy',
'-Wmissing-include-dirs',
'-Wstrict-overflow=5',
'-Werror',
'-fno-rtti',
'-fno-exceptions',
'-Wimplicit-fallthrough',
],
}