Etienne Bergeron | de1ec03 | 2016-05-10 15:31:15 +0000 | [diff] [blame] | 1 | //===--- 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 | |
| 15 | namespace clang { |
| 16 | namespace tidy { |
| 17 | namespace utils { |
| 18 | namespace options { |
| 19 | |
| 20 | /// \brief Parse a semicolon separated list of strings. |
| 21 | std::vector<std::string> parseStringList(StringRef Option); |
| 22 | |
| 23 | /// \brief Serialize a sequence of names that can be parsed by |
Alexander Kornienko | c732c61 | 2016-06-17 12:01:15 +0000 | [diff] [blame] | 24 | /// ``parseStringList``. |
Etienne Bergeron | de1ec03 | 2016-05-10 15:31:15 +0000 | [diff] [blame] | 25 | std::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 |