enum QualType::PrimitiveCopyKind
Declared at: clang/include/clang/AST/Type.h:1225
Enumerators
Name | Value | Comment |
---|---|---|
PCK_Trivial | 0 | The 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_VolatileTrivial | 1 | The 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_ARCStrong | 2 | The type is an Objective-C retainable pointer type that is qualified with the ARC __strong qualifier. |
PCK_ARCWeak | 3 | The type is an Objective-C retainable pointer type that is qualified with the ARC __weak qualifier. |
PCK_Struct | 4 | The 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. |