//===------- FixedPoint.h - Fixedd point types for the VM -------*- 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 // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_AST_INTERP_FIXED_POINT_H #define LLVM_CLANG_AST_INTERP_FIXED_POINT_H #include "clang/AST/APValue.h" #include "clang/AST/ComparisonCategories.h" #include "llvm/ADT/APFixedPoint.h" namespace clang { namespace interp { APInt; APSInt; /// Wrapper around fixed point types. class FixedPoint final { … }; inline FixedPoint getSwappedBytes(FixedPoint F) { … } inline llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, FixedPoint F) { … } } // namespace interp } // namespace clang #endif