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 ):
|
def FlagsForFile( filename ):
|
||||||
results = {}
|
return {
|
||||||
results[ 'flags' ] = [ MakeAbsoluteIfRelativePath( x ) for x in flags ]
|
'flags': [ MakeAbsoluteIfRelativePath( x ) for x in flags ],
|
||||||
results[ 'do_cache' ] = True
|
'do_cache': True
|
||||||
return results
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user