xref: /freebsd/contrib/llvm-project/clang/lib/AST/Interp/Floating.cpp (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
1  //===---- Floating.cpp - Support for floating point values ------*- C++ -*-===//
2  //
3  // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4  // See https://llvm.org/LICENSE.txt for license information.
5  // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6  //
7  //===----------------------------------------------------------------------===//
8  
9  #include "Floating.h"
10  
11  namespace clang {
12  namespace interp {
13  
operator <<(llvm::raw_ostream & OS,Floating F)14  llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, Floating F) {
15    F.print(OS);
16    return OS;
17  }
18  
getSwappedBytes(Floating F)19  Floating getSwappedBytes(Floating F) { return F; }
20  
21  } // namespace interp
22  } // namespace clang
23