clang options file uses more succint dict syntax

This commit is contained in:
Strahinja Val Markovic 2012-08-03 10:26:11 -07:00
parent f120c0ce1c
commit 1fd2515617

View File

@ -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 }