
This reverts commit bc39d7bdd4977a953b2e102f8f7eb479ad78984e. rename CLANG_SONAME to LIBCLANG_SOVERSION [clang][cmake] introduce option CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION Differential Revision: https://reviews.llvm.org/D132486
12 lines
225 B
Python
12 lines
225 B
Python
import re
|
|
import os
|
|
import sys
|
|
|
|
input_file = open(sys.argv[1])
|
|
output_file = open(sys.argv[2], 'w')
|
|
|
|
for line in input_file:
|
|
m = re.search('^\s+(clang_[^;]+)', line)
|
|
if m:
|
|
output_file.write(m.group(1) + "\n")
|