forked from OSchip/llvm-project
45707d4d5a
Users often call getArgumentList().size(), which is a linear way to get the number of function arguments. arg_size(), on the other hand, is constant time. In general, the fact that arguments are stored in an iplist is an implementation detail, so I've removed it from the Function interface and moved all other users to the argument container APIs (arg_begin(), arg_end(), args(), arg_size()). Reviewed By: chandlerc Differential Revision: https://reviews.llvm.org/D31052 llvm-svn: 298010 |
||
---|---|---|
.. | ||
AddressSanitizer.cpp | ||
BoundsChecking.cpp | ||
CFGMST.h | ||
CMakeLists.txt | ||
DataFlowSanitizer.cpp | ||
EfficiencySanitizer.cpp | ||
GCOVProfiling.cpp | ||
IndirectCallPromotion.cpp | ||
InstrProfiling.cpp | ||
Instrumentation.cpp | ||
LLVMBuild.txt | ||
MaximumSpanningTree.h | ||
MemorySanitizer.cpp | ||
PGOInstrumentation.cpp | ||
SanitizerCoverage.cpp | ||
ThreadSanitizer.cpp |