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