mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
C++: Replace import default with import cpp
Some tests still used the old name for the top-level library.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import default
|
||||
import cpp
|
||||
|
||||
from Class c, string n
|
||||
where n = count(Class x | x.getName() = c.getName()) + " distinct class(es) called " + c.getName()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import default
|
||||
import cpp
|
||||
import semmle.code.cpp.models.implementations.Allocation
|
||||
|
||||
query predicate newExprs(
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import default
|
||||
import cpp
|
||||
|
||||
string getValueCategoryString(Expr expr) {
|
||||
if expr.isLValueCategory()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import default
|
||||
import cpp
|
||||
import semmle.code.cpp.ir.IR
|
||||
import semmle.code.cpp.ir.implementation.aliased_ssa.constant.ConstantAnalysis
|
||||
import semmle.code.cpp.ir.internal.IntegerConstant
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import default
|
||||
import cpp
|
||||
import semmle.code.cpp.ir.implementation.unaliased_ssa.internal.AliasAnalysis
|
||||
import semmle.code.cpp.ir.implementation.raw.IR
|
||||
import semmle.code.cpp.ir.implementation.UseSoundEscapeAnalysis
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import default
|
||||
import cpp
|
||||
import semmle.code.cpp.ir.implementation.aliased_ssa.internal.AliasAnalysis
|
||||
import semmle.code.cpp.ir.implementation.aliased_ssa.internal.AliasConfiguration
|
||||
import semmle.code.cpp.ir.implementation.unaliased_ssa.IR
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import default
|
||||
import cpp
|
||||
|
||||
query predicate classUuids(Class cls, string uuid) {
|
||||
if exists(cls.getUuid()) then uuid = cls.getUuid() else uuid = ""
|
||||
|
||||
Reference in New Issue
Block a user