[clang-tools-extra] r333548 - [clangd] Add forgotten include guard to TestFS.h. NFC

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Wed May 30 07:21:31 PDT 2018


Author: ibiryukov
Date: Wed May 30 07:21:31 2018
New Revision: 333548

URL: http://llvm.org/viewvc/llvm-project?rev=333548&view=rev
Log:
[clangd] Add forgotten include guard to TestFS.h. NFC

Modified:
    clang-tools-extra/trunk/unittests/clangd/TestFS.h

Modified: clang-tools-extra/trunk/unittests/clangd/TestFS.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clangd/TestFS.h?rev=333548&r1=333547&r2=333548&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clangd/TestFS.h (original)
+++ clang-tools-extra/trunk/unittests/clangd/TestFS.h Wed May 30 07:21:31 2018
@@ -10,6 +10,8 @@
 // Allows setting up fake filesystem environments for tests.
 //
 //===----------------------------------------------------------------------===//
+#ifndef LLVM_CLANG_TOOLS_EXTRA_UNITTESTS_CLANGD_TESTFS_H
+#define LLVM_CLANG_TOOLS_EXTRA_UNITTESTS_CLANGD_TESTFS_H
 #include "ClangdServer.h"
 #include "clang/Basic/VirtualFileSystem.h"
 #include "llvm/ADT/IntrusiveRefCntPtr.h"
@@ -56,3 +58,4 @@ std::string testPath(PathRef File);
 
 } // namespace clangd
 } // namespace clang
+#endif




More information about the cfe-commits mailing list