llvm/clang/unittests/Format/FormatTestComments.cpp

//===- unittest/Format/FormatTestComments.cpp - Formatting unit tests -----===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "FormatTestBase.h"

#define DEBUG_TYPE

namespace clang {
namespace format {
namespace test {
namespace {

FormatStyle getGoogleStyle() {}

class FormatTestComments : public FormatTestBase {};

//===----------------------------------------------------------------------===//
// Tests for comments.
//===----------------------------------------------------------------------===//

TEST_F(FormatTestComments, UnderstandsSingleLineComments) {}

TEST_F(FormatTestComments, KeepsParameterWithTrailingCommentsOnTheirOwnLine) {}

TEST_F(FormatTestComments, RemovesTrailingWhitespaceOfComments) {}

TEST_F(FormatTestComments, UnderstandsBlockComments) {}

TEST_F(FormatTestComments, AlignsBlockComments) {}

TEST_F(FormatTestComments, CommentReflowingCanBeTurnedOff) {}

TEST_F(FormatTestComments, CorrectlyHandlesLengthOfBlockComments) {}

TEST_F(FormatTestComments, DontBreakNonTrailingBlockComments) {}

TEST_F(FormatTestComments, SplitsLongCxxComments) {}

TEST_F(FormatTestComments, PreservesHangingIndentInCxxComments) {}

TEST_F(FormatTestComments, DontSplitLineCommentsWithEscapedNewlines) {}

TEST_F(FormatTestComments, DontIntroduceMultilineComments) {}

TEST_F(FormatTestComments, DontSplitLineCommentsWithPragmas) {}

TEST_F(FormatTestComments, PriorityOfCommentBreaking) {}

TEST_F(FormatTestComments, MultiLineCommentsInDefines) {}

TEST_F(FormatTestComments, ParsesCommentsAdjacentToPPDirectives) {}

TEST_F(FormatTestComments, KeepsLevelOfCommentBeforePPDirective) {}

TEST_F(FormatTestComments, CommentsBetweenUnbracedBodyAndPPDirective) {}

TEST_F(FormatTestComments, SplitsLongLinesInComments) {}

TEST_F(FormatTestComments, SplitsLongLinesInCommentsInPreprocessor) {}

TEST_F(FormatTestComments, KeepsTrailingPPCommentsAndSectionCommentsSeparate) {}

TEST_F(FormatTestComments, AlignsPPElseEndifComments) {}

TEST_F(FormatTestComments, CommentsInStaticInitializers) {}

TEST_F(FormatTestComments, LineCommentsAfterRightBrace) {}

TEST_F(FormatTestComments, ReflowsComments) {}

TEST_F(FormatTestComments, ReflowsCommentsPrecise) {}

TEST_F(FormatTestComments, ReflowsCommentsWithExtraWhitespace) {}

TEST_F(FormatTestComments, IgnoresIf0Contents) {}

TEST_F(FormatTestComments, DontCrashOnBlockComments) {}

TEST_F(FormatTestComments, BlockCommentsInControlLoops) {}

TEST_F(FormatTestComments, BlockComments) {}

TEST_F(FormatTestComments, BlockCommentsInMacros) {}

TEST_F(FormatTestComments, BlockCommentsAtEndOfLine) {}

TEST_F(FormatTestComments, BreaksAfterMultilineBlockCommentsInParamLists) {}

TEST_F(FormatTestComments, IndentLineCommentsInStartOfBlockAtEndOfFile) {}

TEST_F(FormatTestComments, AlignTrailingComments) {}

TEST_F(FormatTestComments, AlignTrailingCommentsAcrossEmptyLines) {}

TEST_F(FormatTestComments, AlignTrailingCommentsLeave) {}

TEST_F(FormatTestComments, DontAlignNamespaceComments) {}

TEST_F(FormatTestComments, DontAlignOverScope) {}

TEST_F(FormatTestComments, AlignsBlockCommentDecorations) {}

TEST_F(FormatTestComments, NoCrash_Bug34236) {}

TEST_F(FormatTestComments, NonTrailingBlockComments) {}

TEST_F(FormatTestComments, PythonStyleComments) {}

TEST_F(FormatTestComments, BreaksBeforeTrailingUnbreakableSequence) {}

TEST_F(FormatTestComments, ReflowBackslashCrash) {}

TEST_F(FormatTestComments, IndentsLongJavadocAnnotatedLines) {}

TEST_F(FormatTestComments, SpaceAtLineCommentBegin) {}

TEST_F(FormatTestComments, SplitCommentIntroducers) {}

} // end namespace
} // namespace test
} // end namespace format
} // end namespace clang