|
|
|||
File indexing completed on 2026-05-10 08:36:22
0001 //===--- DanglingHandleCheck.h - clang-tidy----------------------*- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 0009 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_MISC_OPTIONUTILS_H 0010 #define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_MISC_OPTIONUTILS_H 0011 0012 #include "clang/Basic/LLVM.h" 0013 #include <string> 0014 #include <vector> 0015 0016 namespace clang::tidy::utils::options { 0017 0018 /// Parse a semicolon separated list of strings. 0019 std::vector<StringRef> parseStringList(StringRef Option); 0020 0021 std::vector<StringRef> parseListPair(StringRef L, StringRef R); 0022 0023 /// Serialize a sequence of names that can be parsed by 0024 /// ``parseStringList``. 0025 std::string serializeStringList(ArrayRef<StringRef> Strings); 0026 0027 } // namespace clang::tidy::utils::options 0028 0029 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_MISC_OPTIONUTILS_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|