[all-commits] [llvm/llvm-project] ebb0a2: [GlobPattern] Update invalid glob pattern diagnost...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Aug 8 20:25:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ebb0a210995dcf69d9696f8e14629e1378e63a21
      https://github.com/llvm/llvm-project/commit/ebb0a210995dcf69d9696f8e14629e1378e63a21
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    M clang-tools-extra/test/pp-trace/pp-trace-filter.cpp
    M lld/Common/Strings.cpp
    M lld/ELF/Driver.cpp
    M lld/test/ELF/dead-reloc-in-nonalloc.s
    M lld/test/ELF/remap-inputs.test
    M lld/test/ELF/shuffle-sections.s
    M lld/test/ELF/undefined-glob.s
    M lld/test/ELF/version-script-complex-wildcards.s
    M lld/test/ELF/warn-backrefs.s
    M llvm/lib/Support/GlobPattern.cpp
    M llvm/test/tools/llvm-ifs/exclude.test
    M llvm/test/tools/llvm-objcopy/ELF/wildcard-syntax.test

  Log Message:
  -----------
  [GlobPattern] Update invalid glob pattern diagnostic for unmatched '['

Update this diagnostic to mention the reason (unmatched '['), matching
the other diagnostic about stray '\'. The original pattern is omitted,
as some users may mention the original pattern in another position, not
repeating it.




More information about the All-commits mailing list