C++: Uncomment cases in the dbscheme

This commit is contained in:
Jeroen Ketema
2025-06-30 10:44:54 +02:00
parent 33a2801bb7
commit eede720aa8

View File

@@ -217,10 +217,6 @@ diagnostics(
/*- C++ dbscheme -*/ /*- C++ dbscheme -*/
/*
* C++ dbscheme
*/
extractor_version( extractor_version(
string codeql_version: string ref, string codeql_version: string ref,
string frontend_version: string ref string frontend_version: string ref
@@ -286,7 +282,6 @@ macro_argument_expanded(
string text: string ref string text: string ref
); );
/*
case @function.kind of case @function.kind of
0 = @unknown_function 0 = @unknown_function
| 1 = @normal_function | 1 = @normal_function
@@ -298,7 +293,6 @@ case @function.kind of
| 7 = @user_defined_literal | 7 = @user_defined_literal
| 8 = @deduction_guide | 8 = @deduction_guide
; ;
*/
functions( functions(
unique int id: @function, unique int id: @function,
@@ -718,9 +712,8 @@ decltypes(
boolean parentheses_would_change_meaning: boolean ref boolean parentheses_would_change_meaning: boolean ref
); );
/*
case @type_operator.kind of case @type_operator.kind of
| 0 = @typeof // The frontend does not differentiate between typeof and typeof_unqual 0 = @typeof // The frontend does not differentiate between typeof and typeof_unqual
| 1 = @underlying_type | 1 = @underlying_type
| 2 = @bases | 2 = @bases
| 3 = @direct_bases | 3 = @direct_bases
@@ -741,7 +734,6 @@ case @type_operator.kind of
| 18 = @remove_volatile | 18 = @remove_volatile
| 19 = @remove_reference | 19 = @remove_reference
; ;
*/
type_operators( type_operators(
unique int id: @type_operator, unique int id: @type_operator,
@@ -750,9 +742,8 @@ type_operators(
int base_type: @type ref int base_type: @type ref
) )
/*
case @usertype.kind of case @usertype.kind of
| 0 = @unknown_usertype 0 = @unknown_usertype
| 1 = @struct | 1 = @struct
| 2 = @class | 2 = @class
| 3 = @union | 3 = @union
@@ -772,7 +763,6 @@ case @usertype.kind of
| 17 = @template_union | 17 = @template_union
| 18 = @alias | 18 = @alias
; ;
*/
usertypes( usertypes(
unique int id: @usertype, unique int id: @usertype,