//===--- ClangCommentCommandInfoEmitter.cpp - Generate command lists -----====// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This tablegen backend emits command lists and efficient matchers for command // names that are used in documentation comments. // //===----------------------------------------------------------------------===// #include "TableGenBackends.h" #include "llvm/TableGen/Record.h" #include "llvm/TableGen/StringMatcher.h" #include "llvm/TableGen/TableGenBackend.h" #include <vector> usingnamespacellvm; void clang::EmitClangCommentCommandInfo(const RecordKeeper &Records, raw_ostream &OS) { … } static std::string MangleName(StringRef Str) { … } void clang::EmitClangCommentCommandList(const RecordKeeper &Records, raw_ostream &OS) { … }