//===--- Format.cpp - Format C++ code -------------------------------------===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===//////// \file/// \brief This file implements functions declared in Format.h. This will be/// split into separate files as we go.////// This is EXPERIMENTAL code under heavy development. It is not in a state yet,/// where it can be used to format real code./////===----------------------------------------------------------------------===//#include"clang/Format/Format.h"#include"UnwrappedLineParser.h"#include"clang/Basic/Diagnostic.h"#include"clang/Basic/OperatorPrecedence.h"#include"clang/Basic/SourceManager.h"#include"clang/Frontend/TextDiagnosticPrinter.h"#include"clang/Lex/Lexer.h"#include<string>namespaceclang{namespaceformat{enumTokenType{TT_BinaryOperator