Skip to content

Commit bf6ca7a

Browse files
committed
C++: Remove some unused legacy relations from the DB scheme
1 parent 8f8621f commit bf6ca7a

File tree

2 files changed

+0
-2499
lines changed

2 files changed

+0
-2499
lines changed

cpp/ql/lib/semmlecode.cpp.dbscheme

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -135,52 +135,11 @@ externalData(
135135
string value : string ref
136136
);
137137

138-
/**
139-
* The date of the snapshot.
140-
*/
141-
snapshotDate(unique date snapshotDate : date ref);
142-
143138
/**
144139
* The source location of the snapshot.
145140
*/
146141
sourceLocationPrefix(string prefix : string ref);
147142

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-
184143
/**
185144
* Information about packages that provide code used during compilation.
186145
* The `id` is just a unique identifier.

0 commit comments

Comments
 (0)