[all-commits] [llvm/llvm-project] 8cb5c8: [libc++] Improves pragma system_header test.

mordante via All-commits all-commits at lists.llvm.org
Wed Jul 6 11:55:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8cb5c82ad23b367bb411a6f75d6520001c4ed66b
      https://github.com/llvm/llvm-project/commit/8cb5c82ad23b367bb411a6f75d6520001c4ed66b
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2022-07-06 (Wed, 06 Jul 2022)

  Changed paths:
    M libcxx/test/libcxx/lint/lint_headers.sh.py

  Log Message:
  -----------
  [libc++] Improves pragma system_header test.

The number of spaces between `#` and `pragma` can differ due to
different indention levels in the preprocessor directives. Therefore
allow any number of spaces.

The test used to put an exclamation mark in its diagnostic. This adds
little benefit and only makes it harder to copy the offending filename.
As drive-by this exclamation mark has been removed.

Reviewed By: ldionne, #libc

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




More information about the All-commits mailing list