[clang][ExtractAPI][NFC] Fix sed delimiter in test
authorZixu Wang <zixu_wang@apple.com>
Mon, 11 Apr 2022 17:52:36 +0000 (10:52 -0700)
committerZixu Wang <zixu_wang@apple.com>
Tue, 12 Apr 2022 17:00:15 +0000 (10:00 -0700)
commite08c435401bc335c687b693591feafd7dbca1455
tree21ed343e53f68ce1dac0cde67f9902109bd57ec8
parente90110e696c72e5f1f72df6d11a71acf38e4e400
[clang][ExtractAPI][NFC] Fix sed delimiter in test

Fix path replacement in sed (properly this time) using lit
regex_replacement.

Differential Revision: https://reviews.llvm.org/D123526

Co-authored-by: Michele Scandale <michele.scandale@gmail.com>
Co-authored-by: Zixu Wang <9819235+zixu-w@users.noreply.github.com>
15 files changed:
clang/test/ExtractAPI/enum.c
clang/test/ExtractAPI/global_record.c
clang/test/ExtractAPI/global_record_multifile.c
clang/test/ExtractAPI/known_files_only.c
clang/test/ExtractAPI/known_files_only_hmap.c
clang/test/ExtractAPI/language.c
clang/test/ExtractAPI/macro_undefined.c
clang/test/ExtractAPI/macros.c
clang/test/ExtractAPI/objc_category.m
clang/test/ExtractAPI/objc_interface.m
clang/test/ExtractAPI/objc_protocol.m
clang/test/ExtractAPI/struct.c
clang/test/ExtractAPI/typedef.c
clang/test/ExtractAPI/typedef_anonymous_record.c
clang/test/ExtractAPI/typedef_chain.c