Skip to content

Commit 48e6ff9

Browse files
committed
[clangd] Fix some header guard names, NFC
Per the LLVM code style, there should be no trailing `_` on the header guard name.
1 parent f1f1b60 commit 48e6ff9

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

clang-tools-extra/clangd/AST.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_AST_H_
14-
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_AST_H_
13+
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_AST_H
14+
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_AST_H
1515

1616
#include "index/SymbolID.h"
1717
#include "clang/AST/Decl.h"
@@ -238,4 +238,4 @@ bool isExpandedFromParameterPack(const ParmVarDecl *D);
238238
} // namespace clangd
239239
} // namespace clang
240240

241-
#endif // LLVM_CLANG_TOOLS_EXTRA_CLANGD_AST_H_
241+
#endif // LLVM_CLANG_TOOLS_EXTRA_CLANGD_AST_H

clang-tools-extra/clangd/Transport.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
//
1616
//===----------------------------------------------------------------------===//
1717

18-
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_TRANSPORT_H_
19-
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_TRANSPORT_H_
18+
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_TRANSPORT_H
19+
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_TRANSPORT_H
2020

2121
#include "Feature.h"
2222
#include "llvm/ADT/StringRef.h"

clang-tools-extra/clangd/support/Context.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
//
1212
//===----------------------------------------------------------------------===//
1313

14-
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_CONTEXT_H_
15-
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_CONTEXT_H_
14+
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_CONTEXT_H
15+
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_CONTEXT_H
1616

1717
#include "llvm/ADT/STLExtras.h"
1818
#include "llvm/Support/Compiler.h"

clang-tools-extra/clangd/support/MemoryTree.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_MEMORYTREE_H_
10-
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_MEMORYTREE_H_
9+
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_MEMORYTREE_H
10+
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_MEMORYTREE_H
1111

1212
#include "Trace.h"
1313
#include "llvm/ADT/DenseMap.h"

clang-tools-extra/clangd/support/Trace.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
//
1515
//===----------------------------------------------------------------------===//
1616

17-
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_TRACE_H_
18-
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_TRACE_H_
17+
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_TRACE_H
18+
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_TRACE_H
1919

2020
#include "support/Context.h"
2121
#include "llvm/ADT/StringRef.h"

0 commit comments

Comments
 (0)