[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-project/creduce] d83cbd: fixed an issue of infinitely looking-up function d...



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/creduce
  Commit: d83cbda191ec419487594b2768e49e0924bbed02
      https://github.com/csmith-project/creduce/commit/d83cbda191ec419487594b2768e49e0924bbed02
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2020-04-20 (Mon, 20 Apr 2020)

  Changed paths:
    M clang_delta/RemoveUnusedFunction.cpp
    A clang_delta/tests/remove-unused-function/inline_ns.cc

  Log Message:
  -----------
  fixed an issue of infinitely looking-up function decls

Don't recursively look into a namespace if it's the same as the
current Ctx.

The patch was provided by user202729@github and the reduced test case was
from marxin@github. Thank you!