Skip to content

C++: Uncomment cases in the dbscheme #15233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 3, 2025
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
2,423 changes: 2,423 additions & 0 deletions cpp/downgrades/5340d6d5f428557632b1a50113e406430f29ef7d/old.dbscheme

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
description: Uncomment cases in dbscheme
compatibility: full
14 changes: 2 additions & 12 deletions cpp/ql/lib/semmlecode.cpp.dbscheme
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,6 @@ diagnostics(

/*- C++ dbscheme -*/

/*
* C++ dbscheme
*/

extractor_version(
string codeql_version: string ref,
string frontend_version: string ref
Expand Down Expand Up @@ -286,7 +282,6 @@ macro_argument_expanded(
string text: string ref
);

/*
case @function.kind of
0 = @unknown_function
| 1 = @normal_function
Expand All @@ -298,7 +293,6 @@ case @function.kind of
| 7 = @user_defined_literal
| 8 = @deduction_guide
;
*/

functions(
unique int id: @function,
Expand Down Expand Up @@ -718,9 +712,8 @@ decltypes(
boolean parentheses_would_change_meaning: boolean ref
);

/*
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
| 2 = @bases
| 3 = @direct_bases
Expand All @@ -741,7 +734,6 @@ case @type_operator.kind of
| 18 = @remove_volatile
| 19 = @remove_reference
;
*/

type_operators(
unique int id: @type_operator,
Expand All @@ -750,9 +742,8 @@ type_operators(
int base_type: @type ref
)

/*
case @usertype.kind of
| 0 = @unknown_usertype
0 = @unknown_usertype
| 1 = @struct
| 2 = @class
| 3 = @union
Expand All @@ -772,7 +763,6 @@ case @usertype.kind of
| 17 = @template_union
| 18 = @alias
;
*/

usertypes(
unique int id: @usertype,
Expand Down
Loading