[all-commits] [llvm/llvm-project] 5a0749: [ABI][NFC] Fix the confusion of ByVal and ByRef ar...

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Thu Aug 6 05:26:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a07490d7611088277dca4c1c06c2002403b7039
      https://github.com/llvm/llvm-project/commit/5a07490d7611088277dca4c1c06c2002403b7039
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2020-08-06 (Thu, 06 Aug 2020)

  Changed paths:
    M clang/lib/CodeGen/ABIInfo.h
    M clang/lib/CodeGen/TargetInfo.cpp

  Log Message:
  -----------
  [ABI][NFC] Fix the confusion of ByVal and ByRef argument names

The second argument of getNaturalAlignIndirect() was `bool ByRef`, but
the implementation was just delegating to getIndirect() with `ByRef`
passed unchanged to `bool ByVal` parameter of getIndirect().

Fix a couple of /*ByRef=*/ comments as well.

Reviewed By: rjmccall

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




More information about the All-commits mailing list