diff options
author | Michael Liao <michael.hliao@gmail.com> | 2020-05-27 15:58:07 -0400 |
---|---|---|
committer | Michael Liao <michael.hliao@gmail.com> | 2020-05-27 16:37:53 -0400 |
commit | 03481287ca530494512d128cbbdc9c87f2d84921 (patch) | |
tree | c0d04a33ed27f8677e97c2b1ea3a08a7882d01ce /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 804a39a201567f5f615246bf99cf8e8ff7e006c8 (diff) | |
download | llvm-03481287ca530494512d128cbbdc9c87f2d84921.zip llvm-03481287ca530494512d128cbbdc9c87f2d84921.tar.gz llvm-03481287ca530494512d128cbbdc9c87f2d84921.tar.bz2 |
Refactor argument attribute specification in intrinsic definition. NFC.
- Argument attribute needs specifiying through `ArgIndex<n>`
(corresponding to `FirstArgIndex`) to distinguish explicitly from the
index number from the overloaded type list.
- In addition, `RetIndex` (corresponding to `ReturnIndex`) and
`FuncIndex` (corresponding to `FunctionIndex`) are introduced for us
to associate attributes on the return value and potentially function
itself.
Differential Revision: https://reviews.llvm.org/D80422
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions