Searched refs:ArgVStorage (Results 1 – 2 of 2) sorted by relevance
18 std::vector<std::unique_ptr<char[]>> ArgVStorage; in runAsMain() local21 ArgVStorage.reserve(Args.size() + (ProgramName ? 1 : 0)); in runAsMain()25 ArgVStorage.push_back(std::make_unique<char[]>(ProgramName->size() + 1)); in runAsMain()26 llvm::copy(*ProgramName, &ArgVStorage.back()[0]); in runAsMain()27 ArgVStorage.back()[ProgramName->size()] = '\0'; in runAsMain()28 ArgV.push_back(ArgVStorage.back().get()); in runAsMain()32 ArgVStorage.push_back(std::make_unique<char[]>(Arg.size() + 1)); in runAsMain()33 llvm::copy(Arg, &ArgVStorage.back()[0]); in runAsMain()34 ArgVStorage.back()[Arg.size()] = '\0'; in runAsMain()35 ArgV.push_back(ArgVStorage.back().get()); in runAsMain()
24 std::vector<std::unique_ptr<char[]>> ArgVStorage; in runAsMain() local27 ArgVStorage.reserve(Args.size() + (ProgramName ? 1 : 0)); in runAsMain()31 ArgVStorage.push_back(std::make_unique<char[]>(ProgramName->size() + 1)); in runAsMain()32 llvm::copy(*ProgramName, &ArgVStorage.back()[0]); in runAsMain()33 ArgVStorage.back()[ProgramName->size()] = '\0'; in runAsMain()34 ArgV.push_back(ArgVStorage.back().get()); in runAsMain()38 ArgVStorage.push_back(std::make_unique<char[]>(Arg.size() + 1)); in runAsMain()39 llvm::copy(Arg, &ArgVStorage.back()[0]); in runAsMain()40 ArgVStorage.back()[Arg.size()] = '\0'; in runAsMain()41 ArgV.push_back(ArgVStorage.back().get()); in runAsMain()