mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-20 12:05:48 -04:00

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
15 lines
337 B
C++
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
|