teak-llvm/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
Chandler Carruth 85e6e87171 Run llvm/utils/sort_includes.py over the Clang tools code. This doesn't
always produce as pretty of results as it does in LLVM and Clang, but
I don't mind and the value of having a single canonical ordering is very
high IMO.

Let me know if you spot really serious problems here.

llvm-svn: 198703
2014-01-07 20:05:01 +00:00

15 lines
337 B
C++

#include "ClangTidyTest.h"
#include "llvm/LLVMTidyModule.h"
namespace clang {
namespace tidy {
typedef ClangTidyTest<NamespaceCommentCheck> NamespaceCommentCheckTest;
TEST_F(NamespaceCommentCheckTest, Basic) {
EXPECT_EQ("namespace i {\n} // namespace i", runCheckOn("namespace i {\n}"));
}
} // namespace tidy
} // namespace clang