[all-commits] [llvm/llvm-project] de5f96: [lldb] Add unittests for a few FileSpec methods

Alex via All-commits all-commits at lists.llvm.org
Fri Apr 7 14:01:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de5f96e99aedd641cc0bbb9ae4a156db4ae3c4c4
      https://github.com/llvm/llvm-project/commit/de5f96e99aedd641cc0bbb9ae4a156db4ae3c4c4
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-04-07 (Fri, 07 Apr 2023)

  Changed paths:
    M lldb/include/lldb/Utility/FileSpec.h
    M lldb/unittests/Utility/FileSpecTest.cpp

  Log Message:
  -----------
  [lldb] Add unittests for a few FileSpec methods

This adds tests for:
- FileSpec::TestFileNameExtensions
- FileSpec::TestFileNameStrippingExtension
- FileSpec::IsSourceImplementationFile

This additionally updates incorrect documentation.

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




More information about the All-commits mailing list