Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions config/identical-files.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,11 +453,11 @@
"python/ql/src/Lexical/CommentedOutCodeReferences.inc.qhelp"
],
"IDE Contextual Queries": [
"cpp/ql/src/IDEContextual.qll",
"csharp/ql/src/IDEContextual.qll",
"java/ql/src/IDEContextual.qll",
"javascript/ql/src/IDEContextual.qll",
"python/ql/src/analysis/IDEContextual.qll"
"cpp/ql/lib/IDEContextual.qll",
"csharp/ql/lib/IDEContextual.qll",
"java/ql/lib/IDEContextual.qll",
"javascript/ql/lib/IDEContextual.qll",
"python/ql/lib/analysis/IDEContextual.qll"
],
"SSA C#": [
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/SsaImplCommon.qll",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: breaking
---
* Contextual queries and the query libraries they depend on have been moved to the `codeql/cpp-all` package.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: breaking
---
* Contextual queries and the query libraries they depend on have been moved to the `codeql/csharp-all` package.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: breaking
---
* Contextual queries and the query libraries they depend on have been moved to the `codeql/java-all` package.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion javascript/ql/src/Declarations/DeclBeforeUse.ql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

import javascript
private import Declarations
private import Declarations.Declarations

from VarAccess acc, VarDecl decl, Variable var, StmtContainer sc
where
Expand Down
2 changes: 1 addition & 1 deletion javascript/ql/src/Declarations/RedeclaredVariable.ql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

import javascript
private import Declarations
private import Declarations.Declarations

from Variable v, TopLevel tl, VarDecl decl, VarDecl redecl
where
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: breaking
---
* Contextual queries and the query libraries they depend on have been moved to the `codeql/javascript-all` package.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ class Definition extends TLocalDefinition {
/** Gets a textual representation of this element. */
string toString() { result = "Definition " + this.getAstNode().getLocation().toString() }

/** Gets the AST Node associated with this element */
AstNode getAstNode() { this = TLocalDefinition(result) }

/** Gets the Module associated with this element */
Module getModule() { result = this.getAstNode().getScope().getEnclosingModule() }

/** Gets the source location of the AST Node associated with this element */
Location getLocation() { result = this.getAstNode().getLocation() }
}

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion python/ql/src/analysis/Consistency.ql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import python
import DefinitionTracking
import analysis.DefinitionTracking

predicate uniqueness_error(int number, string what, string problem) {
what in [
Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/analysis/Definitions.ql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import python
import DefinitionTracking
import analysis.DefinitionTracking

from NiceLocationExpr use, Definition defn, string kind
where defn = definitionOf(use, kind)
Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/analysis/LocalDefinitions.ql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import python
import DefinitionTracking
import analysis.DefinitionTracking

external string selectedSourceFile();

Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/analysis/LocalReferences.ql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import python
import DefinitionTracking
import analysis.DefinitionTracking

external string selectedSourceFile();

Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/analysis/RatioOfDefinitions.ql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

import python
import DefinitionTracking
import analysis.DefinitionTracking

predicate want_to_have_definition(Expr e) {
/* not builtin object like len, tuple, etc. */
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: breaking
---
* Contextual queries and the query libraries they depend on have been moved to the `codeql/python-all` package.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: breaking
---
* Contextual queries and the query libraries they depend on have been moved to the `codeql/ruby-all` package.