Skip to content

Commit

Permalink
[clangd] Add a missing header guard for InsertionPoint.h
Browse files Browse the repository at this point in the history
  • Loading branch information
hokein committed Dec 12, 2022
1 parent 6442b4d commit c187182
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clang-tools-extra/clangd/refactor/InsertionPoint.h
Expand Up @@ -6,6 +6,9 @@
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_REFACTOR_INSERTIONPOINT_H
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_REFACTOR_INSERTIONPOINT_H

#include "clang/AST/DeclCXX.h"
#include "clang/Basic/Specifiers.h"
#include "clang/Tooling/Core/Replacement.h"
Expand Down Expand Up @@ -51,3 +54,5 @@ llvm::Expected<tooling::Replacement> insertDecl(llvm::StringRef Code,

} // namespace clangd
} // namespace clang

#endif

0 comments on commit c187182

Please sign in to comment.