Skip to content

Commit 5dc7e49

Browse files
committed
refactor: fix incorrect #include guards
1 parent 51c1ea6 commit 5dc7e49

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

plugin/vscode/quick-lint-js/vscode-diag-reporter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (C) 2020 Matthew "strager" Glazar
22
// See end of file for extended copyright information.
33

4-
#ifndef QUICK_LINT_JS_VSCODE_ERROR_REPORTER_H
5-
#define QUICK_LINT_JS_VSCODE_ERROR_REPORTER_H
4+
#ifndef QUICK_LINT_JS_VSCODE_DIAG_REPORTER_H
5+
#define QUICK_LINT_JS_VSCODE_DIAG_REPORTER_H
66

77
#include <napi.h>
88
#include <quick-lint-js/char8.h>

src/quick-lint-js/buffering-diag-reporter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (C) 2020 Matthew "strager" Glazar
22
// See end of file for extended copyright information.
33

4-
#ifndef QUICK_LINT_JS_BUFFERING_ERROR_REPORTER_H
5-
#define QUICK_LINT_JS_BUFFERING_ERROR_REPORTER_H
4+
#ifndef QUICK_LINT_JS_BUFFERING_DIAG_REPORTER_H
5+
#define QUICK_LINT_JS_BUFFERING_DIAG_REPORTER_H
66

77
#include <boost/container/pmr/memory_resource.hpp>
88
#include <memory>

src/quick-lint-js/c-api-diag-reporter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (C) 2020 Matthew "strager" Glazar
22
// See end of file for extended copyright information.
33

4-
#ifndef QUICK_LINT_JS_C_API_ERROR_REPORTER_H
5-
#define QUICK_LINT_JS_C_API_ERROR_REPORTER_H
4+
#ifndef QUICK_LINT_JS_C_API_DIAG_REPORTER_H
5+
#define QUICK_LINT_JS_C_API_DIAG_REPORTER_H
66

77
#include <cstdint>
88
#include <quick-lint-js/char8.h>

src/quick-lint-js/diag-reporter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (C) 2020 Matthew "strager" Glazar
22
// See end of file for extended copyright information.
33

4-
#ifndef QUICK_LINT_JS_ERROR_REPORTER_H
5-
#define QUICK_LINT_JS_ERROR_REPORTER_H
4+
#ifndef QUICK_LINT_JS_DIAG_REPORTER_H
5+
#define QUICK_LINT_JS_DIAG_REPORTER_H
66

77
#include <quick-lint-js/diagnostic-types.h>
88

src/quick-lint-js/emacs-lisp-diag-reporter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (C) 2020 Matthew "strager" Glazar
22
// See end of file for extended copyright information.
33

4-
#ifndef QUICK_LINT_JS_EMACS_ERROR_REPORTER_H
5-
#define QUICK_LINT_JS_EMACS_ERROR_REPORTER_H
4+
#ifndef QUICK_LINT_JS_EMACS_DIAG_REPORTER_H
5+
#define QUICK_LINT_JS_EMACS_DIAG_REPORTER_H
66

77
#include <optional>
88
#include <quick-lint-js/char8.h>

src/quick-lint-js/lsp-diag-reporter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (C) 2020 Matthew "strager" Glazar
22
// See end of file for extended copyright information.
33

4-
#ifndef QUICK_LINT_JS_LSP_ERROR_REPORTER_H
5-
#define QUICK_LINT_JS_LSP_ERROR_REPORTER_H
4+
#ifndef QUICK_LINT_JS_LSP_DIAG_REPORTER_H
5+
#define QUICK_LINT_JS_LSP_DIAG_REPORTER_H
66

77
#if defined(__EMSCRIPTEN__)
88
// No LSP on the web.

src/quick-lint-js/text-diag-reporter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (C) 2020 Matthew "strager" Glazar
22
// See end of file for extended copyright information.
33

4-
#ifndef QUICK_LINT_JS_TEXT_ERROR_REPORTER_H
5-
#define QUICK_LINT_JS_TEXT_ERROR_REPORTER_H
4+
#ifndef QUICK_LINT_JS_TEXT_DIAG_REPORTER_H
5+
#define QUICK_LINT_JS_TEXT_DIAG_REPORTER_H
66

77
#include <optional>
88
#include <quick-lint-js/char8.h>

src/quick-lint-js/vim-qflist-json-diag-reporter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (C) 2020 Matthew "strager" Glazar
22
// See end of file for extended copyright information.
33

4-
#ifndef QUICK_LINT_JS_VIM_QFLIST_JSON_ERROR_REPORTER_H
5-
#define QUICK_LINT_JS_VIM_QFLIST_JSON_ERROR_REPORTER_H
4+
#ifndef QUICK_LINT_JS_VIM_QFLIST_JSON_DIAG_REPORTER_H
5+
#define QUICK_LINT_JS_VIM_QFLIST_JSON_DIAG_REPORTER_H
66

77
#include <optional>
88
#include <quick-lint-js/diag-reporter.h>

test/quick-lint-js/diag-collector.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (C) 2020 Matthew "strager" Glazar
22
// See end of file for extended copyright information.
33

4-
#ifndef QUICK_LINT_JS_ERROR_COLLECTOR_H
5-
#define QUICK_LINT_JS_ERROR_COLLECTOR_H
4+
#ifndef QUICK_LINT_JS_DIAG_COLLECTOR_H
5+
#define QUICK_LINT_JS_DIAG_COLLECTOR_H
66

77
#include <iosfwd>
88
#include <quick-lint-js/assert.h>

0 commit comments

Comments
 (0)