Skip to content

Commit 2abf768

Browse files
committed
Point the old BuiltInOperationBuiltInTypes at our new BuiltInOperationBuiltInTypesCompatibleP,
for backward compatibility.
1 parent 889408b commit 2abf768

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cpp/ql/src/semmle/code/cpp/exprs/BuiltInOperations.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,11 @@ class BuiltInOperationIsUnion extends BuiltInOperation, @isunionexpr {
209209
override string toString() { result = "__is_union" }
210210
}
211211

212+
/**
213+
* DEPRECATED: Use `BuiltInOperationBuiltInTypesCompatibleP instead.
214+
*/
215+
deprecated class BuiltInOperationBuiltInTypes = BuiltInOperationBuiltInTypesCompatibleP;
216+
212217
/**
213218
* A C++ `__builtin_types_compatible_p` expression (used by some implementations of the type_traits header).
214219
*/

0 commit comments

Comments
 (0)