Address review comments

This commit is contained in:
Tom Hvitved
2021-09-23 12:39:47 +02:00
parent e670fdbb82
commit 68d41f9f12
2 changed files with 4 additions and 4 deletions

View File

@@ -87,7 +87,7 @@ abstract class SummarizedCallable extends LibraryCallable {
/**
* Same as
*
* ```rb
* ```ql
* propagatesFlow(
* SummaryComponentStack input, SummaryComponentStack output, boolean preservesValue
* )
@@ -106,10 +106,10 @@ abstract class SummarizedCallable extends LibraryCallable {
predicate clearsContent(int i, DataFlow::Content content) { none() }
}
private class SummarizedCallableAdaptor extends Impl::Public::SummarizedCallable {
private class SummarizedCallableAdapter extends Impl::Public::SummarizedCallable {
private SummarizedCallable sc;
SummarizedCallableAdaptor() { this = TLibraryCallable(sc) }
SummarizedCallableAdapter() { this = TLibraryCallable(sc) }
final override predicate propagatesFlow(
SummaryComponentStack input, SummaryComponentStack output, boolean preservesValue

View File

@@ -57,7 +57,7 @@ class DataFlowCallable extends TDataFlowCallable {
/** Gets the underlying source code callable, if any. */
Callable asCallable() { this = TCfgScope(result) }
/** Get the underlying library callable, if any. */
/** Gets the underlying library callable, if any. */
LibraryCallable asLibraryCallable() { this = TLibraryCallable(result) }
/** Gets a textual representation of this callable. */