mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
C++: Remove a use of deprecated Function.getFullSignature()
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
| constexpr.cpp:2:15:2:27 | fun_constexpr | fun_constexpr() -> int | true | true |
|
||||
| constexpr.cpp:3:5:3:21 | fun_not_constexpr | fun_not_constexpr() -> int | false | false |
|
||||
| constexpr.cpp:5:15:5:28 | overloaded_fun | overloaded_fun(int) -> int | true | true |
|
||||
| constexpr.cpp:9:5:9:18 | overloaded_fun | overloaded_fun(float) -> int | false | false |
|
||||
| constexpr.cpp:14:15:14:15 | template_fun | template_fun<float>(float) -> int | true | false |
|
||||
| constexpr.cpp:14:15:14:15 | template_fun | template_fun<int>(int) -> int | true | true |
|
||||
| constexpr.cpp:14:15:14:26 | template_fun | template_fun<T>(T) -> int | true | true |
|
||||
| constexpr.cpp:18:6:18:11 | caller | caller() -> void | false | false |
|
||||
| file://:0:0:0:0 | operator= | __va_list_tag::operator=(__va_list_tag &&) -> __va_list_tag & | false | false |
|
||||
| file://:0:0:0:0 | operator= | __va_list_tag::operator=(const __va_list_tag &) -> __va_list_tag & | false | false |
|
||||
| constexpr.cpp:2:15:2:27 | fun_constexpr | int fun_constexpr() | true | true |
|
||||
| constexpr.cpp:3:5:3:21 | fun_not_constexpr | int fun_not_constexpr() | false | false |
|
||||
| constexpr.cpp:5:15:5:28 | overloaded_fun | int overloaded_fun(int) | true | true |
|
||||
| constexpr.cpp:9:5:9:18 | overloaded_fun | int overloaded_fun(float) | false | false |
|
||||
| constexpr.cpp:14:15:14:15 | template_fun | int template_fun<float>(float) | true | false |
|
||||
| constexpr.cpp:14:15:14:15 | template_fun | int template_fun<int>(int) | true | true |
|
||||
| constexpr.cpp:14:15:14:26 | template_fun | int template_fun<T>(T) | true | true |
|
||||
| constexpr.cpp:18:6:18:11 | caller | void caller() | false | false |
|
||||
| file://:0:0:0:0 | operator= | __va_list_tag& __va_list_tag::operator=(__va_list_tag const&) | false | false |
|
||||
| file://:0:0:0:0 | operator= | __va_list_tag& __va_list_tag::operator=(__va_list_tag&&) | false | false |
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import cpp
|
||||
import semmle.code.cpp.Print
|
||||
|
||||
from Function f
|
||||
select f, f.getFullSignature(),
|
||||
select f, getIdentityString(f),
|
||||
any(boolean b | if f.isDeclaredConstexpr() then b = true else b = false),
|
||||
any(boolean b | if f.isConstexpr() then b = true else b = false)
|
||||
|
||||
Reference in New Issue
Block a user