[all-commits] [llvm/llvm-project] 64f046: [lldb][NFC] Modernize and cleanup TestClassTemplat...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Dec 1 06:58:18 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64f04629aa7a4cf9d2deb725683959faa4a857fe
      https://github.com/llvm/llvm-project/commit/64f04629aa7a4cf9d2deb725683959faa4a857fe
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-12-01 (Tue, 01 Dec 2020)

  Changed paths:
    A lldb/test/API/lang/cpp/class-template-parameter-pack/Makefile
    M lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py
    M lldb/test/API/lang/cpp/class-template-parameter-pack/main.cpp
    A lldb/test/API/lang/cpp/non-type-template-param/Makefile
    A lldb/test/API/lang/cpp/non-type-template-param/TestAlignAsBaseClass.py
    A lldb/test/API/lang/cpp/non-type-template-param/main.cpp

  Log Message:
  -----------
  [lldb][NFC] Modernize and cleanup TestClassTemplateParameterPack

* Un-inline the test.
* Use expect_expr everywhere and also check all involved types.
* Clang-format the test sources.
* Explain what we're actually testing with the 'C' and 'D' templates.
* Split out the non-template-parameter-pack part of the test into its own small test.




More information about the All-commits mailing list