clang options file uses more succint dict syntax
This commit is contained in:
parent
f120c0ce1c
commit
1fd2515617
@ -43,8 +43,7 @@ def MakeAbsoluteIfRelativePath( path ):
|
||||
|
||||
|
||||
def FlagsForFile( filename ):
|
||||
results = {}
|
||||
results[ 'flags' ] = [ MakeAbsoluteIfRelativePath( x ) for x in flags ]
|
||||
results[ 'do_cache' ] = True
|
||||
return results
|
||||
|
||||
return {
|
||||
'flags': [ MakeAbsoluteIfRelativePath( x ) for x in flags ],
|
||||
'do_cache': True
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user