clang-metatool
A framework for reusing code in clang tools
definitions_data.h
Go to the documentation of this file.
1 #ifndef INCLUDED_CLANGMETATOOL_COLLECTORS_DEFINITIONS_DATA_H
2 #define INCLUDED_CLANGMETATOOL_COLLECTORS_DEFINITIONS_DATA_H
3 
4 #include <unordered_map>
5 
6 #include <clang/AST/Decl.h>
7 
9 
10 namespace clangmetatool {
11 namespace collectors {
12 
17 public:
22  std::unordered_multimap<types::FileUID, const clang::NamedDecl *> defs;
23 };
24 
25 } // namespace collectors
26 } // namespace clangmetatool
27 
28 #endif // INCLUDED_CLANGMETATOOL_COLLECTORS_DEFINITIONS_DATA_H
29 
30 // ----------------------------------------------------------------------------
31 // Copyright 2018 Bloomberg Finance L.P.
32 //
33 // Licensed under the Apache License, Version 2.0 (the "License");
34 // you may not use this file except in compliance with the License.
35 // You may obtain a copy of the License at
36 //
37 // http://www.apache.org/licenses/LICENSE-2.0
38 //
39 // Unless required by applicable law or agreed to in writing, software
40 // distributed under the License is distributed on an "AS IS" BASIS,
41 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 // See the License for the specific language governing permissions and
43 // limitations under the License.
44 // ----------------------------- END-OF-FILE ----------------------------------
std::unordered_multimap< types::FileUID, const clang::NamedDecl * > defs