[all-commits] [llvm/llvm-project] e08c43: [clang][ExtractAPI][NFC] Fix sed delimiter in test

Zixu Wang via All-commits all-commits at lists.llvm.org
Tue Apr 12 10:04:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e08c435401bc335c687b693591feafd7dbca1455
      https://github.com/llvm/llvm-project/commit/e08c435401bc335c687b693591feafd7dbca1455
  Author: Zixu Wang <zixu_wang at apple.com>
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
    M clang/test/ExtractAPI/enum.c
    M clang/test/ExtractAPI/global_record.c
    M clang/test/ExtractAPI/global_record_multifile.c
    M clang/test/ExtractAPI/known_files_only.c
    M clang/test/ExtractAPI/known_files_only_hmap.c
    M clang/test/ExtractAPI/language.c
    M clang/test/ExtractAPI/macro_undefined.c
    M clang/test/ExtractAPI/macros.c
    M clang/test/ExtractAPI/objc_category.m
    M clang/test/ExtractAPI/objc_interface.m
    M clang/test/ExtractAPI/objc_protocol.m
    M clang/test/ExtractAPI/struct.c
    M clang/test/ExtractAPI/typedef.c
    M clang/test/ExtractAPI/typedef_anonymous_record.c
    M clang/test/ExtractAPI/typedef_chain.c

  Log Message:
  -----------
  [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 at gmail.com>
Co-authored-by: Zixu Wang <9819235+zixu-w at users.noreply.github.com>




More information about the All-commits mailing list