Skip to content

Commit 94d3d63

Browse files
committed
C++: Remove some unused legacy relations from the DB scheme
1 parent 25f6880 commit 94d3d63

File tree

2 files changed

+0
-2732
lines changed

2 files changed

+0
-2732
lines changed

cpp/ql/lib/semmlecode.cpp.dbscheme

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -122,65 +122,11 @@ compilation_finished(
122122
float elapsed_seconds : float ref
123123
);
124124

125-
126-
/**
127-
* External data, loaded from CSV files during snapshot creation. See
128-
* [Tutorial: Incorporating external data](https://help.semmle.com/wiki/display/SD/Tutorial%3A+Incorporating+external+data)
129-
* for more information.
130-
*/
131-
externalData(
132-
int id : @externalDataElement,
133-
string path : string ref,
134-
int column: int ref,
135-
string value : string ref
136-
);
137-
138-
/**
139-
* The date of the snapshot.
140-
*/
141-
snapshotDate(unique date snapshotDate : date ref);
142-
143125
/**
144126
* The source location of the snapshot.
145127
*/
146128
sourceLocationPrefix(string prefix : string ref);
147129

148-
/**
149-
* Data used by the 'duplicate code' detection.
150-
*/
151-
duplicateCode(
152-
unique int id : @duplication,
153-
string relativePath : string ref,
154-
int equivClass : int ref
155-
);
156-
157-
/**
158-
* Data used by the 'similar code' detection.
159-
*/
160-
similarCode(
161-
unique int id : @similarity,
162-
string relativePath : string ref,
163-
int equivClass : int ref
164-
);
165-
166-
/**
167-
* Data used by the 'duplicate code' and 'similar code' detection.
168-
*/
169-
@duplication_or_similarity = @duplication | @similarity
170-
171-
/**
172-
* Data used by the 'duplicate code' and 'similar code' detection.
173-
*/
174-
#keyset[id, offset]
175-
tokens(
176-
int id : @duplication_or_similarity ref,
177-
int offset : int ref,
178-
int beginLine : int ref,
179-
int beginColumn : int ref,
180-
int endLine : int ref,
181-
int endColumn : int ref
182-
);
183-
184130
/**
185131
* Information about packages that provide code used during compilation.
186132
* The `id` is just a unique identifier.

0 commit comments

Comments
 (0)