clang-metatool
A framework for reusing code in clang tools
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
All
Typedefs
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
i
l
m
o
p
r
t
u
v
~
+
Functions
b
c
d
e
f
g
i
m
o
p
r
v
~
Variables
Typedefs
+
Files
File List
+
File Members
All
Functions
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Pages
clangmetatool
types
file_graph.h
Go to the documentation of this file.
1
#ifndef INCLUDED_CLANGMETATOOL_TYPES_FILE_GRAPH_H
2
#define INCLUDED_CLANGMETATOOL_TYPES_FILE_GRAPH_H
3
4
#include <iosfwd>
5
#include <iostream>
6
#include <set>
7
#include <vector>
8
9
#include <
clangmetatool/types/file_uid.h
>
10
#include <
clangmetatool/types/file_graph_edge.h
>
11
12
namespace
clangmetatool
{
13
namespace
types {
14
class
FileGraph
:
public
std::set<FileGraphEdge> {
15
20
void
print_graph(
const
char
*name, std::ostream &s);
21
25
bool
is_in_graph(
const
FileGraphEdge
&e);
26
31
std::vector<clangmetatool::types::FileUID>
32
points_to(
const
clangmetatool::types::FileGraph
&g,
33
clangmetatool::types::FileUID
fuid);
34
};
35
}
36
}
37
38
#endif
39
40
// ----------------------------------------------------------------------------
41
// Copyright 2018 Bloomberg Finance L.P.
42
//
43
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
45
// You may obtain a copy of the License at
46
//
47
// http://www.apache.org/licenses/LICENSE-2.0
48
//
49
// Unless required by applicable law or agreed to in writing, software
50
// distributed under the License is distributed on an "AS IS" BASIS,
51
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
52
// See the License for the specific language governing permissions and
53
// limitations under the License.
54
// ----------------------------- END-OF-FILE ----------------------------------
file_graph_edge.h
clangmetatool
Definition:
meta_tool.h:17
clangmetatool::types::FileUID
unsigned int FileUID
Definition:
file_uid.h:6
clangmetatool::types::FileGraph
Definition:
file_graph.h:14
file_uid.h
clangmetatool::types::FileGraphEdge
std::pair< FileUID, FileUID > FileGraphEdge
Definition:
file_graph_edge.h:11
Generated by
1.8.13