clang-metatool
A framework for reusing code in clang tools
references.h
Go to the documentation of this file.
1 #ifndef INCLUDED_CLANGMETATOOL_COLLECTORS_REFERENCES_H
2 #define INCLUDED_CLANGMETATOOL_COLLECTORS_REFERENCES_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 ReferencesImpl;
16 
21 class References {
22 private:
26  ReferencesImpl *impl;
27 
28 public:
34  References(clang::CompilerInstance *ci, clang::ast_matchers::MatchFinder *f);
35 
39  ~References();
40 
45 };
46 
47 } // namespace collectors
48 } // namespace clangmetatool
49 
50 #endif // INCLUDED_CLANGMETATOOL_COLLECTORS_REFERENCES_H
51 
52 // ----------------------------------------------------------------------------
53 // Copyright 2018 Bloomberg Finance L.P.
54 //
55 // Licensed under the Apache License, Version 2.0 (the "License");
56 // you may not use this file except in compliance with the License.
57 // You may obtain a copy of the License at
58 //
59 // http://www.apache.org/licenses/LICENSE-2.0
60 //
61 // Unless required by applicable law or agreed to in writing, software
62 // distributed under the License is distributed on an "AS IS" BASIS,
63 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
64 // See the License for the specific language governing permissions and
65 // limitations under the License.
66 // ----------------------------- END-OF-FILE ----------------------------------
References(clang::CompilerInstance *ci, clang::ast_matchers::MatchFinder *f)