[all-commits] [llvm/llvm-project] 6e089e: [libclang] Fix crash when visiting a captured VLA

jkorous-apple via All-commits all-commits at lists.llvm.org
Wed Jul 8 13:10:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e089e98a9d5d7d0dda259f68b8ba7f4556cc5b3
      https://github.com/llvm/llvm-project/commit/6e089e98a9d5d7d0dda259f68b8ba7f4556cc5b3
  Author: Christian Kandeler <christian.kandeler at qt.io>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M clang/test/Index/evaluate-cursor.cpp
    M clang/tools/libclang/CIndex.cpp

  Log Message:
  -----------
  [libclang] Fix crash when visiting a captured VLA

Array returned by LambdaExpr::capture_inits() can contain nullptrs.

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




More information about the All-commits mailing list