mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-19 03:55:49 +00:00
[[noreturn]] on cquery_unreachable_internal
This commit is contained in:
parent
e44109aee9
commit
c43b197b99
@ -3,7 +3,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void cquery_unreachable_internal(const char* msg, const char* file, int line) {
|
||||
[[noreturn]] void cquery_unreachable_internal(const char* msg, const char* file, int line) {
|
||||
fprintf(stderr, "unreachable %s:%d %s\n", file, line, msg);
|
||||
CQUERY_BUILTIN_UNREACHABLE;
|
||||
abort();
|
||||
|
Loading…
Reference in New Issue
Block a user