Python: simplify according to review comments

This commit is contained in:
Rasmus Lerchedahl Petersen
2020-07-01 07:20:26 +02:00
parent 3388ca44ed
commit 825f24a953
2 changed files with 1 additions and 7 deletions

View File

@@ -335,7 +335,7 @@ DataFlowCallable prunedViableImplInCallContext(DataFlowCall call, DataFlowCall c
*/
predicate isImmutableOrUnobservable(Node n) { none() }
int accessPathLimit() { result = 3 }
int accessPathLimit() { result = 5 }
/** Holds if `n` should be hidden from path explanations. */
predicate nodeIsHidden(Node n) { none() }

View File

@@ -142,10 +142,4 @@ class BarrierGuard extends Expr {
*/
class Content extends string {
Content() { this = "Content" }
/** Gets the type of the object containing this content. */
DataFlowType getContainerType() { none() }
/** Gets the type of this content. */
DataFlowType getType() { none() }
}