mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
C++: Fix isfromtemplateinstantiation test.
This commit is contained in:
@@ -2,7 +2,7 @@ import cpp
|
||||
|
||||
class FunctionMonkeyPatch extends Function {
|
||||
language[monotonicAggregates]
|
||||
override string toString() {
|
||||
override string getDescription() {
|
||||
exists(string name, string templateArgs, string args |
|
||||
result = name + templateArgs + args and
|
||||
name = this.getQualifiedName() and
|
||||
@@ -30,7 +30,7 @@ class FunctionMonkeyPatch extends Function {
|
||||
}
|
||||
|
||||
class ParameterMonkeyPatch extends Parameter {
|
||||
override string toString() { result = super.getType().getName() + " " + super.toString() }
|
||||
override string getDescription() { result = super.getType().getName() + " " + super.getDescription() }
|
||||
}
|
||||
|
||||
from Element e, Element ti
|
||||
|
||||
Reference in New Issue
Block a user