llvm/clang/unittests/Format/FormatTestUtils.h

//===- unittest/Format/FormatTestUtils.h - 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
//
//===----------------------------------------------------------------------===//
//
//  This file defines utility functions for Clang-Format related tests.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_UNITTESTS_FORMAT_FORMATTESTUTILS_H
#define LLVM_CLANG_UNITTESTS_FORMAT_FORMATTESTUTILS_H

#include "clang/Format/Format.h"
#include "llvm/ADT/StringRef.h"

namespace clang {
namespace format {
namespace test {

inline FormatStyle getGoogleStyle() {}

// When HandleHash is false, preprocessor directives starting with hash will not
// be on separate lines.  This is needed because Verilog uses hash for other
// purposes.
inline std::string messUp(StringRef Code, bool HandleHash = true) {}

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

#endif