[all-commits] [llvm/llvm-project] 70f952: [clang][utils] Also match "col:" when looking for ...

Bruno Ricci via All-commits all-commits at lists.llvm.org
Fri Jun 19 05:42:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 70f952bebe38f8117e6ce8986cd39f735b7b3d69
      https://github.com/llvm/llvm-project/commit/70f952bebe38f8117e6ce8986cd39f735b7b3d69
  Author: Bruno Ricci <riccibrun at gmail.com>
  Date:   2020-06-19 (Fri, 19 Jun 2020)

  Changed paths:
    M clang/utils/make-ast-dump-check.sh

  Log Message:
  -----------
  [clang][utils] Also match "col:" when looking for the end of builtins

Some AST dump tests have no "line:" at all. See "ast-dump-wchar.cpp" for
an example.


  Commit: d3b752845df0331348dad48000fc8b82afb3de5b
      https://github.com/llvm/llvm-project/commit/d3b752845df0331348dad48000fc8b82afb3de5b
  Author: Bruno Ricci <riccibrun at gmail.com>
  Date:   2020-06-19 (Fri, 19 Jun 2020)

  Changed paths:
    M clang/test/AST/ast-dump-overloaded-operators.cpp
    M clang/test/AST/ast-dump-pipe.cl
    M clang/test/AST/ast-dump-record-definition-data.cpp
    M clang/test/AST/ast-dump-records.c
    M clang/test/AST/ast-dump-records.cpp
    M clang/test/AST/ast-dump-special-member-functions.cpp
    M clang/test/AST/ast-dump-stmt.c
    M clang/test/AST/ast-dump-stmt.cpp
    M clang/test/AST/ast-dump-stmt.m
    M clang/test/AST/ast-dump-template-decls.cpp
    M clang/test/AST/ast-dump-traits.cpp
    M clang/test/AST/ast-dump-wasm-attr-export.c
    M clang/test/AST/ast-dump-wasm-attr-import.c
    M clang/test/AST/ast-dump-wchar.cpp

  Log Message:
  -----------
  [clang][test][NFC] Also test for serialization in AST dump tests, part 1/n.

The outputs between the direct ast-dump test and the ast-dump test after
deserialization should match modulo a few differences.

For hand-written tests, strip the "<undeserialized declarations>"s and
the "imported"s with sed.

For tests generated with "make-ast-dump-check.sh", regenerate the
output.

Part 1/n.


Compare: https://github.com/llvm/llvm-project/compare/3f2e61c1fe42...d3b752845df0


More information about the All-commits mailing list