clang-metatool
A framework for reusing code in clang tools
file_attribute.h
Go to the documentation of this file.
1 #ifndef INCLUDED_CLANGMETATOOL_TYPES_FILE_ATTRIBUTE_H
2 #define INCLUDED_CLANGMETATOOL_TYPES_FILE_ATTRIBUTE_H
3 
4 #include <map>
5 
7 
8 namespace clangmetatool {
9 namespace types {
10 
11 template <typename OTHER> using FileAttribute = std::pair<FileUID, OTHER>;
12 }
13 }
14 
15 #endif
16 
17 // ----------------------------------------------------------------------------
18 // Copyright 2018 Bloomberg Finance L.P.
19 //
20 // Licensed under the Apache License, Version 2.0 (the "License");
21 // you may not use this file except in compliance with the License.
22 // You may obtain a copy of the License at
23 //
24 // http://www.apache.org/licenses/LICENSE-2.0
25 //
26 // Unless required by applicable law or agreed to in writing, software
27 // distributed under the License is distributed on an "AS IS" BASIS,
28 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29 // See the License for the specific language governing permissions and
30 // limitations under the License.
31 // ----------------------------- END-OF-FILE ----------------------------------
std::pair< FileUID, OTHER > FileAttribute