enum QualType::PrimitiveCopyKind

Declared at: clang/include/clang/AST/Type.h:1225

Enumerators

NameValueComment
PCK_Trivial0The type does not fall into any of the following categories. Note that this case is zero-valued so that values of this enum can be used as a boolean condition for non-triviality.
PCK_VolatileTrivial1The type would be trivial except that it is volatile-qualified. Types that fall into one of the other non-trivial cases may additionally be volatile-qualified.
PCK_ARCStrong2The type is an Objective-C retainable pointer type that is qualified with the ARC __strong qualifier.
PCK_ARCWeak3The type is an Objective-C retainable pointer type that is qualified with the ARC __weak qualifier.
PCK_Struct4The type is a struct containing a field whose type is neither PCK_Trivial nor PCK_VolatileTrivial. Note that a C++ struct type does not necessarily match this; C++ copying semantics are too complex to express here, in part because they depend on the exact constructor or assignment operator that is chosen by overload resolution to do the copy.