clang-metatool
A framework for reusing code in clang tools
macro_reference_info.h
Go to the documentation of this file.
1 #ifndef INCLUDED_CLANGMETATOOL_TYPES_MACRO_REFERENCE_INFO_H
2 #define INCLUDED_CLANGMETATOOL_TYPES_MACRO_REFERENCE_INFO_H
3 
4 #include <tuple>
5 
6 #include <clang/Basic/SourceLocation.h>
7 #include <clang/Lex/Token.h>
8 #include <clang/Lex/MacroInfo.h>
9 #include <clang/Lex/PPCallbacks.h>
10 
12 
13 namespace clangmetatool {
14 namespace types {
15 
19 typedef std::tuple<const clang::Token, const clang::MacroDefinition,
20  const clang::SourceRange, const clang::MacroArgs *>
22 }
23 }
24 
25 #endif
26 
27 // ----------------------------------------------------------------------------
28 // Copyright 2018 Bloomberg Finance L.P.
29 //
30 // Licensed under the Apache License, Version 2.0 (the "License");
31 // you may not use this file except in compliance with the License.
32 // You may obtain a copy of the License at
33 //
34 // http://www.apache.org/licenses/LICENSE-2.0
35 //
36 // Unless required by applicable law or agreed to in writing, software
37 // distributed under the License is distributed on an "AS IS" BASIS,
38 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39 // See the License for the specific language governing permissions and
40 // limitations under the License.
41 // ----------------------------- END-OF-FILE ----------------------------------
std::tuple< const clang::Token, const clang::MacroDefinition, const clang::SourceRange, const clang::MacroArgs * > MacroReferenceInfo