Skip to content

Commit cb85ecf

Browse files
author
marcrasi
authored
SymbolicValue is_pod -> is_trivial
is_pod is getting deprecated. All we really care about is that the type stay trivial. (And that's just a performance thing, I don't think we rely on that anywhere).
1 parent 333f0db commit cb85ecf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/SIL/SILConstants.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,8 @@ class SymbolicValue {
558558

559559
static_assert(sizeof(SymbolicValue) == 2 * sizeof(void *),
560560
"SymbolicValue should stay small");
561-
static_assert(std::is_pod<SymbolicValue>::value,
562-
"SymbolicValue should stay POD");
561+
static_assert(std::is_trivial<SymbolicValue>::value,
562+
"SymbolicValue should stay trivial");
563563

564564
inline llvm::raw_ostream &operator<<(llvm::raw_ostream &os, SymbolicValue val) {
565565
val.print(os);

0 commit comments

Comments
 (0)