Config tokens plus the display names returned by cbm_language_name(). */
| 134 | |
| 135 | /* Config tokens plus the display names returned by cbm_language_name(). */ |
| 136 | static int tm_language_kind(const char *language) { |
| 137 | if (!language) |
| 138 | return 0; |
| 139 | if (strcmp(language, "c") == 0 || strcmp(language, "C") == 0) |
| 140 | return 1; |
| 141 | if (strcmp(language, "cpp") == 0 || strcmp(language, "c++") == 0 || |
| 142 | strcmp(language, "C++") == 0) |
| 143 | return 2; |
| 144 | if (strcmp(language, "cuda") == 0 || strcmp(language, "CUDA") == 0) |
| 145 | return 3; |
| 146 | return 0; |
| 147 | } |
| 148 | |
| 149 | static bool tm_mapping_report(cbm_test_model_t *m, cbm_test_model_mapping_status_t reason, |
| 150 | int declaration, const char *file, int line) { |
no outgoing calls
no test coverage detected