[all-commits] [llvm/llvm-project] aa0d71: [clang] NFC: test for undefined behaviour in RawCo...

Dmitry Polukhin via All-commits all-commits at lists.llvm.org
Mon Jun 7 03:06:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa0d7179bbb3fd24bc9eb1fd6203565dbd50e8d8
      https://github.com/llvm/llvm-project/commit/aa0d7179bbb3fd24bc9eb1fd6203565dbd50e8d8
  Author: Dmitry Polukhin <dmitry.polukhin at gmail.com>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M clang/unittests/AST/CommentTextTest.cpp

  Log Message:
  -----------
  [clang] NFC: test for undefined behaviour in RawComment::getFormattedText()

This diff adds testcase for the issue fixed in https://reviews.llvm.org/D77468
but regression test was not added in the diff. On Clang 9 it caused
crash in cland during code completion.

Test Plan: check-clang-unit

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




More information about the All-commits mailing list