summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clangd/TestTU.h
diff options
context:
space:
mode:
authorKirill Bobyrev <kbobyrev.opensource@gmail.com>2018-08-14 16:03:32 +0000
committerKirill Bobyrev <kbobyrev.opensource@gmail.com>2018-08-14 16:03:32 +0000
commit8e35f1e7cbd771145bc2658ca97018d56870c196 (patch)
tree07bfda744a5fd2f9d5e592e15c97ce1de8fb237c /clang-tools-extra/unittests/clangd/TestTU.h
parented55138247744e0189a6ee4673305842c34034a2 (diff)
downloadbcm5719-llvm-8e35f1e7cbd771145bc2658ca97018d56870c196.tar.gz
bcm5719-llvm-8e35f1e7cbd771145bc2658ca97018d56870c196.zip
NFC: Enforce good formatting across multiple clang-tools-extra files
This patch improves readability of multiple files in clang-tools-extra and enforces LLVM Coding Guidelines. Reviewed by: ioeric Differential Revision: https://reviews.llvm.org/D50707 llvm-svn: 339687
Diffstat (limited to 'clang-tools-extra/unittests/clangd/TestTU.h')
-rw-r--r--clang-tools-extra/unittests/clangd/TestTU.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/clang-tools-extra/unittests/clangd/TestTU.h b/clang-tools-extra/unittests/clangd/TestTU.h
index b66159e3aa4..3995219e127 100644
--- a/clang-tools-extra/unittests/clangd/TestTU.h
+++ b/clang-tools-extra/unittests/clangd/TestTU.h
@@ -1,11 +1,11 @@
-//===--- TestTU.h - Scratch source files for testing ------------*- C++-*-===//
+//===--- TestTU.h - Scratch source files for testing -------------*- C++-*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
-//===---------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
// Many tests for indexing, code completion etc are most naturally expressed
// using code examples.
@@ -14,8 +14,10 @@
// AST, particular symbols, etc.
//
//===---------------------------------------------------------------------===//
+
#ifndef LLVM_CLANG_TOOLS_EXTRA_UNITTESTS_CLANGD_TESTTU_H
#define LLVM_CLANG_TOOLS_EXTRA_UNITTESTS_CLANGD_TESTTU_H
+
#include "ClangdUnit.h"
#include "index/Index.h"
#include "gtest/gtest.h"
@@ -64,4 +66,5 @@ const NamedDecl &findAnyDecl(ParsedAST &AST, llvm::StringRef Name);
} // namespace clangd
} // namespace clang
-#endif
+
+#endif // LLVM_CLANG_TOOLS_EXTRA_UNITTESTS_CLANGD_TESTTU_H
OpenPOWER on IntegriCloud