[all-commits] [llvm/llvm-project] be26bd: [Utils] Reuse argument variable names in the body

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Dec 30 23:59:27 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: be26bd55130b6b13c40d0cf0ba97bf5cf3197487
      https://github.com/llvm/llvm-project/commit/be26bd55130b6b13c40d0cf0ba97bf5cf3197487
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2019-12-31 (Tue, 31 Dec 2019)

  Changed paths:
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/argument_name_reuse.ll
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/argument_name_reuse.ll.expected
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/argument_name_reuse.ll.plain.expected
    M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll.funcsig.expected
    A llvm/test/tools/UpdateTestChecks/update_test_checks/argument_name_reuse.test
    M llvm/utils/UpdateTestChecks/common.py

  Log Message:
  -----------
  [Utils] Reuse argument variable names in the body

If we have `int foo(int a) { return a; }` and we run with --function-signature
enabled, we want a single variable declaration for `a` which is reused
later.

Reviewed By: lebedev.ri

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




More information about the All-commits mailing list