Skip to content

Commit

Permalink
Use concise IWYU pragma. (#100)
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel K. Gutierrez <samuel@lanl.gov>
  • Loading branch information
samuelkgutierrez authored Mar 21, 2024
1 parent c51073d commit eb10e79
Showing 1 changed file with 24 additions and 23 deletions.
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

0 comments on commit eb10e79

Please sign in to comment.