[all-commits] [llvm/llvm-project] 780ead: [Syntax] No crash on OpaqueValueExpr.

Haojian Wu via All-commits all-commits at lists.llvm.org
Thu Feb 18 01:32:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 780ead41e075eb7875874633cd9c6f2d5ceab95e
      https://github.com/llvm/llvm-project/commit/780ead41e075eb7875874633cd9c6f2d5ceab95e
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M clang/lib/Tooling/Syntax/BuildTree.cpp
    M clang/unittests/Tooling/Syntax/BuildTreeTest.cpp

  Log Message:
  -----------
  [Syntax] No crash on OpaqueValueExpr.

OpaqueValueExpr doesn't correspond to the concrete syntax, it has
invalid source location, ignore them.

Reviewed By: kbobyrev

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




More information about the All-commits mailing list