+2018-11-26 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * update-copyright.py (TestsuiteFilter): Skip .d tests.
+ (LibPhobosFilter): Add filter for upstream D sources.
+ (GCCCopyright): Add D Language Foundation as external author.
+ (GCCCmdLine): Add libphobos.
+
2018-11-19 Martin Liska <mliska@suse.cz>
* check_GNU_style_lib.py: Detect mixed usage
'.c',
'.C',
'.cc',
+ '.d',
'.h',
'.hs',
'.f',
'soft-fp',
])
+class LibPhobosFilter (GenericFilter):
+ def __init__ (self):
+ GenericFilter.__init__ (self)
+
+ self.skip_files |= set ([
+ # Source module imported from upstream.
+ 'object.d',
+ ])
+
+ self.skip_dirs |= set ([
+ # Contains sources imported from upstream.
+ 'core',
+ 'etc',
+ 'gc',
+ 'gcstub',
+ 'rt',
+ 'std',
+ ])
+
class LibStdCxxFilter (GenericFilter):
def __init__ (self):
GenericFilter.__init__ (self)
self.add_external_author ('Silicon Graphics')
self.add_external_author ('Stephen L. Moshier')
self.add_external_author ('Sun Microsystems, Inc. All rights reserved.')
+ self.add_external_author ('The D Language Foundation, All Rights Reserved')
self.add_external_author ('The Go Authors. All rights reserved.')
self.add_external_author ('The Go Authors. All rights reserved.')
self.add_external_author ('The Go Authors.')
self.add_dir ('libitm')
self.add_dir ('libobjc')
# liboffloadmic is imported from upstream.
+ self.add_dir ('libphobos', LibPhobosFilter())
self.add_dir ('libquadmath')
# libsanitizer is imported from upstream.
self.add_dir ('libssp')
'libiberty',
'libitm',
'libobjc',
+ 'libphobos',
'libssp',
'libstdc++-v3',
'libvtv',