An error occurred while loading the file. Please try again.
-
Jüri Valdmann authored
Linking fails if re2 was built against libstdc++. Change-Id: I69868ff284c8d23ccd7219f4da6ec750ff7674b9 Reviewed-by:
Michal Klocek <michal.klocek@qt.io>
160b43c1
#!/usr/bin/env python
import re, sys, os
includedMocs = set()
for f in filter(os.path.isfile, sys.argv[1:]):
inBlockComment = False
for line in open(f).readlines():
m = re.search('#include "(moc_\w+.cpp)"', line)
if m:
includedMocs.add(m.group(1))
for moc in includedMocs:
print moc