mirror of
https://github.com/github/codeql.git
synced 2026-04-20 22:44:52 +02:00
C++: Describe compilation_build_mode using a case
This commit is contained in:
@@ -49,10 +49,6 @@ compilation_args(
|
||||
/**
|
||||
* Optionally, record the build mode for each compilation.
|
||||
* The build mode should be the same for all compilations.
|
||||
* Build mode:
|
||||
* 0 = none
|
||||
* 1 = manual
|
||||
* 2 = auto
|
||||
*/
|
||||
#keyset[id, mode]
|
||||
compilation_build_mode(
|
||||
@@ -60,6 +56,14 @@ compilation_build_mode(
|
||||
int mode : int ref
|
||||
);
|
||||
|
||||
/*
|
||||
case @compilation_build_mode.mode of
|
||||
0 = @build_mode_none
|
||||
| 1 = @build_mode_manual
|
||||
| 2 = @build_mode_auto
|
||||
;
|
||||
/*
|
||||
|
||||
/**
|
||||
* The source files that are compiled by a compiler invocation.
|
||||
* If `id` is for the compiler invocation
|
||||
|
||||
Reference in New Issue
Block a user