aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis/ControlFlowGraph.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/analysis/ControlFlowGraph.h')
-rw-r--r--libsolidity/analysis/ControlFlowGraph.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/analysis/ControlFlowGraph.h b/libsolidity/analysis/ControlFlowGraph.h
index cc0113d8..a55b96e8 100644
--- a/libsolidity/analysis/ControlFlowGraph.h
+++ b/libsolidity/analysis/ControlFlowGraph.h
@@ -20,6 +20,7 @@
#include <libsolidity/ast/AST.h>
#include <libsolidity/ast/ASTVisitor.h>
#include <liblangutil/ErrorReporter.h>
+#include <liblangutil/SourceLocation.h>
#include <map>
#include <memory>
@@ -98,6 +99,8 @@ struct CFGNode
/// Variable occurrences in the node.
std::vector<VariableOccurrence> variableOccurrences;
+ // Source location of this control flow block.
+ langutil::SourceLocation location;
};
/** Describes the control flow of a function. */