xref: /openbsd-src/gnu/llvm/clang/lib/Tooling/DumpTool/APIData.h (revision a9ac8606c53d55cee9c3a39778b249c51df111ef)
1*a9ac8606Spatrick //===- APIData.h ---------------------------------------------*- C++ -*----===//
2*a9ac8606Spatrick //
3*a9ac8606Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*a9ac8606Spatrick // See https://llvm.org/LICENSE.txt for license information.
5*a9ac8606Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*a9ac8606Spatrick //
7*a9ac8606Spatrick //===----------------------------------------------------------------------===//
8*a9ac8606Spatrick 
9*a9ac8606Spatrick #ifndef LLVM_CLANG_LIB_TOOLING_DUMPTOOL_APIDATA_H
10*a9ac8606Spatrick #define LLVM_CLANG_LIB_TOOLING_DUMPTOOL_APIDATA_H
11*a9ac8606Spatrick 
12*a9ac8606Spatrick #include <string>
13*a9ac8606Spatrick #include <vector>
14*a9ac8606Spatrick 
15*a9ac8606Spatrick namespace clang {
16*a9ac8606Spatrick namespace tooling {
17*a9ac8606Spatrick 
18*a9ac8606Spatrick struct ClassData {
19*a9ac8606Spatrick   std::vector<std::string> ASTClassLocations;
20*a9ac8606Spatrick   std::vector<std::string> ASTClassRanges;
21*a9ac8606Spatrick   std::vector<std::string> TemplateParms;
22*a9ac8606Spatrick   std::vector<std::string> TypeSourceInfos;
23*a9ac8606Spatrick   std::vector<std::string> TypeLocs;
24*a9ac8606Spatrick   std::vector<std::string> NestedNameLocs;
25*a9ac8606Spatrick   std::vector<std::string> DeclNameInfos;
26*a9ac8606Spatrick };
27*a9ac8606Spatrick 
28*a9ac8606Spatrick } // namespace tooling
29*a9ac8606Spatrick } // namespace clang
30*a9ac8606Spatrick 
31*a9ac8606Spatrick #endif
32