3 #===- make/filter-inputs ---------------------------------------------------===#
5 # The LLVM Compiler Infrastructure
7 # This file is distributed under the University of Illinois Open Source
8 # License. See LICENSE.TXT for details.
10 #===------------------------------------------------------------------------===#
12 # Given a list of files, return a new list of files taking only the
13 # first file for any particular filename.
18 for file in sys
.argv
[1:]:
19 base
= os
.path
.basename(file)
24 if __name__
== '__main__':