Merge pull request #3854 from hvitved/dataflow/node-type-interface

Data flow: Replace `getErasedRepr()` and `Node::getTypeBound()` with `getNodeType()`
This commit is contained in:
Anders Schack-Mulligen
2020-07-01 11:37:19 +02:00
committed by GitHub
39 changed files with 396 additions and 495 deletions

View File

@@ -1,6 +1,5 @@
uniqueEnclosingCallable
uniqueTypeBound
uniqueTypeRepr
uniqueType
uniqueNodeLocation
missingLocation
uniqueNodeToString

View File

@@ -1,6 +1,5 @@
uniqueEnclosingCallable
uniqueTypeBound
uniqueTypeRepr
uniqueType
uniqueNodeLocation
| BarrierGuard.cpp:2:11:2:13 | p#0 | Node should have one location but has 6. |
| acrossLinkTargets.cpp:2:11:2:13 | p#0 | Node should have one location but has 6. |

View File

@@ -1,8 +1,7 @@
uniqueEnclosingCallable
| C.cpp:37:24:37:33 | 0 | Node should have one enclosing callable but has 0. |
| C.cpp:37:24:37:33 | new | Node should have one enclosing callable but has 0. |
uniqueTypeBound
uniqueTypeRepr
uniqueType
uniqueNodeLocation
missingLocation
uniqueNodeToString

View File

@@ -1,6 +1,5 @@
uniqueEnclosingCallable
uniqueTypeBound
uniqueTypeRepr
uniqueType
uniqueNodeLocation
| D.cpp:1:17:1:17 | o | Node should have one location but has 3. |
| by_reference.cpp:1:17:1:17 | o | Node should have one location but has 3. |

View File

@@ -8,10 +8,7 @@ uniqueEnclosingCallable
| misc.c:210:24:210:24 | 0 | Node should have one enclosing callable but has 0. |
| misc.c:210:24:210:28 | ... + ... | Node should have one enclosing callable but has 0. |
| misc.c:210:28:210:28 | 1 | Node should have one enclosing callable but has 0. |
uniqueTypeBound
| cpp17.cpp:15:5:15:45 | call to unknown function | Node should have one type bound but has 0. |
uniqueTypeRepr
| cpp17.cpp:15:5:15:45 | call to unknown function | Node should have one type representation but has 0. |
uniqueType
uniqueNodeLocation
| break_labels.c:2:11:2:11 | i | Node should have one location but has 4. |
| break_labels.c:2:11:2:11 | x | Node should have one location but has 4. |

View File

@@ -1,6 +1,5 @@
uniqueEnclosingCallable
uniqueTypeBound
uniqueTypeRepr
uniqueType
uniqueNodeLocation
| aggregateinitializer.c:1:6:1:6 | AliasedDefinition | Node should have one location but has 20. |
| aggregateinitializer.c:1:6:1:6 | AliasedUse | Node should have one location but has 20. |