xref: /freebsd/contrib/llvm-project/clang/lib/AST/Interp/Floating.cpp (revision 0ad011ececb978e22a9bff2acf76633b094f1ff6)
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 
14 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, Floating F) {
15   F.print(OS);
16   return OS;
17 }
18 
19 Floating getSwappedBytes(Floating F) { return F; }
20 
21 } // namespace interp
22 } // namespace clang
23