]> granicus.if.org Git - llvm/commit
Rewrite a function so that it doesn't use pointers to pointers. NFC.
authorRui Ueyama <ruiu@google.com>
Tue, 3 Oct 2017 03:09:05 +0000 (03:09 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 3 Oct 2017 03:09:05 +0000 (03:09 +0000)
commitee23d30e7a770da4c2a1563563d9de791e1b00f5
tree0a32da1dd975c21f9984ba8aef9ff44c08ccf802
parenteb5fecf4d16be47d72b82fe8c6935476104722b0
Rewrite a function so that it doesn't use pointers to pointers. NFC.

Previous code was a bit puzzling because of its use of pointers.
In this patch, we pass a vector and its offsets, instead of pointers to
vector elements.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314756 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/StringTableBuilder.cpp