xref: /freebsd/contrib/llvm-project/clang/lib/AST/Interp/Floating.cpp (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
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