[all-commits] [llvm/llvm-project] 6d8e5c: [NFC] Make file offsets a regex to handle CRLF

Chris B via All-commits all-commits at lists.llvm.org
Thu Feb 10 18:39:50 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d8e5c968538eff2c024d46d5715de0828a69407
      https://github.com/llvm/llvm-project/commit/6d8e5c968538eff2c024d46d5715de0828a69407
  Author: Chris Bieneman <cbieneman at microsoft.com>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    M clang/test/AST/ast-dump-comment-json.cpp
    M clang/test/AST/ast-dump-decl-context-json.cpp
    M clang/test/AST/ast-dump-decl-json.c
    M clang/test/AST/ast-dump-decl-json.m
    M clang/test/AST/ast-dump-enum-json.cpp
    M clang/test/AST/ast-dump-expr-json.c
    M clang/test/AST/ast-dump-expr-json.cpp
    M clang/test/AST/ast-dump-expr-json.m
    M clang/test/AST/ast-dump-file-line-json.c
    M clang/test/AST/ast-dump-funcs-json.cpp
    M clang/test/AST/ast-dump-if-json.cpp
    M clang/test/AST/ast-dump-macro-json.c
    M clang/test/AST/ast-dump-namespace-json.cpp
    M clang/test/AST/ast-dump-objc-arc-json.m
    M clang/test/AST/ast-dump-record-definition-data-json.cpp
    M clang/test/AST/ast-dump-records-json.cpp
    M clang/test/AST/ast-dump-stmt-json.c
    M clang/test/AST/ast-dump-stmt-json.cpp
    M clang/test/AST/ast-dump-stmt-json.m
    M clang/test/AST/ast-dump-template-decls-json.cpp
    M clang/test/AST/ast-dump-temporaries-json.cpp
    M clang/test/AST/ast-dump-types-errors-json.cpp
    M clang/test/AST/ast-dump-types-json.cpp
    M clang/test/AST/multistep-explicit-cast-json.c
    M clang/test/AST/multistep-explicit-cast-json.cpp
    M clang/test/Analysis/expr-inspection.c

  Log Message:
  -----------
  [NFC] Make file offsets a regex to handle CRLF

None of these tests are really intended to test the file offset as much
as to test the structure. Making the regex allows this test to work
even if the file is checked out with CRLF line endings.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list