[clang] [clang][Interp] Support arbitrary precision constants (PR #79747)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 30 10:21:35 PST 2024
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/79747 at github.com>
================
@@ -209,9 +210,10 @@ static void emit(Program &P, std::vector<std::byte> &Code, const T &Val,
}
}
-template <>
-void emit(Program &P, std::vector<std::byte> &Code, const Floating &Val,
- bool &Success) {
+/// Emits a serializable value. These usually (potentially) contain heap-allocated
+/// memory and aren't trivially copyable.
+template<typename T>
----------------
AaronBallman wrote:
```suggestion
template <typename T>
```
https://github.com/llvm/llvm-project/pull/79747
More information about the cfe-commits
mailing list