Skip to content
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

Use concise IWYU pragma. #100

Merged
merged 1 commit into from
Mar 21, 2024
Merged
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
47 changes: 24 additions & 23 deletions src/qvi-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,23 @@
#ifndef QVI_COMMON_H
#define QVI_COMMON_H

#include "quo-vadis/config.h" // IWYU pragma: keep
#include "qvi-macros.h" // IWYU pragma: keep
#include "quo-vadis.h" // IWYU pragma: keep
// IWYU pragma: begin_keep
#include "quo-vadis/config.h"
#include "qvi-macros.h"
#include "quo-vadis.h"

#include <assert.h> // IWYU pragma: keep
#include <errno.h> // IWYU pragma: keep
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h> // IWYU pragma: keep
#include <limits.h> // IWYU pragma: keep
#include <inttypes.h>
#include <limits.h>
#include <pthread.h>
#include <stdarg.h> // IWYU pragma: keep
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h> // IWYU pragma: keep
#include <stdlib.h> // IWYU pragma: keep
#include <string.h> // IWYU pragma: keep
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/resource.h>
#include <sys/stat.h>
#include <sys/syscall.h>
Expand All @@ -41,19 +42,19 @@
#include <unistd.h>

#ifdef __cplusplus
#include "qvi-log.h" // IWYU pragma: keep
// IWYU pragma: keep
#include <chrono> // IWYU pragma: keep
#include <map> // IWYU pragma: keep
#include <new> // IWYU pragma: keep
#include <set> // IWYU pragma: keep
#include <stack> // IWYU pragma: keep
#include <stdexcept> // IWYU pragma: keep
#include <thread> // IWYU pragma: keep
#include <unordered_map> // IWYU pragma: keep
#include <unordered_set> // IWYU pragma: keep
#include <vector> // IWYU pragma: keep
#include "qvi-log.h"
#include <chrono>
#include <map>
#include <new>
#include <set>
#include <stack>
#include <stdexcept>
#include <thread>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#endif
// IWYU pragma: end_keep

typedef uint8_t byte_t;
typedef char const* cstr_t;
Expand Down
Loading