summaryrefslogtreecommitdiff
path: root/elpa/irony-20220110.849/server/src/support/CommandLineParser.h
blob: b7647974b0737d71b876b5db399b3666d802b744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * \file
 * \brief Facility to parse a command line into a string array.
 *
 * \note Please note that the code borrowed from the Clang,
 * lib/Tooling/JSONCompilationDatabase.cpp.
 *
 * This file is distributed under the GNU General Public License. See
 * COPYING for details.
 */

#ifndef IRONY_MODE_SERVER_SUPPORT_COMMAND_LINE_PARSER_H_
#define IRONY_MODE_SERVER_SUPPORT_COMMAND_LINE_PARSER_H_

#include <string>
#include <vector>

std::vector<std::string>
unescapeCommandLine(const std::string &escapedCommandLine);

#endif // IRONY_MODE_SERVER_SUPPORT_COMMAND_LINE_PARSER_H_