clang-metatool
A framework for reusing code in clang tools
definitions.h
Go to the documentation of this file.
1 #ifndef INCLUDED_CLANGMETATOOL_COLLECTORS_DEFINITIONS_H
2 #define INCLUDED_CLANGMETATOOL_COLLECTORS_DEFINITIONS_H
3 
4 #include <clang/Frontend/CompilerInstance.h>
5 #include <clang/ASTMatchers/ASTMatchFinder.h>
6 
8 
9 namespace clangmetatool {
10 namespace collectors {
11 
15 class DefinitionsImpl;
16 
20 class Definitions {
21 private:
25  DefinitionsImpl *impl;
26 
27 public:
33  Definitions(clang::CompilerInstance *ci, clang::ast_matchers::MatchFinder *f);
34 
38  ~Definitions();
39 
44 };
45 
46 } // namespace collectors
47 } // namespace clangmetatool
48 
49 #endif // INCLUDED_CLANGMETATOOL_COLLECTORS_DEFINITIONS_H
50 
51 // ----------------------------------------------------------------------------
52 // Copyright 2018 Bloomberg Finance L.P.
53 //
54 // Licensed under the Apache License, Version 2.0 (the "License");
55 // you may not use this file except in compliance with the License.
56 // You may obtain a copy of the License at
57 //
58 // http://www.apache.org/licenses/LICENSE-2.0
59 //
60 // Unless required by applicable law or agreed to in writing, software
61 // distributed under the License is distributed on an "AS IS" BASIS,
62 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
63 // See the License for the specific language governing permissions and
64 // limitations under the License.
65 // ----------------------------- END-OF-FILE ----------------------------------
Definitions(clang::CompilerInstance *ci, clang::ast_matchers::MatchFinder *f)