Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
[analyzer] exploded-graph-rewriter: Rename Environment to Expressions.
Browse files Browse the repository at this point in the history
It's less confusing for newcomers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375282 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
haoNoQ committed Oct 18, 2019
1 parent 15e9d04 commit faab8a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/Analysis/exploded-graph-rewriter/environment.dot
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// FIXME: Substitution doesn't seem to work on Windows.
// UNSUPPORTED: system-windows

// CHECK: <b>Environment: </b>
// CHECK: <b>Expressions: </b>
// CHECK-SAME: <table border="0">
// CHECK-SAME: <tr>
// CHECK-SAME: <td align="left">
Expand Down
2 changes: 1 addition & 1 deletion test/Analysis/exploded-graph-rewriter/escapes.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ void escapes() {
// CHECK: <td align="left"><b>Store: </b> <font color="gray">(0x{{[0-9a-f]*}})</font></td>
// CHECK-SAME: <td align="left">foo</td><td align="left">0</td>
// CHECK-SAME: <td align="left">&amp;Element\{"foo",0 S64b,char\}</td>
// CHECK: <td align="left"><b>Environment: </b></td>
// CHECK: <td align="left"><b>Expressions: </b></td>
// CHECK-SAME: <td align="left">"foo"</td>
// CHECK-SAME: <td align="left">&amp;Element\{"foo",0 S64b,char\}</td>
const char *const foo = "\x66\x6f\x6f";
Expand Down
2 changes: 1 addition & 1 deletion utils/analyzer/exploded-graph-rewriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ def visit_checker_messages_in_state(self, s, prev_s=None):

def visit_state(self, s, prev_s):
self.visit_store_in_state(s, prev_s)
self.visit_environment_in_state('environment', 'Environment',
self.visit_environment_in_state('environment', 'Expressions',
s, prev_s)
self.visit_generic_map_in_state('constraints', 'Ranges',
s, prev_s)
Expand Down

0 comments on commit faab8a5

Please sign in to comment.