[NFC] Migrate some callers away from Function/AttributeLists methods that take an...
authorArthur Eubanks <aeubanks@google.com>
Tue, 17 Aug 2021 00:12:49 +0000 (17:12 -0700)
committerArthur Eubanks <aeubanks@google.com>
Wed, 18 Aug 2021 04:05:40 +0000 (21:05 -0700)
commitad727ab7d9c21abe8b62df617d72e2c98d767561
tree335de702a2d233f6ec7d52ae4afd30b372ad83a5
parent46cf82532cf1502b6320517a2ef42d8c435e598a
[NFC] Migrate some callers away from Function/AttributeLists methods that take an index

These methods can be confusing.
19 files changed:
clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/TargetInfo.cpp
llvm/include/llvm/CodeGen/IndirectThunks.h
llvm/include/llvm/IR/Attributes.h
llvm/include/llvm/IR/Function.h
llvm/lib/IR/Attributes.cpp
llvm/lib/IR/AutoUpgrade.cpp
llvm/lib/IR/Function.cpp
llvm/lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
llvm/lib/Target/Mips/Mips16HardFloat.cpp
llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
llvm/lib/Transforms/Coroutines/CoroSplit.cpp
llvm/lib/Transforms/IPO/FunctionAttrs.cpp
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
llvm/lib/Transforms/Scalar/SCCP.cpp
llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
llvm/unittests/IR/AttributesTest.cpp