We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9d36bd commit 50b58e8Copy full SHA for 50b58e8
llvm/include/llvm/Demangle/ItaniumDemangle.h
@@ -27,18 +27,18 @@
27
#include <cstring>
28
#include <limits>
29
#include <new>
30
-#include <type_traits>
31
#include <utility>
32
33
DEMANGLE_NAMESPACE_BEGIN
34
35
template <class T, size_t N> class PODSmallVector {
36
- static_assert(std::is_trivial_v<T>, "T is required to be a trivial type");
+ static_assert(std::is_pod<T>::value,
+ "T is required to be a plain old data type");
37
38
T *First = nullptr;
39
T *Last = nullptr;
40
T *Cap = nullptr;
41
- T Inline[N] = {};
+ T Inline[N] = {0};
42
43
bool isInline() const { return First == Inline; }
44
0 commit comments