[all-commits] [llvm/llvm-project] 32dede: [AST] Fix QualTypeNamesTest, which was spuriously ...

Sam McCall via All-commits all-commits at lists.llvm.org
Wed Dec 15 12:55:40 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32dede65ae98703855d90b55d0b4ec0ebf88a385
      https://github.com/llvm/llvm-project/commit/32dede65ae98703855d90b55d0b4ec0ebf88a385
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M clang/unittests/Tooling/QualTypeNamesTest.cpp

  Log Message:
  -----------
  [AST] Fix QualTypeNamesTest, which was spuriously passing

The empty VisitDecl() meant all assertions were skipped.
Meanwhile the assertions have rotted as some type printing has changed.

The test is still in the wrong directory, because it requires TestVisitor.h
which uses Tooling APIs.




More information about the All-commits mailing list