clang-metatool
A framework for reusing code in clang tools
find_cxx_member_calls.h
Go to the documentation of this file.
1 #ifndef INCLUDED_CLANGMETATOOL_COLLECTORS_FIND_CXX_MEMBER_CALLS_H
2 #define INCLUDED_CLANGMETATOOL_COLLECTORS_FIND_CXX_MEMBER_CALLS_H
3 
4 #include <clang/Frontend/CompilerInstance.h>
5 #include <clang/ASTMatchers/ASTMatchFinder.h>
6 
8 
9 namespace clangmetatool {
10 namespace collectors {
11 
16 class FindCXXMemberCallsImpl;
17 
23 private:
27  FindCXXMemberCallsImpl *impl;
28 
29 public:
38  FindCXXMemberCalls(clang::CompilerInstance *ci,
39  clang::ast_matchers::MatchFinder *f, const std::string &c,
40  const std::string &n);
41 
46 
51 };
52 }
53 }
54 
55 #endif
56 // ----------------------------------------------------------------------------
57 // Copyright 2018 Bloomberg Finance L.P.
58 //
59 // Licensed under the Apache License, Version 2.0 (the "License");
60 // you may not use this file except in compliance with the License.
61 // You may obtain a copy of the License at
62 //
63 // http://www.apache.org/licenses/LICENSE-2.0
64 //
65 // Unless required by applicable law or agreed to in writing, software
66 // distributed under the License is distributed on an "AS IS" BASIS,
67 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
68 // See the License for the specific language governing permissions and
69 // limitations under the License.
70 // ----------------------------- END-OF-FILE ----------------------------------
std::multimap< const clang::FunctionDecl *, const clang::CXXMemberCallExpr * > FindCXXMemberCallsData
FindCXXMemberCalls(clang::CompilerInstance *ci, clang::ast_matchers::MatchFinder *f, const std::string &c, const std::string &n)