[FileCheck] - Refactor the code related to string arrays. NFCI.
authorGeorgii Rymar <grimar@accesssoftek.com>
Wed, 15 Apr 2020 12:30:21 +0000 (15:30 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Mon, 20 Apr 2020 11:54:49 +0000 (14:54 +0300)
commit76e0ab23f683693c05c5baa365365d7abb22d7c8
tree484af17623a645226f032b4400191e08c7b119c0
parent1c57752ff5e2e5effcedc5da097c4109696f44bb
[FileCheck] - Refactor the code related to string arrays. NFCI.

There are few `std::vector<std::string>` members in
`FileCheckRequest`. This patch changes these arrays to `std::vector<StringRef>`
and refactors the code related to cleanup/improve/simplify it.

Differential revision: https://reviews.llvm.org/D78202
llvm/include/llvm/Support/FileCheck.h
llvm/lib/Support/FileCheck.cpp
llvm/lib/Support/FileCheckImpl.h
llvm/unittests/Support/FileCheckTest.cpp
llvm/utils/FileCheck/FileCheck.cpp