[all-commits] [llvm/llvm-project] 595c37: Fix the const overload of IgnoreExprNodes

Jesse Zhang via All-commits all-commits at lists.llvm.org
Tue Apr 13 09:05:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 595c3758e47042c876e7390d09642ea050ba6dbf
      https://github.com/llvm/llvm-project/commit/595c3758e47042c876e7390d09642ea050ba6dbf
  Author: Jesse Zhang <sbjesse at gmail.com>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

  Changed paths:
    M clang/include/clang/AST/IgnoreExpr.h

  Log Message:
  -----------
  Fix the const overload of IgnoreExprNodes

The existing code causes an infinite recursion. This is likely an
oversight of commit c0e5e3fbfa504c37 [1] where the intent must have been
to call the non-const overload.

[1] https://reviews.llvm.org/D87278

Reviewed By: gribozavr2

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




More information about the All-commits mailing list