//===--- ContinuationIndenter.h - Format C++ code ---------------*- C++ -*-===// // // 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 // //===----------------------------------------------------------------------===// /// /// \file /// This file implements an indenter that manages the indentation of /// continuations. /// //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_LIB_FORMAT_CONTINUATIONINDENTER_H #define LLVM_CLANG_LIB_FORMAT_CONTINUATIONINDENTER_H #include "Encoding.h" #include "FormatToken.h" namespace clang { class SourceManager; namespace format { class AnnotatedLine; class BreakableToken; struct FormatToken; struct LineState; struct ParenState; struct RawStringFormatStyleManager; class WhitespaceManager; struct RawStringFormatStyleManager { … }; class ContinuationIndenter { … }; struct ParenState { … }; /// The current state when indenting a unwrapped line. /// /// As the indenting tries different combinations this is copied by value. struct LineState { … }; } // end namespace format } // end namespace clang #endif