llvm.org GIT mirror llvm / 43b665d
Revised BatchEmitOwnedPtrs to work better with constant pointers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43861 91177308-0d34-0410-b5e6-96231b3b80d8 Ted Kremenek 12 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8585 }
8686
8787 template
88 void BatchEmitOwnedPtrs(unsigned NumPtrs, T** Ptrs) {
88 void BatchEmitOwnedPtrs(unsigned NumPtrs, T* const * Ptrs) {
8989 for (unsigned i = 0; i < NumPtrs; ++i)
9090 EmitPtr(Ptrs[i]);
9191