blob: d822ac98c125a23d0b6e16ec3f3451dd38adbff1 [file] [log] [blame]
Etienne Bergeronde1ec032016-05-10 15:31:15 +00001//===--- DanglingHandleCheck.h - clang-tidy----------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_MISC_OPTIONUTILS_H
11#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_MISC_OPTIONUTILS_H
12
13#include "../ClangTidy.h"
14
15namespace clang {
16namespace tidy {
17namespace utils {
18namespace options {
19
20/// \brief Parse a semicolon separated list of strings.
21std::vector<std::string> parseStringList(StringRef Option);
22
23/// \brief Serialize a sequence of names that can be parsed by
Alexander Kornienkoc732c612016-06-17 12:01:15 +000024/// ``parseStringList``.
Etienne Bergeronde1ec032016-05-10 15:31:15 +000025std::string serializeStringList(ArrayRef<std::string> Strings);
26
27} // namespace options
28} // namespace utils
29} // namespace tidy
30} // namespace clang
31
32#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_MISC_OPTIONUTILS_H