Skip to content

Commit 24a06ba

Browse files
committed
cleanup: make clangd stop complaining about fix_coverity.h
fix_coverity.h is a workaround for coverity's insane choices about how to make their fork of clang that claims to be gcc believe in gcc's datatypes. In most cases it does nothing, and as such clangd cannot prove that it does anything, and complains about it. This suppresses those complaints. Signed-off-by: Peter Jones <pjones@redhat.com>
1 parent 020c5c8 commit 24a06ba

39 files changed

Lines changed: 39 additions & 39 deletions

src/creator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright 2012-2015 Red Hat, Inc.
55
*/
66

7-
#include "fix_coverity.h"
7+
#include "fix_coverity.h" // IWYU pragma: keep
88

99
#include <fcntl.h>
1010
#include <inttypes.h>

src/disk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Copyright (C) 2000-2001 Dell Computer Corporation <Matt_Domsch@dell.com>
66
*/
77

8-
#include "fix_coverity.h"
8+
#include "fix_coverity.h" // IWYU pragma: keep
99

1010
#include <errno.h>
1111
#include <fcntl.h>

src/dp-acpi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright 2012-2019 Red Hat, Inc.
55
*/
66

7-
#include "fix_coverity.h"
7+
#include "fix_coverity.h" // IWYU pragma: keep
88

99
#include <errno.h>
1010
#include <inttypes.h>

src/dp-hw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright 2012-2015 Red Hat, Inc.
55
*/
66

7-
#include "fix_coverity.h"
7+
#include "fix_coverity.h" // IWYU pragma: keep
88

99
#include <errno.h>
1010
#include <inttypes.h>

src/dp-media.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright 2012-2015 Red Hat, Inc.
55
*/
66

7-
#include "fix_coverity.h"
7+
#include "fix_coverity.h" // IWYU pragma: keep
88

99
#include <errno.h>
1010
#include <inttypes.h>

src/dp-message.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright 2012-2015 Red Hat, Inc.
55
*/
66

7-
#include "fix_coverity.h"
7+
#include "fix_coverity.h" // IWYU pragma: keep
88

99
#include <arpa/inet.h>
1010
#include <errno.h>

src/dp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright 2012-2015 Red Hat, Inc.
55
*/
66

7-
#include "fix_coverity.h"
7+
#include "fix_coverity.h" // IWYU pragma: keep
88

99
#include <inttypes.h>
1010
#include <stdlib.h>

src/efisec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
#pragma once
77

8-
#include "fix_coverity.h" // IWYU pragma: export
8+
#include "fix_coverity.h" // IWYU pragma: keep
99

1010
#include <err.h> // IWYU pragma: export
1111
#include <errno.h> // IWYU pragma: export

src/efisecdb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright Peter Jones <pjones@redhat.com>
55
* Copyright Red Hat, Inc.
66
*/
7-
#include "fix_coverity.h"
7+
#include "fix_coverity.h" // IWYU pragma: keep
88

99
#include "linux.h"
1010
#include <err.h>

src/efivar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright 2012 Red Hat, Inc.
55
*/
66

7-
#include "fix_coverity.h"
7+
#include "fix_coverity.h" // IWYU pragma: keep
88

99
#include <ctype.h>
1010
#include <err.h>

0 commit comments

Comments
 (0)