@@ -687,73 +687,73 @@ namespace clang {
687687 // / by the AST context when it is created.
688688 enum PredefinedTypeIDs {
689689 // / \brief The NULL type.
690- PREDEF_TYPE_NULL_ID = 0 ,
690+ PREDEF_TYPE_NULL_ID = 0 ,
691691 // / \brief The void type.
692- PREDEF_TYPE_VOID_ID = 1 ,
692+ PREDEF_TYPE_VOID_ID = 1 ,
693693 // / \brief The 'bool' or '_Bool' type.
694- PREDEF_TYPE_BOOL_ID = 2 ,
694+ PREDEF_TYPE_BOOL_ID = 2 ,
695695 // / \brief The 'char' type, when it is unsigned.
696- PREDEF_TYPE_CHAR_U_ID = 3 ,
696+ PREDEF_TYPE_CHAR_U_ID = 3 ,
697697 // / \brief The 'unsigned char' type.
698- PREDEF_TYPE_UCHAR_ID = 4 ,
698+ PREDEF_TYPE_UCHAR_ID = 4 ,
699699 // / \brief The 'unsigned short' type.
700- PREDEF_TYPE_USHORT_ID = 5 ,
700+ PREDEF_TYPE_USHORT_ID = 5 ,
701701 // / \brief The 'unsigned int' type.
702- PREDEF_TYPE_UINT_ID = 6 ,
702+ PREDEF_TYPE_UINT_ID = 6 ,
703703 // / \brief The 'unsigned long' type.
704- PREDEF_TYPE_ULONG_ID = 7 ,
704+ PREDEF_TYPE_ULONG_ID = 7 ,
705705 // / \brief The 'unsigned long long' type.
706- PREDEF_TYPE_ULONGLONG_ID = 8 ,
706+ PREDEF_TYPE_ULONGLONG_ID = 8 ,
707707 // / \brief The 'char' type, when it is signed.
708- PREDEF_TYPE_CHAR_S_ID = 9 ,
708+ PREDEF_TYPE_CHAR_S_ID = 9 ,
709709 // / \brief The 'signed char' type.
710- PREDEF_TYPE_SCHAR_ID = 10 ,
710+ PREDEF_TYPE_SCHAR_ID = 10 ,
711711 // / \brief The C++ 'wchar_t' type.
712- PREDEF_TYPE_WCHAR_ID = 11 ,
712+ PREDEF_TYPE_WCHAR_ID = 11 ,
713713 // / \brief The (signed) 'short' type.
714- PREDEF_TYPE_SHORT_ID = 12 ,
714+ PREDEF_TYPE_SHORT_ID = 12 ,
715715 // / \brief The (signed) 'int' type.
716- PREDEF_TYPE_INT_ID = 13 ,
716+ PREDEF_TYPE_INT_ID = 13 ,
717717 // / \brief The (signed) 'long' type.
718- PREDEF_TYPE_LONG_ID = 14 ,
718+ PREDEF_TYPE_LONG_ID = 14 ,
719719 // / \brief The (signed) 'long long' type.
720- PREDEF_TYPE_LONGLONG_ID = 15 ,
720+ PREDEF_TYPE_LONGLONG_ID = 15 ,
721721 // / \brief The 'float' type.
722- PREDEF_TYPE_FLOAT_ID = 16 ,
722+ PREDEF_TYPE_FLOAT_ID = 16 ,
723723 // / \brief The 'double' type.
724- PREDEF_TYPE_DOUBLE_ID = 17 ,
724+ PREDEF_TYPE_DOUBLE_ID = 17 ,
725725 // / \brief The 'long double' type.
726726 PREDEF_TYPE_LONGDOUBLE_ID = 18 ,
727727 // / \brief The placeholder type for overloaded function sets.
728- PREDEF_TYPE_OVERLOAD_ID = 19 ,
728+ PREDEF_TYPE_OVERLOAD_ID = 19 ,
729729 // / \brief The placeholder type for dependent types.
730- PREDEF_TYPE_DEPENDENT_ID = 20 ,
730+ PREDEF_TYPE_DEPENDENT_ID = 20 ,
731731 // / \brief The '__uint128_t' type.
732- PREDEF_TYPE_UINT128_ID = 21 ,
732+ PREDEF_TYPE_UINT128_ID = 21 ,
733733 // / \brief The '__int128_t' type.
734- PREDEF_TYPE_INT128_ID = 22 ,
734+ PREDEF_TYPE_INT128_ID = 22 ,
735735 // / \brief The type of 'nullptr'.
736- PREDEF_TYPE_NULLPTR_ID = 23 ,
736+ PREDEF_TYPE_NULLPTR_ID = 23 ,
737737 // / \brief The C++ 'char16_t' type.
738- PREDEF_TYPE_CHAR16_ID = 24 ,
738+ PREDEF_TYPE_CHAR16_ID = 24 ,
739739 // / \brief The C++ 'char32_t' type.
740- PREDEF_TYPE_CHAR32_ID = 25 ,
740+ PREDEF_TYPE_CHAR32_ID = 25 ,
741741 // / \brief The ObjC 'id' type.
742- PREDEF_TYPE_OBJC_ID = 26 ,
742+ PREDEF_TYPE_OBJC_ID = 26 ,
743743 // / \brief The ObjC 'Class' type.
744- PREDEF_TYPE_OBJC_CLASS = 27 ,
744+ PREDEF_TYPE_OBJC_CLASS = 27 ,
745745 // / \brief The ObjC 'SEL' type.
746- PREDEF_TYPE_OBJC_SEL = 28 ,
746+ PREDEF_TYPE_OBJC_SEL = 28 ,
747747 // / \brief The 'unknown any' placeholder type.
748- PREDEF_TYPE_UNKNOWN_ANY = 29 ,
748+ PREDEF_TYPE_UNKNOWN_ANY = 29 ,
749749 // / \brief The placeholder type for bound member functions.
750- PREDEF_TYPE_BOUND_MEMBER = 30 ,
750+ PREDEF_TYPE_BOUND_MEMBER = 30 ,
751751 // / \brief The "auto" deduction type.
752- PREDEF_TYPE_AUTO_DEDUCT = 31 ,
752+ PREDEF_TYPE_AUTO_DEDUCT = 31 ,
753753 // / \brief The "auto &&" deduction type.
754754 PREDEF_TYPE_AUTO_RREF_DEDUCT = 32 ,
755755 // / \brief The OpenCL 'half' / ARM NEON __fp16 type.
756- PREDEF_TYPE_HALF_ID = 33 ,
756+ PREDEF_TYPE_HALF_ID = 33 ,
757757 // / \brief ARC's unbridged-cast placeholder type.
758758 PREDEF_TYPE_ARC_UNBRIDGED_CAST = 34 ,
759759 // / \brief The pseudo-object placeholder type.
@@ -763,21 +763,23 @@ namespace clang {
763763 // / \brief The placeholder type for builtin functions.
764764 PREDEF_TYPE_BUILTIN_FN = 37 ,
765765 // / \brief OpenCL 1d image type.
766- PREDEF_TYPE_IMAGE1D_ID = 38 ,
766+ PREDEF_TYPE_IMAGE1D_ID = 38 ,
767767 // / \brief OpenCL 1d image array type.
768768 PREDEF_TYPE_IMAGE1D_ARR_ID = 39 ,
769769 // / \brief OpenCL 1d image buffer type.
770770 PREDEF_TYPE_IMAGE1D_BUFF_ID = 40 ,
771771 // / \brief OpenCL 2d image type.
772- PREDEF_TYPE_IMAGE2D_ID = 41 ,
772+ PREDEF_TYPE_IMAGE2D_ID = 41 ,
773773 // / \brief OpenCL 2d image array type.
774774 PREDEF_TYPE_IMAGE2D_ARR_ID = 42 ,
775775 // / \brief OpenCL 3d image type.
776- PREDEF_TYPE_IMAGE3D_ID = 43 ,
776+ PREDEF_TYPE_IMAGE3D_ID = 43 ,
777777 // / \brief OpenCL event type.
778- PREDEF_TYPE_EVENT_ID = 44 ,
778+ PREDEF_TYPE_EVENT_ID = 44 ,
779779 // / \brief OpenCL sampler type.
780- PREDEF_TYPE_SAMPLER_ID = 45
780+ PREDEF_TYPE_SAMPLER_ID = 45 ,
781+ // / \brief HLSL LinAlg Matrix type.
782+ PREDEF_TYPE_LINALG_MATRIX_ID = 46
781783 };
782784
783785 // / \brief The number of predefined type IDs that are reserved for
0 commit comments