clang  16.0.0git
ASTBitCodes.h
Go to the documentation of this file.
1 //===- ASTBitCodes.h - Enum values for the PCH bitcode format ---*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This header defines Bitcode enum values for Clang serialized AST files.
10 //
11 // The enum values defined in this file should be considered permanent. If
12 // new features are added, they should have values added at the end of the
13 // respective lists.
14 //
15 //===----------------------------------------------------------------------===//
16 
17 #ifndef LLVM_CLANG_SERIALIZATION_ASTBITCODES_H
18 #define LLVM_CLANG_SERIALIZATION_ASTBITCODES_H
19 
21 #include "clang/AST/Type.h"
25 #include "llvm/ADT/DenseMapInfo.h"
26 #include "llvm/Bitstream/BitCodes.h"
27 #include <cassert>
28 #include <cstdint>
29 
30 namespace clang {
31 namespace serialization {
32 
33 /// AST file major version number supported by this version of
34 /// Clang.
35 ///
36 /// Whenever the AST file format changes in a way that makes it
37 /// incompatible with previous versions (such that a reader
38 /// designed for the previous version could not support reading
39 /// the new version), this number should be increased.
40 ///
41 /// Version 4 of AST files also requires that the version control branch and
42 /// revision match exactly, since there is no backward compatibility of
43 /// AST files at this time.
44 const unsigned VERSION_MAJOR = 24;
45 
46 /// AST file minor version number supported by this version of
47 /// Clang.
48 ///
49 /// Whenever the AST format changes in a way that is still
50 /// compatible with previous versions (such that a reader designed
51 /// for the previous version could still support reading the new
52 /// version by ignoring new kinds of subblocks), this number
53 /// should be increased.
54 const unsigned VERSION_MINOR = 0;
55 
56 /// An ID number that refers to an identifier in an AST file.
57 ///
58 /// The ID numbers of identifiers are consecutive (in order of discovery)
59 /// and start at 1. 0 is reserved for NULL.
60 using IdentifierID = uint32_t;
61 
62 /// An ID number that refers to a declaration in an AST file.
63 ///
64 /// The ID numbers of declarations are consecutive (in order of
65 /// discovery), with values below NUM_PREDEF_DECL_IDS being reserved.
66 /// At the start of a chain of precompiled headers, declaration ID 1 is
67 /// used for the translation unit declaration.
68 using DeclID = uint32_t;
69 
70 // FIXME: Turn these into classes so we can have some type safety when
71 // we go from local ID to global and vice-versa.
74 
75 /// An ID number that refers to a type in an AST file.
76 ///
77 /// The ID of a type is partitioned into two parts: the lower
78 /// three bits are used to store the const/volatile/restrict
79 /// qualifiers (as with QualType) and the upper bits provide a
80 /// type index. The type index values are partitioned into two
81 /// sets. The values below NUM_PREDEF_TYPE_IDs are predefined type
82 /// IDs (based on the PREDEF_TYPE_*_ID constants), with 0 as a
83 /// placeholder for "no type". Values from NUM_PREDEF_TYPE_IDs are
84 /// other types that have serialized representations.
85 using TypeID = uint32_t;
86 
87 /// A type index; the type ID with the qualifier bits removed.
88 class TypeIdx {
89  uint32_t Idx = 0;
90 
91 public:
92  TypeIdx() = default;
93  explicit TypeIdx(uint32_t index) : Idx(index) {}
94 
95  uint32_t getIndex() const { return Idx; }
96 
97  TypeID asTypeID(unsigned FastQuals) const {
98  if (Idx == uint32_t(-1))
99  return TypeID(-1);
100 
101  return (Idx << Qualifiers::FastWidth) | FastQuals;
102  }
103 
105  if (ID == TypeID(-1))
106  return TypeIdx(-1);
107 
108  return TypeIdx(ID >> Qualifiers::FastWidth);
109  }
110 };
111 
112 /// A structure for putting "fast"-unqualified QualTypes into a
113 /// DenseMap. This uses the standard pointer hash function.
115  static bool isEqual(QualType A, QualType B) { return A == B; }
116 
118  return QualType::getFromOpaquePtr((void *)1);
119  }
120 
122  return QualType::getFromOpaquePtr((void *)2);
123  }
124 
125  static unsigned getHashValue(QualType T) {
126  assert(!T.getLocalFastQualifiers() &&
127  "hash invalid for types with fast quals");
128  uintptr_t v = reinterpret_cast<uintptr_t>(T.getAsOpaquePtr());
129  return (unsigned(v) >> 4) ^ (unsigned(v) >> 9);
130  }
131 };
132 
133 /// An ID number that refers to an identifier in an AST file.
134 using IdentID = uint32_t;
135 
136 /// The number of predefined identifier IDs.
137 const unsigned int NUM_PREDEF_IDENT_IDS = 1;
138 
139 /// An ID number that refers to a macro in an AST file.
140 using MacroID = uint32_t;
141 
142 /// A global ID number that refers to a macro in an AST file.
143 using GlobalMacroID = uint32_t;
144 
145 /// A local to a module ID number that refers to a macro in an
146 /// AST file.
147 using LocalMacroID = uint32_t;
148 
149 /// The number of predefined macro IDs.
150 const unsigned int NUM_PREDEF_MACRO_IDS = 1;
151 
152 /// An ID number that refers to an ObjC selector in an AST file.
153 using SelectorID = uint32_t;
154 
155 /// The number of predefined selector IDs.
156 const unsigned int NUM_PREDEF_SELECTOR_IDS = 1;
157 
158 /// An ID number that refers to a set of CXXBaseSpecifiers in an
159 /// AST file.
160 using CXXBaseSpecifiersID = uint32_t;
161 
162 /// An ID number that refers to a list of CXXCtorInitializers in an
163 /// AST file.
164 using CXXCtorInitializersID = uint32_t;
165 
166 /// An ID number that refers to an entity in the detailed
167 /// preprocessing record.
168 using PreprocessedEntityID = uint32_t;
169 
170 /// An ID number that refers to a submodule in a module file.
171 using SubmoduleID = uint32_t;
172 
173 /// The number of predefined submodule IDs.
174 const unsigned int NUM_PREDEF_SUBMODULE_IDS = 1;
175 
176 /// Source range/offset of a preprocessed entity.
178  /// Raw source location of beginning of range.
180 
181  /// Raw source location of end of range.
183 
184  /// Offset in the AST file relative to ModuleFile::MacroOffsetsBase.
185  uint32_t BitOffset;
186 
188  : Begin(R.getBegin().getRawEncoding()), End(R.getEnd().getRawEncoding()),
189  BitOffset(BitOffset) {}
190 
193  }
194 
197  }
198 };
199 
200 /// Source range of a skipped preprocessor region
202  /// Raw source location of beginning of range.
204  /// Raw source location of end of range.
206 
208  : Begin(R.getBegin().getRawEncoding()), End(R.getEnd().getRawEncoding()) {
209  }
210 
213  }
216  }
217 };
218 
219 /// Offset in the AST file. Use splitted 64-bit integer into low/high
220 /// parts to keep structure alignment 32-bit (it is important because
221 /// blobs in bitstream are 32-bit aligned). This structure is serialized
222 /// "as is" to the AST file.
224  uint32_t BitOffsetLow = 0;
225  uint32_t BitOffsetHigh = 0;
226 
227  UnderalignedInt64() = default;
228  UnderalignedInt64(uint64_t BitOffset) { setBitOffset(BitOffset); }
229 
232  BitOffsetHigh = Offset >> 32;
233  }
234 
236  return BitOffsetLow | (uint64_t(BitOffsetHigh) << 32);
237  }
238 };
239 
240 /// Source location and bit offset of a declaration.
241 struct DeclOffset {
242  /// Raw source location.
244 
245  /// Offset relative to the start of the DECLTYPES_BLOCK block. Keep
246  /// structure alignment 32-bit and avoid padding gap because undefined
247  /// value in the padding affects AST hash.
249 
250  DeclOffset() = default;
252  uint64_t DeclTypesBlockStartOffset) {
253  setLocation(Loc);
254  setBitOffset(BitOffset, DeclTypesBlockStartOffset);
255  }
256 
258 
261  }
262 
263  void setBitOffset(uint64_t Offset, const uint64_t DeclTypesBlockStartOffset) {
264  BitOffset.setBitOffset(Offset - DeclTypesBlockStartOffset);
265  }
266 
267  uint64_t getBitOffset(const uint64_t DeclTypesBlockStartOffset) const {
268  return BitOffset.getBitOffset() + DeclTypesBlockStartOffset;
269  }
270 };
271 
272 /// The number of predefined preprocessed entity IDs.
273 const unsigned int NUM_PREDEF_PP_ENTITY_IDS = 1;
274 
275 /// Describes the various kinds of blocks that occur within
276 /// an AST file.
277 enum BlockIDs {
278  /// The AST block, which acts as a container around the
279  /// full AST block.
280  AST_BLOCK_ID = llvm::bitc::FIRST_APPLICATION_BLOCKID,
281 
282  /// The block containing information about the source
283  /// manager.
285 
286  /// The block containing information about the
287  /// preprocessor.
289 
290  /// The block containing the definitions of all of the
291  /// types and decls used within the AST file.
293 
294  /// The block containing the detailed preprocessing record.
296 
297  /// The block containing the submodule structure.
299 
300  /// The block containing comments.
302 
303  /// The control block, which contains all of the
304  /// information that needs to be validated prior to committing
305  /// to loading the AST file.
307 
308  /// The block of input files, which were used as inputs
309  /// to create this AST file.
310  ///
311  /// This block is part of the control block.
313 
314  /// The block of configuration options, used to check that
315  /// a module is being used in a configuration compatible with the
316  /// configuration in which it was built.
317  ///
318  /// This block is part of the control block.
320 
321  /// A block containing a module file extension.
323 
324  /// A block with unhashed content.
325  ///
326  /// These records should not change the \a ASTFileSignature. See \a
327  /// UnhashedControlBlockRecordTypes for the list of records.
329 };
330 
331 /// Record types that occur within the control block.
333  /// AST file metadata, including the AST file version number
334  /// and information about the compiler used to build this AST file.
335  METADATA = 1,
336 
337  /// Record code for the list of other AST files imported by
338  /// this AST file.
340 
341  /// Record code for the original file that was used to
342  /// generate the AST file, including both its file ID and its
343  /// name.
345 
346  /// Record code for file ID of the file or buffer that was used to
347  /// generate the AST file.
349 
350  /// Offsets into the input-files block where input files
351  /// reside.
353 
354  /// Record code for the module name.
356 
357  /// Record code for the module map file that was used to build this
358  /// AST file.
360 
361  /// Record code for the module build directory.
363 };
364 
365 /// Record types that occur within the options block inside
366 /// the control block.
368  /// Record code for the language options table.
369  ///
370  /// The record with this code contains the contents of the
371  /// LangOptions structure. We serialize the entire contents of
372  /// the structure, and let the reader decide which options are
373  /// actually important to check.
375 
376  /// Record code for the target options table.
378 
379  /// Record code for the filesystem options table.
381 
382  /// Record code for the headers search options table.
384 
385  /// Record code for the preprocessor options table.
387 };
388 
389 /// Record codes for the unhashed control block.
391  /// Record code for the signature that identifiers this AST file.
393 
394  /// Record code for the content hash of the AST block.
396 
397  /// Record code for the diagnostic options table.
399 
400  /// Record code for \#pragma diagnostic mappings.
402 
403  /// Record code for the indices of used header search entries.
405 };
406 
407 /// Record code for extension blocks.
409  /// Metadata describing this particular extension.
411 
412  /// The first record ID allocated to the extensions themselves.
414 };
415 
416 /// Record types that occur within the input-files block
417 /// inside the control block.
419  /// An input file.
421 
422  /// The input file content hash
424 };
425 
426 /// Record types that occur within the AST block itself.
428  /// Record code for the offsets of each type.
429  ///
430  /// The TYPE_OFFSET constant describes the record that occurs
431  /// within the AST block. The record itself is an array of offsets that
432  /// point into the declarations and types block (identified by
433  /// DECLTYPES_BLOCK_ID). The index into the array is based on the ID
434  /// of a type. For a given type ID @c T, the lower three bits of
435  /// @c T are its qualifiers (const, volatile, restrict), as in
436  /// the QualType class. The upper bits, after being shifted and
437  /// subtracting NUM_PREDEF_TYPE_IDS, are used to index into the
438  /// TYPE_OFFSET block to determine the offset of that type's
439  /// corresponding record within the DECLTYPES_BLOCK_ID block.
441 
442  /// Record code for the offsets of each decl.
443  ///
444  /// The DECL_OFFSET constant describes the record that occurs
445  /// within the block identified by DECL_OFFSETS_BLOCK_ID within
446  /// the AST block. The record itself is an array of offsets that
447  /// point into the declarations and types block (identified by
448  /// DECLTYPES_BLOCK_ID). The declaration ID is an index into this
449  /// record, after subtracting one to account for the use of
450  /// declaration ID 0 for a NULL declaration pointer. Index 0 is
451  /// reserved for the translation unit declaration.
453 
454  /// Record code for the table of offsets of each
455  /// identifier ID.
456  ///
457  /// The offset table contains offsets into the blob stored in
458  /// the IDENTIFIER_TABLE record. Each offset points to the
459  /// NULL-terminated string that corresponds to that identifier.
461 
462  /// This is so that older clang versions, before the introduction
463  /// of the control block, can read and reject the newer PCH format.
464  /// *DON'T CHANGE THIS NUMBER*.
466 
467  /// Record code for the identifier table.
468  ///
469  /// The identifier table is a simple blob that contains
470  /// NULL-terminated strings for all of the identifiers
471  /// referenced by the AST file. The IDENTIFIER_OFFSET table
472  /// contains the mapping from identifier IDs to the characters
473  /// in this blob. Note that the starting offsets of all of the
474  /// identifiers are odd, so that, when the identifier offset
475  /// table is loaded in, we can use the low bit to distinguish
476  /// between offsets (for unresolved identifier IDs) and
477  /// IdentifierInfo pointers (for already-resolved identifier
478  /// IDs).
480 
481  /// Record code for the array of eagerly deserialized decls.
482  ///
483  /// The AST file contains a list of all of the declarations that should be
484  /// eagerly deserialized present within the parsed headers, stored as an
485  /// array of declaration IDs. These declarations will be
486  /// reported to the AST consumer after the AST file has been
487  /// read, since their presence can affect the semantics of the
488  /// program (e.g., for code generation).
490 
491  /// Record code for the set of non-builtin, special
492  /// types.
493  ///
494  /// This record contains the type IDs for the various type nodes
495  /// that are constructed during semantic analysis (e.g.,
496  /// __builtin_va_list). The SPECIAL_TYPE_* constants provide
497  /// offsets into this record.
499 
500  /// Record code for the extra statistics we gather while
501  /// generating an AST file.
503 
504  /// Record code for the array of tentative definitions.
506 
507  // ID 10 used to be for a list of extern "C" declarations.
508 
509  /// Record code for the table of offsets into the
510  /// Objective-C method pool.
512 
513  /// Record code for the Objective-C method pool,
515 
516  /// The value of the next __COUNTER__ to dispense.
517  /// [PP_COUNTER_VALUE, Val]
519 
520  /// Record code for the table of offsets into the block
521  /// of source-location information.
523 
524  /// Record code for the set of source location entries
525  /// that need to be preloaded by the AST reader.
526  ///
527  /// This set contains the source location entry for the
528  /// predefines buffer and for any file entries that need to be
529  /// preloaded.
531 
532  /// Record code for the set of ext_vector type names.
534 
535  /// Record code for the array of unused file scoped decls.
537 
538  /// Record code for the table of offsets to entries in the
539  /// preprocessing record.
541 
542  /// Record code for the array of VTable uses.
544 
545  // ID 20 used to be for a list of dynamic classes.
546 
547  /// Record code for referenced selector pool.
549 
550  /// Record code for an update to the TU's lexically contained
551  /// declarations.
553 
554  // ID 23 used to be for a list of local redeclarations.
555 
556  /// Record code for declarations that Sema keeps references of.
558 
559  /// Record code for weak undeclared identifiers.
561 
562  /// Record code for pending implicit instantiations.
564 
565  // ID 27 used to be for a list of replacement decls.
566 
567  /// Record code for an update to a decl context's lookup table.
568  ///
569  /// In practice, this should only be used for the TU and namespaces.
571 
572  /// Record for offsets of DECL_UPDATES records for declarations
573  /// that were modified after being deserialized and need updates.
575 
576  // ID 30 used to be a decl update record. These are now in the DECLTYPES
577  // block.
578 
579  // ID 31 used to be a list of offsets to DECL_CXX_BASE_SPECIFIERS records.
580 
581  // ID 32 used to be the code for \#pragma diagnostic mappings.
582 
583  /// Record code for special CUDA declarations.
585 
586  /// Record code for header search information.
588 
589  /// Record code for floating point \#pragma options.
591 
592  /// Record code for enabled OpenCL extensions.
594 
595  /// The list of delegating constructor declarations.
597 
598  /// Record code for the set of known namespaces, which are used
599  /// for typo correction.
601 
602  /// Record code for the remapping information used to relate
603  /// loaded modules to the various offsets and IDs(e.g., source location
604  /// offests, declaration and type IDs) that are used in that module to
605  /// refer to other modules.
607 
608  /// Record code for the source manager line table information,
609  /// which stores information about \#line directives.
611 
612  /// Record code for map of Objective-C class definition IDs to the
613  /// ObjC categories in a module that are attached to that class.
615 
616  /// Record code for a file sorted array of DeclIDs in a module.
618 
619  /// Record code for an array of all of the (sub)modules that were
620  /// imported by the AST file.
622 
623  // ID 44 used to be a table of merged canonical declarations.
624  // ID 45 used to be a list of declaration IDs of local redeclarations.
625 
626  /// Record code for the array of Objective-C categories (including
627  /// extensions).
628  ///
629  /// This array can only be interpreted properly using the Objective-C
630  /// categories map.
632 
633  /// Record code for the table of offsets of each macro ID.
634  ///
635  /// The offset table contains offsets into the blob stored in
636  /// the preprocessor block. Each offset points to the corresponding
637  /// macro definition.
639 
640  /// A list of "interesting" identifiers. Only used in C++ (where we
641  /// don't normally do lookups into the serialized identifier table). These
642  /// are eagerly deserialized.
644 
645  /// Record code for undefined but used functions and variables that
646  /// need a definition in this TU.
648 
649  /// Record code for late parsed template functions.
651 
652  /// Record code for \#pragma optimize options.
654 
655  /// Record code for potentially unused local typedef names.
657 
658  // ID 53 used to be a table of constructor initializer records.
659 
660  /// Delete expressions that will be analyzed later.
662 
663  /// Record code for \#pragma ms_struct options.
665 
666  /// Record code for \#pragma ms_struct options.
668 
669  /// Number of unmatched #pragma clang cuda_force_host_device begin
670  /// directives we've seen.
672 
673  /// Record code for types associated with OpenCL extensions.
675 
676  /// Record code for declarations associated with OpenCL extensions.
678 
680 
681  /// Record code for \#pragma align/pack options.
683 
684  /// The stack of open #ifs/#ifdefs recorded in a preamble.
686 
687  /// A table of skipped ranges within the preprocessing record.
689 
690  /// Record code for the Decls to be checked for deferred diags.
692 
693  /// Record code for \#pragma float_control options.
695 
696  /// Record code for included files.
698 
699  /// Record code for an unterminated \#pragma clang assume_nonnull begin
700  /// recorded in a preamble.
702 };
703 
704 /// Record types used within a source manager block.
706  /// Describes a source location entry (SLocEntry) for a
707  /// file.
709 
710  /// Describes a source location entry (SLocEntry) for a
711  /// buffer.
713 
714  /// Describes a blob that contains the data for a buffer
715  /// entry. This kind of record always directly follows a
716  /// SM_SLOC_BUFFER_ENTRY record or a SM_SLOC_FILE_ENTRY with an
717  /// overridden buffer.
719 
720  /// Describes a zlib-compressed blob that contains the data for
721  /// a buffer entry.
723 
724  /// Describes a source location entry (SLocEntry) for a
725  /// macro expansion.
727 };
728 
729 /// Record types used within a preprocessor block.
731  // The macros in the PP section are a PP_MACRO_* instance followed by a
732  // list of PP_TOKEN instances for each token in the definition.
733 
734  /// An object-like macro definition.
735  /// [PP_MACRO_OBJECT_LIKE, IdentInfoID, SLoc, IsUsed]
737 
738  /// A function-like macro definition.
739  /// [PP_MACRO_FUNCTION_LIKE, <ObjectLikeStuff>, IsC99Varargs,
740  /// IsGNUVarars, NumArgs, ArgIdentInfoID* ]
742 
743  /// Describes one token.
744  /// [PP_TOKEN, SLoc, Length, IdentInfoID, Kind, Flags]
745  PP_TOKEN = 3,
746 
747  /// The macro directives history for a particular identifier.
749 
750  /// A macro directive exported by a module.
751  /// [PP_MODULE_MACRO, SubmoduleID, MacroID, (Overridden SubmoduleID)*]
753 };
754 
755 /// Record types used within a preprocessor detail block.
757  /// Describes a macro expansion within the preprocessing record.
759 
760  /// Describes a macro definition within the preprocessing record.
762 
763  /// Describes an inclusion directive within the preprocessing
764  /// record.
766 };
767 
768 /// Record types used within a submodule description block.
770  /// Metadata for submodules as a whole.
772 
773  /// Defines the major attributes of a submodule, including its
774  /// name and parent.
776 
777  /// Specifies the umbrella header used to create this module,
778  /// if any.
780 
781  /// Specifies a header that falls into this (sub)module.
783 
784  /// Specifies a top-level header that falls into this (sub)module.
786 
787  /// Specifies an umbrella directory.
789 
790  /// Specifies the submodules that are imported by this
791  /// submodule.
793 
794  /// Specifies the submodules that are re-exported from this
795  /// submodule.
797 
798  /// Specifies a required feature.
800 
801  /// Specifies a header that has been explicitly excluded
802  /// from this submodule.
804 
805  /// Specifies a library or framework to link against.
807 
808  /// Specifies a configuration macro for this module.
810 
811  /// Specifies a conflict with another module.
813 
814  /// Specifies a header that is private to this submodule.
816 
817  /// Specifies a header that is part of the module but must be
818  /// textually included.
820 
821  /// Specifies a header that is private to this submodule but
822  /// must be textually included.
824 
825  /// Specifies some declarations with initializers that must be
826  /// emitted to initialize the module.
828 
829  /// Specifies the name of the module that will eventually
830  /// re-export the entities in this module.
832 
833  /// Specifies affecting modules that were not imported.
835 };
836 
837 /// Record types used within a comments block.
839 
840 /// \defgroup ASTAST AST file AST constants
841 ///
842 /// The constants in this group describe various components of the
843 /// abstract syntax tree within an AST file.
844 ///
845 /// @{
846 
847 /// Predefined type IDs.
848 ///
849 /// These type IDs correspond to predefined types in the AST
850 /// context, such as built-in types (int) and special place-holder
851 /// types (the <overload> and <dependent> type markers). Such
852 /// types are never actually serialized, since they will be built
853 /// by the AST context when it is created.
855  /// The NULL type.
857 
858  /// The void type.
860 
861  /// The 'bool' or '_Bool' type.
863 
864  /// The 'char' type, when it is unsigned.
866 
867  /// The 'unsigned char' type.
869 
870  /// The 'unsigned short' type.
872 
873  /// The 'unsigned int' type.
875 
876  /// The 'unsigned long' type.
878 
879  /// The 'unsigned long long' type.
881 
882  /// The 'char' type, when it is signed.
884 
885  /// The 'signed char' type.
887 
888  /// The C++ 'wchar_t' type.
890 
891  /// The (signed) 'short' type.
893 
894  /// The (signed) 'int' type.
896 
897  /// The (signed) 'long' type.
899 
900  /// The (signed) 'long long' type.
902 
903  /// The 'float' type.
905 
906  /// The 'double' type.
908 
909  /// The 'long double' type.
911 
912  /// The placeholder type for overloaded function sets.
914 
915  /// The placeholder type for dependent types.
917 
918  /// The '__uint128_t' type.
920 
921  /// The '__int128_t' type.
923 
924  /// The type of 'nullptr'.
926 
927  /// The C++ 'char16_t' type.
929 
930  /// The C++ 'char32_t' type.
932 
933  /// The ObjC 'id' type.
935 
936  /// The ObjC 'Class' type.
938 
939  /// The ObjC 'SEL' type.
941 
942  /// The 'unknown any' placeholder type.
944 
945  /// The placeholder type for bound member functions.
947 
948  /// The "auto" deduction type.
950 
951  /// The "auto &&" deduction type.
953 
954  /// The OpenCL 'half' / ARM NEON __fp16 type.
956 
957  /// ARC's unbridged-cast placeholder type.
959 
960  /// The pseudo-object placeholder type.
962 
963  /// The placeholder type for builtin functions.
965 
966  /// OpenCL event type.
968 
969  /// OpenCL clk event type.
971 
972  /// OpenCL sampler type.
974 
975  /// OpenCL queue type.
977 
978  /// OpenCL reserve_id type.
980 
981  /// The placeholder type for OpenMP array section.
983 
984  /// The '__float128' type
986 
987  /// The '_Float16' type
989 
990  /// The C++ 'char8_t' type.
992 
993  /// \brief The 'short _Accum' type
995 
996  /// \brief The '_Accum' type
998 
999  /// \brief The 'long _Accum' type
1001 
1002  /// \brief The 'unsigned short _Accum' type
1004 
1005  /// \brief The 'unsigned _Accum' type
1007 
1008  /// \brief The 'unsigned long _Accum' type
1010 
1011  /// \brief The 'short _Fract' type
1013 
1014  /// \brief The '_Fract' type
1016 
1017  /// \brief The 'long _Fract' type
1019 
1020  /// \brief The 'unsigned short _Fract' type
1022 
1023  /// \brief The 'unsigned _Fract' type
1025 
1026  /// \brief The 'unsigned long _Fract' type
1028 
1029  /// \brief The '_Sat short _Accum' type
1031 
1032  /// \brief The '_Sat _Accum' type
1034 
1035  /// \brief The '_Sat long _Accum' type
1037 
1038  /// \brief The '_Sat unsigned short _Accum' type
1040 
1041  /// \brief The '_Sat unsigned _Accum' type
1043 
1044  /// \brief The '_Sat unsigned long _Accum' type
1046 
1047  /// \brief The '_Sat short _Fract' type
1049 
1050  /// \brief The '_Sat _Fract' type
1052 
1053  /// \brief The '_Sat long _Fract' type
1055 
1056  /// \brief The '_Sat unsigned short _Fract' type
1058 
1059  /// \brief The '_Sat unsigned _Fract' type
1061 
1062  /// \brief The '_Sat unsigned long _Fract' type
1064 
1065  /// The placeholder type for OpenMP array shaping operation.
1067 
1068  /// The placeholder type for OpenMP iterator expression.
1070 
1071  /// A placeholder type for incomplete matrix index operations.
1073 
1074  /// \brief The '__bf16' type
1076 
1077  /// \brief The '__ibm128' type
1079 
1080 /// OpenCL image types with auto numeration
1081 #define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix) \
1082  PREDEF_TYPE_##Id##_ID,
1083 #include "clang/Basic/OpenCLImageTypes.def"
1084 /// \brief OpenCL extension types with auto numeration
1085 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) PREDEF_TYPE_##Id##_ID,
1086 #include "clang/Basic/OpenCLExtensionTypes.def"
1087 // \brief SVE types with auto numeration
1088 #define SVE_TYPE(Name, Id, SingletonId) PREDEF_TYPE_##Id##_ID,
1089 #include "clang/Basic/AArch64SVEACLETypes.def"
1090 // \brief PowerPC MMA types with auto numeration
1091 #define PPC_VECTOR_TYPE(Name, Id, Size) PREDEF_TYPE_##Id##_ID,
1092 #include "clang/Basic/PPCTypes.def"
1093 // \brief RISC-V V types with auto numeration
1094 #define RVV_TYPE(Name, Id, SingletonId) PREDEF_TYPE_##Id##_ID,
1095 #include "clang/Basic/RISCVVTypes.def"
1096 };
1097 
1098 /// The number of predefined type IDs that are reserved for
1099 /// the PREDEF_TYPE_* constants.
1100 ///
1101 /// Type IDs for non-predefined types will start at
1102 /// NUM_PREDEF_TYPE_IDs.
1103 const unsigned NUM_PREDEF_TYPE_IDS = 300;
1104 
1105 /// Record codes for each kind of type.
1106 ///
1107 /// These constants describe the type records that can occur within a
1108 /// block identified by DECLTYPES_BLOCK_ID in the AST file. Each
1109 /// constant describes a record for a specific type class in the
1110 /// AST. Note that DeclCode values share this code space.
1111 enum TypeCode {
1112 #define TYPE_BIT_CODE(CLASS_ID, CODE_ID, CODE_VALUE) \
1113  TYPE_##CODE_ID = CODE_VALUE,
1114 #include "clang/Serialization/TypeBitCodes.def"
1115 
1116  /// An ExtQualType record.
1118 };
1119 
1120 /// The type IDs for special types constructed by semantic
1121 /// analysis.
1122 ///
1123 /// The constants in this enumeration are indices into the
1124 /// SPECIAL_TYPES record.
1126  /// CFConstantString type
1128 
1129  /// C FILE typedef type
1131 
1132  /// C jmp_buf typedef type
1134 
1135  /// C sigjmp_buf typedef type
1137 
1138  /// Objective-C "id" redefinition type
1140 
1141  /// Objective-C "Class" redefinition type
1143 
1144  /// Objective-C "SEL" redefinition type
1146 
1147  /// C ucontext_t typedef type
1149 };
1150 
1151 /// The number of special type IDs.
1152 const unsigned NumSpecialTypeIDs = 8;
1153 
1154 /// Predefined declaration IDs.
1155 ///
1156 /// These declaration IDs correspond to predefined declarations in the AST
1157 /// context, such as the NULL declaration ID. Such declarations are never
1158 /// actually serialized, since they will be built by the AST context when
1159 /// it is created.
1161  /// The NULL declaration.
1163 
1164  /// The translation unit.
1166 
1167  /// The Objective-C 'id' type.
1169 
1170  /// The Objective-C 'SEL' type.
1172 
1173  /// The Objective-C 'Class' type.
1175 
1176  /// The Objective-C 'Protocol' type.
1178 
1179  /// The signed 128-bit integer type.
1181 
1182  /// The unsigned 128-bit integer type.
1184 
1185  /// The internal 'instancetype' typedef.
1187 
1188  /// The internal '__builtin_va_list' typedef.
1190 
1191  /// The internal '__va_list_tag' struct, if any.
1193 
1194  /// The internal '__builtin_ms_va_list' typedef.
1196 
1197  /// The predeclared '_GUID' struct.
1199 
1200  /// The extern "C" context.
1202 
1203  /// The internal '__make_integer_seq' template.
1205 
1206  /// The internal '__NSConstantString' typedef.
1208 
1209  /// The internal '__NSConstantString' tag type.
1211 
1212  /// The internal '__type_pack_element' template.
1214 };
1215 
1216 /// The number of declaration IDs that are predefined.
1217 ///
1218 /// For more information about predefined declarations, see the
1219 /// \c PredefinedDeclIDs type and the PREDEF_DECL_*_ID constants.
1220 const unsigned int NUM_PREDEF_DECL_IDS = 18;
1221 
1222 /// Record of updates for a declaration that was modified after
1223 /// being deserialized. This can occur within DECLTYPES_BLOCK_ID.
1224 const unsigned int DECL_UPDATES = 49;
1225 
1226 /// Record code for a list of local redeclarations of a declaration.
1227 /// This can occur within DECLTYPES_BLOCK_ID.
1228 const unsigned int LOCAL_REDECLARATIONS = 50;
1229 
1230 /// Record codes for each kind of declaration.
1231 ///
1232 /// These constants describe the declaration records that can occur within
1233 /// a declarations block (identified by DECLTYPES_BLOCK_ID). Each
1234 /// constant describes a record for a specific declaration class
1235 /// in the AST. Note that TypeCode values share this code space.
1236 enum DeclCode {
1237  /// A TypedefDecl record.
1239  /// A TypeAliasDecl record.
1240 
1242 
1243  /// An EnumDecl record.
1245 
1246  /// A RecordDecl record.
1248 
1249  /// An EnumConstantDecl record.
1251 
1252  /// A FunctionDecl record.
1254 
1255  /// A ObjCMethodDecl record.
1257 
1258  /// A ObjCInterfaceDecl record.
1260 
1261  /// A ObjCProtocolDecl record.
1263 
1264  /// A ObjCIvarDecl record.
1266 
1267  /// A ObjCAtDefsFieldDecl record.
1269 
1270  /// A ObjCCategoryDecl record.
1272 
1273  /// A ObjCCategoryImplDecl record.
1275 
1276  /// A ObjCImplementationDecl record.
1278 
1279  /// A ObjCCompatibleAliasDecl record.
1281 
1282  /// A ObjCPropertyDecl record.
1284 
1285  /// A ObjCPropertyImplDecl record.
1287 
1288  /// A FieldDecl record.
1290 
1291  /// A MSPropertyDecl record.
1293 
1294  /// A MSGuidDecl record.
1296 
1297  /// A TemplateParamObjectDecl record.
1299 
1300  /// A VarDecl record.
1302 
1303  /// An ImplicitParamDecl record.
1305 
1306  /// A ParmVarDecl record.
1308 
1309  /// A DecompositionDecl record.
1311 
1312  /// A BindingDecl record.
1314 
1315  /// A FileScopeAsmDecl record.
1317 
1318  /// A BlockDecl record.
1320 
1321  /// A CapturedDecl record.
1323 
1324  /// A record that stores the set of declarations that are
1325  /// lexically stored within a given DeclContext.
1326  ///
1327  /// The record itself is a blob that is an array of declaration IDs,
1328  /// in the order in which those declarations were added to the
1329  /// declaration context. This data is used when iterating over
1330  /// the contents of a DeclContext, e.g., via
1331  /// DeclContext::decls_begin() and DeclContext::decls_end().
1333 
1334  /// A record that stores the set of declarations that are
1335  /// visible from a given DeclContext.
1336  ///
1337  /// The record itself stores a set of mappings, each of which
1338  /// associates a declaration name with one or more declaration
1339  /// IDs. This data is used when performing qualified name lookup
1340  /// into a DeclContext via DeclContext::lookup.
1342 
1343  /// A LabelDecl record.
1345 
1346  /// A NamespaceDecl record.
1348 
1349  /// A NamespaceAliasDecl record.
1351 
1352  /// A UsingDecl record.
1354 
1355  /// A UsingEnumDecl record.
1357 
1358  /// A UsingPackDecl record.
1360 
1361  /// A UsingShadowDecl record.
1363 
1364  /// A ConstructorUsingShadowDecl record.
1366 
1367  /// A UsingDirecitveDecl record.
1369 
1370  /// An UnresolvedUsingValueDecl record.
1372 
1373  /// An UnresolvedUsingTypenameDecl record.
1375 
1376  /// A LinkageSpecDecl record.
1378 
1379  /// An ExportDecl record.
1381 
1382  /// A CXXRecordDecl record.
1384 
1385  /// A CXXDeductionGuideDecl record.
1387 
1388  /// A CXXMethodDecl record.
1390 
1391  /// A CXXConstructorDecl record.
1393 
1394  /// A CXXDestructorDecl record.
1396 
1397  /// A CXXConversionDecl record.
1399 
1400  /// An AccessSpecDecl record.
1402 
1403  /// A FriendDecl record.
1405 
1406  /// A FriendTemplateDecl record.
1408 
1409  /// A ClassTemplateDecl record.
1411 
1412  /// A ClassTemplateSpecializationDecl record.
1414 
1415  /// A ClassTemplatePartialSpecializationDecl record.
1417 
1418  /// A VarTemplateDecl record.
1420 
1421  /// A VarTemplateSpecializationDecl record.
1423 
1424  /// A VarTemplatePartialSpecializationDecl record.
1426 
1427  /// A FunctionTemplateDecl record.
1429 
1430  /// A TemplateTypeParmDecl record.
1432 
1433  /// A NonTypeTemplateParmDecl record.
1435 
1436  /// A TemplateTemplateParmDecl record.
1438 
1439  /// A TypeAliasTemplateDecl record.
1441 
1442  /// \brief A ConceptDecl record.
1444 
1445  /// An UnresolvedUsingIfExistsDecl record.
1447 
1448  /// \brief A StaticAssertDecl record.
1450 
1451  /// A record containing CXXBaseSpecifiers.
1453 
1454  /// A record containing CXXCtorInitializers.
1456 
1457  /// A IndirectFieldDecl record.
1459 
1460  /// A NonTypeTemplateParmDecl record that stores an expanded
1461  /// non-type template parameter pack.
1463 
1464  /// A TemplateTemplateParmDecl record that stores an expanded
1465  /// template template parameter pack.
1467 
1468  /// A ClassScopeFunctionSpecializationDecl record a class scope
1469  /// function specialization. (Microsoft extension).
1471 
1472  /// An ImportDecl recording a module import.
1474 
1475  /// An OMPThreadPrivateDecl record.
1477 
1478  /// An OMPRequiresDecl record.
1480 
1481  /// An OMPAllocateDcl record.
1483 
1484  /// An EmptyDecl record.
1486 
1487  /// An LifetimeExtendedTemporaryDecl record.
1489 
1490  /// A RequiresExprBodyDecl record.
1492 
1493  /// An ObjCTypeParamDecl record.
1495 
1496  /// An OMPCapturedExprDecl record.
1498 
1499  /// A PragmaCommentDecl record.
1501 
1502  /// A PragmaDetectMismatchDecl record.
1504 
1505  /// An OMPDeclareMapperDecl record.
1507 
1508  /// An OMPDeclareReductionDecl record.
1510 
1511  /// A UnnamedGlobalConstantDecl record.
1513 
1514  /// A HLSLBufferDecl record.
1516 
1517  /// An ImplicitConceptSpecializationDecl record.
1519 
1521 };
1522 
1523 /// Record codes for each kind of statement or expression.
1524 ///
1525 /// These constants describe the records that describe statements
1526 /// or expressions. These records occur within type and declarations
1527 /// block, so they begin with record values of 128. Each constant
1528 /// describes a record for a specific statement or expression class in the
1529 /// AST.
1530 enum StmtCode {
1531  /// A marker record that indicates that we are at the end
1532  /// of an expression.
1534 
1535  /// A NULL expression.
1537 
1538  /// A reference to a previously [de]serialized Stmt record.
1540 
1541  /// A NullStmt record.
1543 
1544  /// A CompoundStmt record.
1546 
1547  /// A CaseStmt record.
1549 
1550  /// A DefaultStmt record.
1552 
1553  /// A LabelStmt record.
1555 
1556  /// An AttributedStmt record.
1558 
1559  /// An IfStmt record.
1561 
1562  /// A SwitchStmt record.
1564 
1565  /// A WhileStmt record.
1567 
1568  /// A DoStmt record.
1570 
1571  /// A ForStmt record.
1573 
1574  /// A GotoStmt record.
1576 
1577  /// An IndirectGotoStmt record.
1579 
1580  /// A ContinueStmt record.
1582 
1583  /// A BreakStmt record.
1585 
1586  /// A ReturnStmt record.
1588 
1589  /// A DeclStmt record.
1591 
1592  /// A CapturedStmt record.
1594 
1595  /// A GCC-style AsmStmt record.
1597 
1598  /// A MS-style AsmStmt record.
1600 
1601  /// A constant expression context.
1603 
1604  /// A PredefinedExpr record.
1606 
1607  /// A DeclRefExpr record.
1609 
1610  /// An IntegerLiteral record.
1612 
1613  /// A FloatingLiteral record.
1615 
1616  /// An ImaginaryLiteral record.
1618 
1619  /// A StringLiteral record.
1621 
1622  /// A CharacterLiteral record.
1624 
1625  /// A ParenExpr record.
1627 
1628  /// A ParenListExpr record.
1630 
1631  /// A UnaryOperator record.
1633 
1634  /// An OffsetOfExpr record.
1636 
1637  /// A SizefAlignOfExpr record.
1639 
1640  /// An ArraySubscriptExpr record.
1642 
1643  /// An MatrixSubscriptExpr record.
1645 
1646  /// A CallExpr record.
1648 
1649  /// A MemberExpr record.
1651 
1652  /// A BinaryOperator record.
1654 
1655  /// A CompoundAssignOperator record.
1657 
1658  /// A ConditionOperator record.
1660 
1661  /// An ImplicitCastExpr record.
1663 
1664  /// A CStyleCastExpr record.
1666 
1667  /// A CompoundLiteralExpr record.
1669 
1670  /// An ExtVectorElementExpr record.
1672 
1673  /// An InitListExpr record.
1675 
1676  /// A DesignatedInitExpr record.
1678 
1679  /// A DesignatedInitUpdateExpr record.
1681 
1682  /// An NoInitExpr record.
1684 
1685  /// An ArrayInitLoopExpr record.
1687 
1688  /// An ArrayInitIndexExpr record.
1690 
1691  /// An ImplicitValueInitExpr record.
1693 
1694  /// A VAArgExpr record.
1696 
1697  /// An AddrLabelExpr record.
1699 
1700  /// A StmtExpr record.
1702 
1703  /// A ChooseExpr record.
1705 
1706  /// A GNUNullExpr record.
1708 
1709  /// A SourceLocExpr record.
1711 
1712  /// A ShuffleVectorExpr record.
1714 
1715  /// A ConvertVectorExpr record.
1717 
1718  /// BlockExpr
1720 
1721  /// A GenericSelectionExpr record.
1723 
1724  /// A PseudoObjectExpr record.
1726 
1727  /// An AtomicExpr record.
1729 
1730  /// A RecoveryExpr record.
1732 
1733  // Objective-C
1734 
1735  /// An ObjCStringLiteral record.
1737 
1741 
1742  /// An ObjCEncodeExpr record.
1744 
1745  /// An ObjCSelectorExpr record.
1747 
1748  /// An ObjCProtocolExpr record.
1750 
1751  /// An ObjCIvarRefExpr record.
1753 
1754  /// An ObjCPropertyRefExpr record.
1756 
1757  /// An ObjCSubscriptRefExpr record.
1759 
1760  /// UNUSED
1762 
1763  /// An ObjCMessageExpr record.
1765 
1766  /// An ObjCIsa Expr record.
1768 
1769  /// An ObjCIndirectCopyRestoreExpr record.
1771 
1772  /// An ObjCForCollectionStmt record.
1774 
1775  /// An ObjCAtCatchStmt record.
1777 
1778  /// An ObjCAtFinallyStmt record.
1780 
1781  /// An ObjCAtTryStmt record.
1783 
1784  /// An ObjCAtSynchronizedStmt record.
1786 
1787  /// An ObjCAtThrowStmt record.
1789 
1790  /// An ObjCAutoreleasePoolStmt record.
1792 
1793  /// An ObjCBoolLiteralExpr record.
1795 
1796  /// An ObjCAvailabilityCheckExpr record.
1798 
1799  // C++
1800 
1801  /// A CXXCatchStmt record.
1803 
1804  /// A CXXTryStmt record.
1806  /// A CXXForRangeStmt record.
1807 
1809 
1810  /// A CXXOperatorCallExpr record.
1812 
1813  /// A CXXMemberCallExpr record.
1815 
1816  /// A CXXRewrittenBinaryOperator record.
1818 
1819  /// A CXXConstructExpr record.
1821 
1822  /// A CXXInheritedCtorInitExpr record.
1824 
1825  /// A CXXTemporaryObjectExpr record.
1827 
1828  /// A CXXStaticCastExpr record.
1830 
1831  /// A CXXDynamicCastExpr record.
1833 
1834  /// A CXXReinterpretCastExpr record.
1836 
1837  /// A CXXConstCastExpr record.
1839 
1840  /// A CXXAddrspaceCastExpr record.
1842 
1843  /// A CXXFunctionalCastExpr record.
1845 
1846  /// A BuiltinBitCastExpr record.
1848 
1849  /// A UserDefinedLiteral record.
1851 
1852  /// A CXXStdInitializerListExpr record.
1854 
1855  /// A CXXBoolLiteralExpr record.
1857 
1858  EXPR_CXX_NULL_PTR_LITERAL, // CXXNullPtrLiteralExpr
1859  EXPR_CXX_TYPEID_EXPR, // CXXTypeidExpr (of expr).
1860  EXPR_CXX_TYPEID_TYPE, // CXXTypeidExpr (of type).
1861  EXPR_CXX_THIS, // CXXThisExpr
1862  EXPR_CXX_THROW, // CXXThrowExpr
1863  EXPR_CXX_DEFAULT_ARG, // CXXDefaultArgExpr
1864  EXPR_CXX_DEFAULT_INIT, // CXXDefaultInitExpr
1865  EXPR_CXX_BIND_TEMPORARY, // CXXBindTemporaryExpr
1866 
1867  EXPR_CXX_SCALAR_VALUE_INIT, // CXXScalarValueInitExpr
1868  EXPR_CXX_NEW, // CXXNewExpr
1869  EXPR_CXX_DELETE, // CXXDeleteExpr
1870  EXPR_CXX_PSEUDO_DESTRUCTOR, // CXXPseudoDestructorExpr
1871 
1872  EXPR_EXPR_WITH_CLEANUPS, // ExprWithCleanups
1873 
1874  EXPR_CXX_DEPENDENT_SCOPE_MEMBER, // CXXDependentScopeMemberExpr
1875  EXPR_CXX_DEPENDENT_SCOPE_DECL_REF, // DependentScopeDeclRefExpr
1876  EXPR_CXX_UNRESOLVED_CONSTRUCT, // CXXUnresolvedConstructExpr
1877  EXPR_CXX_UNRESOLVED_MEMBER, // UnresolvedMemberExpr
1878  EXPR_CXX_UNRESOLVED_LOOKUP, // UnresolvedLookupExpr
1879 
1880  EXPR_CXX_EXPRESSION_TRAIT, // ExpressionTraitExpr
1881  EXPR_CXX_NOEXCEPT, // CXXNoexceptExpr
1882 
1883  EXPR_OPAQUE_VALUE, // OpaqueValueExpr
1884  EXPR_BINARY_CONDITIONAL_OPERATOR, // BinaryConditionalOperator
1885  EXPR_TYPE_TRAIT, // TypeTraitExpr
1886  EXPR_ARRAY_TYPE_TRAIT, // ArrayTypeTraitIntExpr
1887 
1888  EXPR_PACK_EXPANSION, // PackExpansionExpr
1889  EXPR_SIZEOF_PACK, // SizeOfPackExpr
1890  EXPR_SUBST_NON_TYPE_TEMPLATE_PARM, // SubstNonTypeTemplateParmExpr
1891  EXPR_SUBST_NON_TYPE_TEMPLATE_PARM_PACK, // SubstNonTypeTemplateParmPackExpr
1892  EXPR_FUNCTION_PARM_PACK, // FunctionParmPackExpr
1893  EXPR_MATERIALIZE_TEMPORARY, // MaterializeTemporaryExpr
1894  EXPR_CXX_FOLD, // CXXFoldExpr
1895  EXPR_CONCEPT_SPECIALIZATION, // ConceptSpecializationExpr
1896  EXPR_REQUIRES, // RequiresExpr
1897 
1898  // CUDA
1899  EXPR_CUDA_KERNEL_CALL, // CUDAKernelCallExpr
1900 
1901  // OpenCL
1902  EXPR_ASTYPE, // AsTypeExpr
1903 
1904  // Microsoft
1905  EXPR_CXX_PROPERTY_REF_EXPR, // MSPropertyRefExpr
1906  EXPR_CXX_PROPERTY_SUBSCRIPT_EXPR, // MSPropertySubscriptExpr
1907  EXPR_CXX_UUIDOF_EXPR, // CXXUuidofExpr (of expr).
1908  EXPR_CXX_UUIDOF_TYPE, // CXXUuidofExpr (of type).
1909  STMT_SEH_LEAVE, // SEHLeaveStmt
1910  STMT_SEH_EXCEPT, // SEHExceptStmt
1911  STMT_SEH_FINALLY, // SEHFinallyStmt
1912  STMT_SEH_TRY, // SEHTryStmt
1913 
1914  // OpenMP directives
1990 
1991  // ARC
1992  EXPR_OBJC_BRIDGED_CAST, // ObjCBridgedCastExpr
1993 
1994  STMT_MS_DEPENDENT_EXISTS, // MSDependentExistsStmt
1995  EXPR_LAMBDA, // LambdaExpr
2001 
2002  // FixedPointLiteral
2004 
2005  // SYCLUniqueStableNameExpr
2007 };
2008 
2009 /// The kinds of designators that can occur in a
2010 /// DesignatedInitExpr.
2012  /// Field designator where only the field name is known.
2014 
2015  /// Field designator where the field has been resolved to
2016  /// a declaration.
2018 
2019  /// Array designator.
2021 
2022  /// GNU array range designator.
2024 };
2025 
2026 /// The different kinds of data that can occur in a
2027 /// CtorInitializer.
2033 };
2034 
2035 /// Kinds of cleanup objects owned by ExprWithCleanups.
2037 
2038 /// Describes the redeclarations of a declaration.
2040  // The ID of the first declaration
2042 
2043  // Offset into the array of redeclaration chains.
2044  unsigned Offset;
2045 
2047  const LocalRedeclarationsInfo &Y) {
2048  return X.FirstID < Y.FirstID;
2049  }
2050 
2052  const LocalRedeclarationsInfo &Y) {
2053  return X.FirstID > Y.FirstID;
2054  }
2055 
2057  const LocalRedeclarationsInfo &Y) {
2058  return X.FirstID <= Y.FirstID;
2059  }
2060 
2062  const LocalRedeclarationsInfo &Y) {
2063  return X.FirstID >= Y.FirstID;
2064  }
2065 };
2066 
2067 /// Describes the categories of an Objective-C class.
2069  // The ID of the definition
2071 
2072  // Offset into the array of category lists.
2073  unsigned Offset;
2074 
2075  friend bool operator<(const ObjCCategoriesInfo &X,
2076  const ObjCCategoriesInfo &Y) {
2077  return X.DefinitionID < Y.DefinitionID;
2078  }
2079 
2080  friend bool operator>(const ObjCCategoriesInfo &X,
2081  const ObjCCategoriesInfo &Y) {
2082  return X.DefinitionID > Y.DefinitionID;
2083  }
2084 
2085  friend bool operator<=(const ObjCCategoriesInfo &X,
2086  const ObjCCategoriesInfo &Y) {
2087  return X.DefinitionID <= Y.DefinitionID;
2088  }
2089 
2090  friend bool operator>=(const ObjCCategoriesInfo &X,
2091  const ObjCCategoriesInfo &Y) {
2092  return X.DefinitionID >= Y.DefinitionID;
2093  }
2094 };
2095 
2096 /// A key used when looking up entities by \ref DeclarationName.
2097 ///
2098 /// Different \ref DeclarationNames are mapped to different keys, but the
2099 /// same key can occasionally represent multiple names (for names that
2100 /// contain types, in particular).
2102  using NameKind = unsigned;
2103 
2104  NameKind Kind = 0;
2105  uint64_t Data = 0;
2106 
2107 public:
2108  DeclarationNameKey() = default;
2110  DeclarationNameKey(NameKind Kind, uint64_t Data) : Kind(Kind), Data(Data) {}
2111 
2112  NameKind getKind() const { return Kind; }
2113 
2115  assert(Kind == DeclarationName::Identifier ||
2118  return (IdentifierInfo *)Data;
2119  }
2120 
2122  assert(Kind == DeclarationName::ObjCZeroArgSelector ||
2125  return Selector(Data);
2126  }
2127 
2129  assert(Kind == DeclarationName::CXXOperatorName);
2130  return (OverloadedOperatorKind)Data;
2131  }
2132 
2133  /// Compute a fingerprint of this key for use in on-disk hash table.
2134  unsigned getHash() const;
2135 
2136  friend bool operator==(const DeclarationNameKey &A,
2137  const DeclarationNameKey &B) {
2138  return A.Kind == B.Kind && A.Data == B.Data;
2139  }
2140 };
2141 
2142 /// @}
2143 
2144 } // namespace serialization
2145 } // namespace clang
2146 
2147 namespace llvm {
2148 
2149 template <> struct DenseMapInfo<clang::serialization::DeclarationNameKey> {
2152  }
2153 
2156  }
2157 
2158  static unsigned
2160  return Key.getHash();
2161  }
2162 
2165  return L == R;
2166  }
2167 };
2168 
2169 } // namespace llvm
2170 
2171 #endif // LLVM_CLANG_SERIALIZATION_ASTBITCODES_H
clang::serialization::DECL_CXX_METHOD
@ DECL_CXX_METHOD
A CXXMethodDecl record.
Definition: ASTBitCodes.h:1389
clang::serialization::PREDEF_DECL_BUILTIN_MS_GUID_ID
@ PREDEF_DECL_BUILTIN_MS_GUID_ID
The predeclared '_GUID' struct.
Definition: ASTBitCodes.h:1198
clang::serialization::PREDEF_TYPE_SHORT_FRACT_ID
@ PREDEF_TYPE_SHORT_FRACT_ID
The 'short _Fract' type.
Definition: ASTBitCodes.h:1012
clang::serialization::EXPR_CHARACTER_LITERAL
@ EXPR_CHARACTER_LITERAL
A CharacterLiteral record.
Definition: ASTBitCodes.h:1623
clang::serialization::STMT_CXX_TRY
@ STMT_CXX_TRY
A CXXTryStmt record.
Definition: ASTBitCodes.h:1805
clang::serialization::DECL_NAMESPACE
@ DECL_NAMESPACE
A NamespaceDecl record.
Definition: ASTBitCodes.h:1347
clang::serialization::STMT_MS_DEPENDENT_EXISTS
@ STMT_MS_DEPENDENT_EXISTS
Definition: ASTBitCodes.h:1994
clang::serialization::PREDEF_TYPE_UNKNOWN_ANY
@ PREDEF_TYPE_UNKNOWN_ANY
The 'unknown any' placeholder type.
Definition: ASTBitCodes.h:943
clang::serialization::PREDEF_TYPE_INT128_ID
@ PREDEF_TYPE_INT128_ID
The '__int128_t' type.
Definition: ASTBitCodes.h:922
clang::serialization::STMT_OMP_TARGET_PARALLEL_FOR_DIRECTIVE
@ STMT_OMP_TARGET_PARALLEL_FOR_DIRECTIVE
Definition: ASTBitCodes.h:1948
clang::serialization::TypeIdx::TypeIdx
TypeIdx()=default
clang::serialization::DECL_OMP_DECLARE_MAPPER
@ DECL_OMP_DECLARE_MAPPER
An OMPDeclareMapperDecl record.
Definition: ASTBitCodes.h:1506
clang::serialization::PP_MACRO_OBJECT_LIKE
@ PP_MACRO_OBJECT_LIKE
An object-like macro definition.
Definition: ASTBitCodes.h:736
clang::serialization::DECL_CAPTURED
@ DECL_CAPTURED
A CapturedDecl record.
Definition: ASTBitCodes.h:1322
clang::serialization::EXPR_OBJC_PROPERTY_REF_EXPR
@ EXPR_OBJC_PROPERTY_REF_EXPR
An ObjCPropertyRefExpr record.
Definition: ASTBitCodes.h:1755
clang::serialization::PREDEF_DECL_OBJC_PROTOCOL_ID
@ PREDEF_DECL_OBJC_PROTOCOL_ID
The Objective-C 'Protocol' type.
Definition: ASTBitCodes.h:1177
clang::serialization::EXPR_PSEUDO_OBJECT
@ EXPR_PSEUDO_OBJECT
A PseudoObjectExpr record.
Definition: ASTBitCodes.h:1725
clang::serialization::DECL_USING
@ DECL_USING
A UsingDecl record.
Definition: ASTBitCodes.h:1353
clang::serialization::PP_TOKEN
@ PP_TOKEN
Describes one token.
Definition: ASTBitCodes.h:745
clang::serialization::DECL_PARM_VAR
@ DECL_PARM_VAR
A ParmVarDecl record.
Definition: ASTBitCodes.h:1307
clang::serialization::STMT_DECL
@ STMT_DECL
A DeclStmt record.
Definition: ASTBitCodes.h:1590
clang::serialization::DECL_USING_SHADOW
@ DECL_USING_SHADOW
A UsingShadowDecl record.
Definition: ASTBitCodes.h:1362
clang::serialization::DECLTYPES_BLOCK_ID
@ DECLTYPES_BLOCK_ID
The block containing the definitions of all of the types and decls used within the AST file.
Definition: ASTBitCodes.h:292
clang::serialization::PREDEF_TYPE_LONG_ACCUM_ID
@ PREDEF_TYPE_LONG_ACCUM_ID
The 'long _Accum' type.
Definition: ASTBitCodes.h:1000
llvm
YAML serialization mapping.
Definition: Dominators.h:30
clang::serialization::PREDEF_TYPE_SAT_USHORT_FRACT_ID
@ PREDEF_TYPE_SAT_USHORT_FRACT_ID
The '_Sat unsigned short _Fract' type.
Definition: ASTBitCodes.h:1057
clang::serialization::TypeIdx
A type index; the type ID with the qualifier bits removed.
Definition: ASTBitCodes.h:88
clang::serialization::UnderalignedInt64::BitOffsetHigh
uint32_t BitOffsetHigh
Definition: ASTBitCodes.h:225
clang::serialization::SUBMODULE_EXPORT_AS
@ SUBMODULE_EXPORT_AS
Specifies the name of the module that will eventually re-export the entities in this module.
Definition: ASTBitCodes.h:831
clang::serialization::EAGERLY_DESERIALIZED_DECLS
@ EAGERLY_DESERIALIZED_DECLS
Record code for the array of eagerly deserialized decls.
Definition: ASTBitCodes.h:489
clang::serialization::SUBMODULE_REQUIRES
@ SUBMODULE_REQUIRES
Specifies a required feature.
Definition: ASTBitCodes.h:799
clang::serialization::EXPR_GENERIC_SELECTION
@ EXPR_GENERIC_SELECTION
A GenericSelectionExpr record.
Definition: ASTBitCodes.h:1722
clang::serialization::PREDEF_TYPE_INCOMPLETE_MATRIX_IDX
@ PREDEF_TYPE_INCOMPLETE_MATRIX_IDX
A placeholder type for incomplete matrix index operations.
Definition: ASTBitCodes.h:1072
clang::serialization::NUM_PREDEF_SELECTOR_IDS
const unsigned int NUM_PREDEF_SELECTOR_IDS
The number of predefined selector IDs.
Definition: ASTBitCodes.h:156
clang::serialization::STMT_CAPTURED
@ STMT_CAPTURED
A CapturedStmt record.
Definition: ASTBitCodes.h:1593
clang::serialization::PREDEF_TYPE_NULLPTR_ID
@ PREDEF_TYPE_NULLPTR_ID
The type of 'nullptr'.
Definition: ASTBitCodes.h:925
clang::serialization::STMT_OMP_GENERIC_LOOP_DIRECTIVE
@ STMT_OMP_GENERIC_LOOP_DIRECTIVE
Definition: ASTBitCodes.h:1982
clang::serialization::STMT_OMP_TARGET_DATA_DIRECTIVE
@ STMT_OMP_TARGET_DATA_DIRECTIVE
Definition: ASTBitCodes.h:1944
clang::serialization::ExtensionBlockRecordTypes
ExtensionBlockRecordTypes
Record code for extension blocks.
Definition: ASTBitCodes.h:408
clang::serialization::OPTIMIZE_PRAGMA_OPTIONS
@ OPTIMIZE_PRAGMA_OPTIONS
Record code for #pragma optimize options.
Definition: ASTBitCodes.h:653
clang::serialization::STMT_CASE
@ STMT_CASE
A CaseStmt record.
Definition: ASTBitCodes.h:1548
clang::serialization::BlockIDs
BlockIDs
Describes the various kinds of blocks that occur within an AST file.
Definition: ASTBitCodes.h:277
clang::serialization::DeclarationNameKey::operator==
friend bool operator==(const DeclarationNameKey &A, const DeclarationNameKey &B)
Definition: ASTBitCodes.h:2136
clang::serialization::PREDEF_TYPE_OMP_ARRAY_SECTION
@ PREDEF_TYPE_OMP_ARRAY_SECTION
The placeholder type for OpenMP array section.
Definition: ASTBitCodes.h:982
clang::serialization::DECL_UNRESOLVED_USING_IF_EXISTS
@ DECL_UNRESOLVED_USING_IF_EXISTS
An UnresolvedUsingIfExistsDecl record.
Definition: ASTBitCodes.h:1446
clang::serialization::PREDEF_TYPE_OBJC_SEL
@ PREDEF_TYPE_OBJC_SEL
The ObjC 'SEL' type.
Definition: ASTBitCodes.h:940
clang::serialization::TYPE_OFFSET
@ TYPE_OFFSET
Record code for the offsets of each type.
Definition: ASTBitCodes.h:440
clang::serialization::EXPR_INTEGER_LITERAL
@ EXPR_INTEGER_LITERAL
An IntegerLiteral record.
Definition: ASTBitCodes.h:1611
clang::serialization::EXPR_SHUFFLE_VECTOR
@ EXPR_SHUFFLE_VECTOR
A ShuffleVectorExpr record.
Definition: ASTBitCodes.h:1713
clang::serialization::SUBMODULE_PRIVATE_TEXTUAL_HEADER
@ SUBMODULE_PRIVATE_TEXTUAL_HEADER
Specifies a header that is private to this submodule but must be textually included.
Definition: ASTBitCodes.h:823
clang::DeclarationName::Identifier
@ Identifier
Definition: DeclarationName.h:209
clang::serialization::PENDING_IMPLICIT_INSTANTIATIONS
@ PENDING_IMPLICIT_INSTANTIATIONS
Record code for pending implicit instantiations.
Definition: ASTBitCodes.h:563
clang::serialization::STMT_OBJC_AT_THROW
@ STMT_OBJC_AT_THROW
An ObjCAtThrowStmt record.
Definition: ASTBitCodes.h:1788
clang::DeclarationName::CXXLiteralOperatorName
@ CXXLiteralOperatorName
Definition: DeclarationName.h:219
clang::serialization::DECL_EMPTY
@ DECL_EMPTY
An EmptyDecl record.
Definition: ASTBitCodes.h:1485
clang::serialization::DECL_FRIEND_TEMPLATE
@ DECL_FRIEND_TEMPLATE
A FriendTemplateDecl record.
Definition: ASTBitCodes.h:1407
clang::serialization::SM_SLOC_BUFFER_BLOB
@ SM_SLOC_BUFFER_BLOB
Describes a blob that contains the data for a buffer entry.
Definition: ASTBitCodes.h:718
clang::serialization::SUBMODULE_TOPHEADER
@ SUBMODULE_TOPHEADER
Specifies a top-level header that falls into this (sub)module.
Definition: ASTBitCodes.h:785
clang::serialization::EXPR_CXX_UNRESOLVED_LOOKUP
@ EXPR_CXX_UNRESOLVED_LOOKUP
Definition: ASTBitCodes.h:1878
clang::SourceRange
A trivial tuple used to represent a source range.
Definition: SourceLocation.h:210
clang::serialization::EXPR_OMP_ARRAY_SECTION
@ EXPR_OMP_ARRAY_SECTION
Definition: ASTBitCodes.h:1987
clang::serialization::DECL_TYPE_ALIAS_TEMPLATE
@ DECL_TYPE_ALIAS_TEMPLATE
A TypeAliasTemplateDecl record.
Definition: ASTBitCodes.h:1440
clang::serialization::DECL_DECOMPOSITION
@ DECL_DECOMPOSITION
A DecompositionDecl record.
Definition: ASTBitCodes.h:1310
clang::serialization::STMT_NULL
@ STMT_NULL
A NullStmt record.
Definition: ASTBitCodes.h:1542
clang::serialization::STMT_OMP_CANONICAL_LOOP
@ STMT_OMP_CANONICAL_LOOP
Definition: ASTBitCodes.h:1916
clang::serialization::EXPR_CXX_UNRESOLVED_MEMBER
@ EXPR_CXX_UNRESOLVED_MEMBER
Definition: ASTBitCodes.h:1877
clang::serialization::PREDEF_TYPE_CHAR32_ID
@ PREDEF_TYPE_CHAR32_ID
The C++ 'char32_t' type.
Definition: ASTBitCodes.h:931
clang::serialization::PREDEF_TYPE_AUTO_DEDUCT
@ PREDEF_TYPE_AUTO_DEDUCT
The "auto" deduction type.
Definition: ASTBitCodes.h:949
clang::serialization::STMT_MSASM
@ STMT_MSASM
A MS-style AsmStmt record.
Definition: ASTBitCodes.h:1599
clang::serialization::INPUT_FILES_BLOCK_ID
@ INPUT_FILES_BLOCK_ID
The block of input files, which were used as inputs to create this AST file.
Definition: ASTBitCodes.h:312
clang::serialization::STMT_OMP_TARGET_TEAMS_DISTRIBUTE_PARALLEL_FOR_SIMD_DIRECTIVE
@ STMT_OMP_TARGET_TEAMS_DISTRIBUTE_PARALLEL_FOR_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1977
clang::serialization::EXPR_CONVERT_VECTOR
@ EXPR_CONVERT_VECTOR
A ConvertVectorExpr record.
Definition: ASTBitCodes.h:1716
clang::serialization::DECL_USING_PACK
@ DECL_USING_PACK
A UsingPackDecl record.
Definition: ASTBitCodes.h:1359
clang::serialization::PREDEF_TYPE_SAMPLER_ID
@ PREDEF_TYPE_SAMPLER_ID
OpenCL sampler type.
Definition: ASTBitCodes.h:973
clang::serialization::DECL_CLASS_SCOPE_FUNCTION_SPECIALIZATION
@ DECL_CLASS_SCOPE_FUNCTION_SPECIALIZATION
A ClassScopeFunctionSpecializationDecl record a class scope function specialization.
Definition: ASTBitCodes.h:1470
clang::serialization::PREDEF_TYPE_ULONGLONG_ID
@ PREDEF_TYPE_ULONGLONG_ID
The 'unsigned long long' type.
Definition: ASTBitCodes.h:880
clang::serialization::EXPR_PACK_EXPANSION
@ EXPR_PACK_EXPANSION
Definition: ASTBitCodes.h:1888
clang::serialization::UnderalignedInt64::UnderalignedInt64
UnderalignedInt64()=default
clang::serialization::DeclOffset
Source location and bit offset of a declaration.
Definition: ASTBitCodes.h:241
clang::serialization::EXPR_CXX_DEPENDENT_SCOPE_DECL_REF
@ EXPR_CXX_DEPENDENT_SCOPE_DECL_REF
Definition: ASTBitCodes.h:1875
clang::serialization::EXPR_CSTYLE_CAST
@ EXPR_CSTYLE_CAST
A CStyleCastExpr record.
Definition: ASTBitCodes.h:1665
clang::serialization::SOURCE_LOCATION_OFFSETS
@ SOURCE_LOCATION_OFFSETS
Record code for the table of offsets into the block of source-location information.
Definition: ASTBitCodes.h:522
clang::serialization::PREDEF_TYPE_FLOAT16_ID
@ PREDEF_TYPE_FLOAT16_ID
The '_Float16' type.
Definition: ASTBitCodes.h:988
clang::serialization::LocalRedeclarationsInfo::operator>
friend bool operator>(const LocalRedeclarationsInfo &X, const LocalRedeclarationsInfo &Y)
Definition: ASTBitCodes.h:2051
clang::serialization::EXPR_CONDITIONAL_OPERATOR
@ EXPR_CONDITIONAL_OPERATOR
A ConditionOperator record.
Definition: ASTBitCodes.h:1659
clang::serialization::DECL_OMP_THREADPRIVATE
@ DECL_OMP_THREADPRIVATE
An OMPThreadPrivateDecl record.
Definition: ASTBitCodes.h:1476
clang::serialization::PREDEF_TYPE_SAT_UACCUM_ID
@ PREDEF_TYPE_SAT_UACCUM_ID
The '_Sat unsigned _Accum' type.
Definition: ASTBitCodes.h:1042
clang::serialization::PREDEF_DECL_UNSIGNED_INT_128_ID
@ PREDEF_DECL_UNSIGNED_INT_128_ID
The unsigned 128-bit integer type.
Definition: ASTBitCodes.h:1183
clang::serialization::STMT_OMP_MASTER_TASKLOOP_SIMD_DIRECTIVE
@ STMT_OMP_MASTER_TASKLOOP_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1956
clang::SourceLocation
Encodes a location in the source.
Definition: SourceLocation.h:86
clang::serialization::METADATA
@ METADATA
AST file metadata, including the AST file version number and information about the compiler used to b...
Definition: ASTBitCodes.h:335
clang::serialization::DECL_PRAGMA_COMMENT
@ DECL_PRAGMA_COMMENT
A PragmaCommentDecl record.
Definition: ASTBitCodes.h:1500
clang::serialization::STMT_OMP_TARGET_TEAMS_DISTRIBUTE_SIMD_DIRECTIVE
@ STMT_OMP_TARGET_TEAMS_DISTRIBUTE_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1978
clang::serialization::IdentID
uint32_t IdentID
An ID number that refers to an identifier in an AST file.
Definition: ASTBitCodes.h:134
clang::serialization::EXPR_OBJC_BOOL_LITERAL
@ EXPR_OBJC_BOOL_LITERAL
An ObjCBoolLiteralExpr record.
Definition: ASTBitCodes.h:1794
clang::serialization::EXPR_STRING_LITERAL
@ EXPR_STRING_LITERAL
A StringLiteral record.
Definition: ASTBitCodes.h:1620
clang::serialization::DeclarationNameKey::getSelector
Selector getSelector() const
Definition: ASTBitCodes.h:2121
clang::serialization::STMT_FOR
@ STMT_FOR
A ForStmt record.
Definition: ASTBitCodes.h:1572
clang::serialization::PREDEF_TYPE_UFRACT_ID
@ PREDEF_TYPE_UFRACT_ID
The 'unsigned _Fract' type.
Definition: ASTBitCodes.h:1024
clang::QualType
A (possibly-)qualified type.
Definition: Type.h:737
clang::serialization::STMT_OMP_TEAMS_GENERIC_LOOP_DIRECTIVE
@ STMT_OMP_TEAMS_GENERIC_LOOP_DIRECTIVE
Definition: ASTBitCodes.h:1983
clang::QualType::getLocalFastQualifiers
unsigned getLocalFastQualifiers() const
Definition: Type.h:764
clang::serialization::EXPR_OBJC_ARRAY_LITERAL
@ EXPR_OBJC_ARRAY_LITERAL
Definition: ASTBitCodes.h:1739
clang::serialization::PREDEF_TYPE_DOUBLE_ID
@ PREDEF_TYPE_DOUBLE_ID
The 'double' type.
Definition: ASTBitCodes.h:907
clang::serialization::SUBMODULE_CONFLICT
@ SUBMODULE_CONFLICT
Specifies a conflict with another module.
Definition: ASTBitCodes.h:812
clang::serialization::FILE_SYSTEM_OPTIONS
@ FILE_SYSTEM_OPTIONS
Record code for the filesystem options table.
Definition: ASTBitCodes.h:380
clang::serialization::STMT_OBJC_AT_SYNCHRONIZED
@ STMT_OBJC_AT_SYNCHRONIZED
An ObjCAtSynchronizedStmt record.
Definition: ASTBitCodes.h:1785
clang::serialization::SOURCE_MANAGER_BLOCK_ID
@ SOURCE_MANAGER_BLOCK_ID
The block containing information about the source manager.
Definition: ASTBitCodes.h:284
clang::serialization::EXPR_CXX_PROPERTY_REF_EXPR
@ EXPR_CXX_PROPERTY_REF_EXPR
Definition: ASTBitCodes.h:1905
clang::serialization::EXPR_IMPLICIT_VALUE_INIT
@ EXPR_IMPLICIT_VALUE_INIT
An ImplicitValueInitExpr record.
Definition: ASTBitCodes.h:1692
clang::serialization::EXPR_CXX_FUNCTIONAL_CAST
@ EXPR_CXX_FUNCTIONAL_CAST
A CXXFunctionalCastExpr record.
Definition: ASTBitCodes.h:1844
clang::serialization::EXPR_SUBST_NON_TYPE_TEMPLATE_PARM_PACK
@ EXPR_SUBST_NON_TYPE_TEMPLATE_PARM_PACK
Definition: ASTBitCodes.h:1891
clang::serialization::DECL_USING_ENUM
@ DECL_USING_ENUM
A UsingEnumDecl record.
Definition: ASTBitCodes.h:1356
clang::serialization::PREDEF_TYPE_UACCUM_ID
@ PREDEF_TYPE_UACCUM_ID
The 'unsigned _Accum' type.
Definition: ASTBitCodes.h:1006
clang::serialization::EXPR_OBJC_MESSAGE_EXPR
@ EXPR_OBJC_MESSAGE_EXPR
An ObjCMessageExpr record.
Definition: ASTBitCodes.h:1764
clang::serialization::FLOAT_CONTROL_PRAGMA_OPTIONS
@ FLOAT_CONTROL_PRAGMA_OPTIONS
Record code for #pragma float_control options.
Definition: ASTBitCodes.h:694
clang::serialization::TENTATIVE_DEFINITIONS
@ TENTATIVE_DEFINITIONS
Record code for the array of tentative definitions.
Definition: ASTBitCodes.h:505
clang::serialization::STMT_COMPOUND
@ STMT_COMPOUND
A CompoundStmt record.
Definition: ASTBitCodes.h:1545
clang::serialization::DeclarationNameKey
A key used when looking up entities by DeclarationName.
Definition: ASTBitCodes.h:2101
clang::serialization::DECL_CONSTRUCTOR_USING_SHADOW
@ DECL_CONSTRUCTOR_USING_SHADOW
A ConstructorUsingShadowDecl record.
Definition: ASTBitCodes.h:1365
clang::serialization::PREPROCESSOR_OPTIONS
@ PREPROCESSOR_OPTIONS
Record code for the preprocessor options table.
Definition: ASTBitCodes.h:386
clang::serialization::LocalRedeclarationsInfo::operator>=
friend bool operator>=(const LocalRedeclarationsInfo &X, const LocalRedeclarationsInfo &Y)
Definition: ASTBitCodes.h:2061
clang::serialization::SUBMODULE_AFFECTING_MODULES
@ SUBMODULE_AFFECTING_MODULES
Specifies affecting modules that were not imported.
Definition: ASTBitCodes.h:834
clang::serialization::KNOWN_NAMESPACES
@ KNOWN_NAMESPACES
Record code for the set of known namespaces, which are used for typo correction.
Definition: ASTBitCodes.h:600
clang::serialization::STMT_CONTINUE
@ STMT_CONTINUE
A ContinueStmt record.
Definition: ASTBitCodes.h:1581
clang::serialization::CleanupObjectKind
CleanupObjectKind
Kinds of cleanup objects owned by ExprWithCleanups.
Definition: ASTBitCodes.h:2036
clang::serialization::DeclOffset::BitOffset
UnderalignedInt64 BitOffset
Offset relative to the start of the DECLTYPES_BLOCK block.
Definition: ASTBitCodes.h:248
clang::DeclarationName::CXXDeductionGuideName
@ CXXDeductionGuideName
Definition: DeclarationName.h:216
clang::serialization::FIRST_EXTENSION_RECORD_ID
@ FIRST_EXTENSION_RECORD_ID
The first record ID allocated to the extensions themselves.
Definition: ASTBitCodes.h:413
clang::serialization::EXPR_STMT
@ EXPR_STMT
A StmtExpr record.
Definition: ASTBitCodes.h:1701
clang::serialization::EXPR_CXX_DELETE
@ EXPR_CXX_DELETE
Definition: ASTBitCodes.h:1869
clang::serialization::PREDEF_TYPE_LONGLONG_ID
@ PREDEF_TYPE_LONGLONG_ID
The (signed) 'long long' type.
Definition: ASTBitCodes.h:901
clang::serialization::OBJC_CATEGORIES_MAP
@ OBJC_CATEGORIES_MAP
Record code for map of Objective-C class definition IDs to the ObjC categories in a module that are a...
Definition: ASTBitCodes.h:614
clang::serialization::EXPR_CXX_TYPEID_TYPE
@ EXPR_CXX_TYPEID_TYPE
Definition: ASTBitCodes.h:1860
clang::serialization::EXPR_CXX_PSEUDO_DESTRUCTOR
@ EXPR_CXX_PSEUDO_DESTRUCTOR
Definition: ASTBitCodes.h:1870
clang::serialization::DECL_IMPLICIT_PARAM
@ DECL_IMPLICIT_PARAM
An ImplicitParamDecl record.
Definition: ASTBitCodes.h:1304
clang::serialization::FP_PRAGMA_OPTIONS
@ FP_PRAGMA_OPTIONS
Record code for floating point #pragma options.
Definition: ASTBitCodes.h:590
clang::serialization::STMT_OMP_DISTRIBUTE_DIRECTIVE
@ STMT_OMP_DISTRIBUTE_DIRECTIVE
Definition: ASTBitCodes.h:1963
clang::serialization::STMT_OMP_PARALLEL_FOR_SIMD_DIRECTIVE
@ STMT_OMP_PARALLEL_FOR_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1929
clang::serialization::DeclOffset::DeclOffset
DeclOffset(SourceLocation Loc, uint64_t BitOffset, uint64_t DeclTypesBlockStartOffset)
Definition: ASTBitCodes.h:251
clang::serialization::PREDEF_TYPE_OMP_ARRAY_SHAPING
@ PREDEF_TYPE_OMP_ARRAY_SHAPING
The placeholder type for OpenMP array shaping operation.
Definition: ASTBitCodes.h:1066
clang::serialization::STMT_OMP_ORDERED_DIRECTIVE
@ STMT_OMP_ORDERED_DIRECTIVE
Definition: ASTBitCodes.h:1941
clang::serialization::EXPR_CXX_SCALAR_VALUE_INIT
@ EXPR_CXX_SCALAR_VALUE_INIT
Definition: ASTBitCodes.h:1867
clang::serialization::DECL_UNRESOLVED_USING_TYPENAME
@ DECL_UNRESOLVED_USING_TYPENAME
An UnresolvedUsingTypenameDecl record.
Definition: ASTBitCodes.h:1374
clang::serialization::EXPR_ARRAY_INIT_INDEX
@ EXPR_ARRAY_INIT_INDEX
An ArrayInitIndexExpr record.
Definition: ASTBitCodes.h:1689
clang::serialization::VERSION_MAJOR
const unsigned VERSION_MAJOR
AST file major version number supported by this version of Clang.
Definition: ASTBitCodes.h:44
clang::serialization::PREDEF_TYPE_ACCUM_ID
@ PREDEF_TYPE_ACCUM_ID
The '_Accum' type.
Definition: ASTBitCodes.h:997
clang::serialization::STMT_OMP_MASKED_DIRECTIVE
@ STMT_OMP_MASKED_DIRECTIVE
Definition: ASTBitCodes.h:1981
clang::serialization::STMT_OMP_META_DIRECTIVE
@ STMT_OMP_META_DIRECTIVE
Definition: ASTBitCodes.h:1915
clang::serialization::PREDEF_TYPE_SCHAR_ID
@ PREDEF_TYPE_SCHAR_ID
The 'signed char' type.
Definition: ASTBitCodes.h:886
clang::serialization::PREPROCESSOR_DETAIL_BLOCK_ID
@ PREPROCESSOR_DETAIL_BLOCK_ID
The block containing the detailed preprocessing record.
Definition: ASTBitCodes.h:295
clang::serialization::DECL_CLASS_TEMPLATE
@ DECL_CLASS_TEMPLATE
A ClassTemplateDecl record.
Definition: ASTBitCodes.h:1410
clang::serialization::DECL_OBJC_PROPERTY_IMPL
@ DECL_OBJC_PROPERTY_IMPL
A ObjCPropertyImplDecl record.
Definition: ASTBitCodes.h:1286
clang::serialization::PREDEF_TYPE_SAT_LONG_FRACT_ID
@ PREDEF_TYPE_SAT_LONG_FRACT_ID
The '_Sat long _Fract' type.
Definition: ASTBitCodes.h:1054
clang::serialization::STMT_OMP_TARGET_TEAMS_DISTRIBUTE_DIRECTIVE
@ STMT_OMP_TARGET_TEAMS_DISTRIBUTE_DIRECTIVE
Definition: ASTBitCodes.h:1975
clang::serialization::DeclOffset::setBitOffset
void setBitOffset(uint64_t Offset, const uint64_t DeclTypesBlockStartOffset)
Definition: ASTBitCodes.h:263
clang::serialization::EXPR_COAWAIT
@ EXPR_COAWAIT
Definition: ASTBitCodes.h:1998
clang::tooling::X
static ToolExecutorPluginRegistry::Add< AllTUsToolExecutorPlugin > X("all-TUs", "Runs FrontendActions on all TUs in the compilation database. " "Tool results are stored in memory.")
clang::serialization::TU_UPDATE_LEXICAL
@ TU_UPDATE_LEXICAL
Record code for an update to the TU's lexically contained declarations.
Definition: ASTBitCodes.h:552
clang::serialization::DeclarationNameKey::DeclarationNameKey
DeclarationNameKey()=default
clang::serialization::STMT_OMP_SIMD_DIRECTIVE
@ STMT_OMP_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1918
clang::serialization::DECL_REQUIRES_EXPR_BODY
@ DECL_REQUIRES_EXPR_BODY
A RequiresExprBodyDecl record.
Definition: ASTBitCodes.h:1491
clang::serialization::UnsafeQualTypeDenseMapInfo::getTombstoneKey
static QualType getTombstoneKey()
Definition: ASTBitCodes.h:121
clang::serialization::EXPR_CXX_NOEXCEPT
@ EXPR_CXX_NOEXCEPT
Definition: ASTBitCodes.h:1881
clang::serialization::PREDEF_TYPE_INT_ID
@ PREDEF_TYPE_INT_ID
The (signed) 'int' type.
Definition: ASTBitCodes.h:895
clang::serialization::PREDEF_TYPE_ULONG_ACCUM_ID
@ PREDEF_TYPE_ULONG_ACCUM_ID
The 'unsigned long _Accum' type.
Definition: ASTBitCodes.h:1009
clang::serialization::DECL_FIELD
@ DECL_FIELD
A FieldDecl record.
Definition: ASTBitCodes.h:1289
clang::serialization::UnderalignedInt64::getBitOffset
uint64_t getBitOffset() const
Definition: ASTBitCodes.h:235
clang::serialization::EXPR_CXX_DYNAMIC_CAST
@ EXPR_CXX_DYNAMIC_CAST
A CXXDynamicCastExpr record.
Definition: ASTBitCodes.h:1832
clang::serialization::DECL_TYPEALIAS
@ DECL_TYPEALIAS
A TypeAliasDecl record.
Definition: ASTBitCodes.h:1241
clang::serialization::SUBMODULE_DEFINITION
@ SUBMODULE_DEFINITION
Defines the major attributes of a submodule, including its name and parent.
Definition: ASTBitCodes.h:775
clang::serialization::STMT_OMP_TARGET_SIMD_DIRECTIVE
@ STMT_OMP_TARGET_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1969
clang::serialization::PREDEF_DECL_BUILTIN_MS_VA_LIST_ID
@ PREDEF_DECL_BUILTIN_MS_VA_LIST_ID
The internal '__builtin_ms_va_list' typedef.
Definition: ASTBitCodes.h:1195
clang::DeclarationName
The name of a declaration.
Definition: DeclarationName.h:144
clang::serialization::PREDEF_TYPE_USHORT_ACCUM_ID
@ PREDEF_TYPE_USHORT_ACCUM_ID
The 'unsigned short _Accum' type.
Definition: ASTBitCodes.h:1003
clang::serialization::PPSkippedRange::PPSkippedRange
PPSkippedRange(SourceRange R)
Definition: ASTBitCodes.h:207
clang::serialization::DECL_UNNAMED_GLOBAL_CONSTANT
@ DECL_UNNAMED_GLOBAL_CONSTANT
A UnnamedGlobalConstantDecl record.
Definition: ASTBitCodes.h:1512
clang::serialization::EXPR_CXX_STD_INITIALIZER_LIST
@ EXPR_CXX_STD_INITIALIZER_LIST
A CXXStdInitializerListExpr record.
Definition: ASTBitCodes.h:1853
clang::serialization::UPDATE_VISIBLE
@ UPDATE_VISIBLE
Record code for an update to a decl context's lookup table.
Definition: ASTBitCodes.h:570
clang::serialization::EXPR_CXX_BOOL_LITERAL
@ EXPR_CXX_BOOL_LITERAL
A CXXBoolLiteralExpr record.
Definition: ASTBitCodes.h:1856
clang::serialization::DECL_HLSL_BUFFER
@ DECL_HLSL_BUFFER
A HLSLBufferDecl record.
Definition: ASTBitCodes.h:1515
clang::serialization::DECL_RECORD
@ DECL_RECORD
A RecordDecl record.
Definition: ASTBitCodes.h:1247
clang::serialization::DECL_FUNCTION_TEMPLATE
@ DECL_FUNCTION_TEMPLATE
A FunctionTemplateDecl record.
Definition: ASTBitCodes.h:1428
clang::serialization::DECL_OBJC_INTERFACE
@ DECL_OBJC_INTERFACE
A ObjCInterfaceDecl record.
Definition: ASTBitCodes.h:1259
clang::serialization::MacroID
uint32_t MacroID
An ID number that refers to a macro in an AST file.
Definition: ASTBitCodes.h:140
clang::serialization::PREDEF_TYPE_WCHAR_ID
@ PREDEF_TYPE_WCHAR_ID
The C++ 'wchar_t' type.
Definition: ASTBitCodes.h:889
clang::serialization::PPEntityOffset::BitOffset
uint32_t BitOffset
Offset in the AST file relative to ModuleFile::MacroOffsetsBase.
Definition: ASTBitCodes.h:185
clang::serialization::DECL_CLASS_TEMPLATE_PARTIAL_SPECIALIZATION
@ DECL_CLASS_TEMPLATE_PARTIAL_SPECIALIZATION
A ClassTemplatePartialSpecializationDecl record.
Definition: ASTBitCodes.h:1416
clang::serialization::STMT_OMP_MASKED_TASKLOOP_DIRECTIVE
@ STMT_OMP_MASKED_TASKLOOP_DIRECTIVE
Definition: ASTBitCodes.h:1959
clang::serialization::PREDEF_TYPE_NULL_ID
@ PREDEF_TYPE_NULL_ID
The NULL type.
Definition: ASTBitCodes.h:856
clang::serialization::STMT_OMP_TARGET_EXIT_DATA_DIRECTIVE
@ STMT_OMP_TARGET_EXIT_DATA_DIRECTIVE
Definition: ASTBitCodes.h:1946
clang::serialization::EXPR_CALL
@ EXPR_CALL
A CallExpr record.
Definition: ASTBitCodes.h:1647
clang::serialization::EXPR_OBJC_DICTIONARY_LITERAL
@ EXPR_OBJC_DICTIONARY_LITERAL
Definition: ASTBitCodes.h:1740
clang::serialization::INPUT_FILE
@ INPUT_FILE
An input file.
Definition: ASTBitCodes.h:420
clang::serialization::STMT_OBJC_AUTORELEASE_POOL
@ STMT_OBJC_AUTORELEASE_POOL
An ObjCAutoreleasePoolStmt record.
Definition: ASTBitCodes.h:1791
clang::serialization::PPEntityOffset::getEnd
SourceLocation getEnd() const
Definition: ASTBitCodes.h:195
Offset
unsigned Offset
Definition: Format.cpp:2717
clang::serialization::STMT_OMP_TASKLOOP_DIRECTIVE
@ STMT_OMP_TASKLOOP_DIRECTIVE
Definition: ASTBitCodes.h:1953
clang::serialization::DECL_CXX_RECORD
@ DECL_CXX_RECORD
A CXXRecordDecl record.
Definition: ASTBitCodes.h:1383
clang::serialization::EXPR_DESIGNATED_INIT
@ EXPR_DESIGNATED_INIT
A DesignatedInitExpr record.
Definition: ASTBitCodes.h:1677
clang::serialization::EXPR_OBJC_PROTOCOL_EXPR
@ EXPR_OBJC_PROTOCOL_EXPR
An ObjCProtocolExpr record.
Definition: ASTBitCodes.h:1749
clang::serialization::PREDEF_TYPE_ARC_UNBRIDGED_CAST
@ PREDEF_TYPE_ARC_UNBRIDGED_CAST
ARC's unbridged-cast placeholder type.
Definition: ASTBitCodes.h:958
clang::serialization::EXPR_ADDR_LABEL
@ EXPR_ADDR_LABEL
An AddrLabelExpr record.
Definition: ASTBitCodes.h:1698
clang::serialization::PP_MACRO_DIRECTIVE_HISTORY
@ PP_MACRO_DIRECTIVE_HISTORY
The macro directives history for a particular identifier.
Definition: ASTBitCodes.h:748
clang::serialization::PPEntityOffset::getBegin
SourceLocation getBegin() const
Definition: ASTBitCodes.h:191
clang::serialization::EXPR_OBJC_BOXED_EXPRESSION
@ EXPR_OBJC_BOXED_EXPRESSION
Definition: ASTBitCodes.h:1738
clang::serialization::DECL_CXX_BASE_SPECIFIERS
@ DECL_CXX_BASE_SPECIFIERS
A record containing CXXBaseSpecifiers.
Definition: ASTBitCodes.h:1452
clang::serialization::PREDEF_DECL_EXTERN_C_CONTEXT_ID
@ PREDEF_DECL_EXTERN_C_CONTEXT_ID
The extern "C" context.
Definition: ASTBitCodes.h:1201
clang::serialization::PREDEF_TYPE_ULONG_ID
@ PREDEF_TYPE_ULONG_ID
The 'unsigned long' type.
Definition: ASTBitCodes.h:877
clang::serialization::UNUSED_LOCAL_TYPEDEF_NAME_CANDIDATES
@ UNUSED_LOCAL_TYPEDEF_NAME_CANDIDATES
Record code for potentially unused local typedef names.
Definition: ASTBitCodes.h:656
clang::serialization::PP_COUNTER_VALUE
@ PP_COUNTER_VALUE
The value of the next COUNTER to dispense.
Definition: ASTBitCodes.h:518
clang::serialization::DECL_FILE_SCOPE_ASM
@ DECL_FILE_SCOPE_ASM
A FileScopeAsmDecl record.
Definition: ASTBitCodes.h:1316
clang::serialization::DECL_OBJC_COMPATIBLE_ALIAS
@ DECL_OBJC_COMPATIBLE_ALIAS
A ObjCCompatibleAliasDecl record.
Definition: ASTBitCodes.h:1280
clang::serialization::SubmoduleID
uint32_t SubmoduleID
An ID number that refers to a submodule in a module file.
Definition: ASTBitCodes.h:171
clang::serialization::SOURCE_MANAGER_LINE_TABLE
@ SOURCE_MANAGER_LINE_TABLE
Record code for the source manager line table information, which stores information about #line direc...
Definition: ASTBitCodes.h:610
clang::serialization::STMT_OMP_UNROLL_DIRECTIVE
@ STMT_OMP_UNROLL_DIRECTIVE
Definition: ASTBitCodes.h:1920
clang::serialization::PREDEF_TYPE_SAT_ACCUM_ID
@ PREDEF_TYPE_SAT_ACCUM_ID
The '_Sat _Accum' type.
Definition: ASTBitCodes.h:1033
clang::serialization::SM_SLOC_BUFFER_ENTRY
@ SM_SLOC_BUFFER_ENTRY
Describes a source location entry (SLocEntry) for a buffer.
Definition: ASTBitCodes.h:712
clang::serialization::PREDEF_TYPE_CHAR_U_ID
@ PREDEF_TYPE_CHAR_U_ID
The 'char' type, when it is unsigned.
Definition: ASTBitCodes.h:865
clang::serialization::PREDEF_TYPE_SAT_ULONG_FRACT_ID
@ PREDEF_TYPE_SAT_ULONG_FRACT_ID
The '_Sat unsigned long _Fract' type.
Definition: ASTBitCodes.h:1063
clang::serialization::EXPR_CXX_CONSTRUCT
@ EXPR_CXX_CONSTRUCT
A CXXConstructExpr record.
Definition: ASTBitCodes.h:1820
clang::serialization::DECL_TEMPLATE_TEMPLATE_PARM
@ DECL_TEMPLATE_TEMPLATE_PARM
A TemplateTemplateParmDecl record.
Definition: ASTBitCodes.h:1437
clang::serialization::PPD_ENTITIES_OFFSETS
@ PPD_ENTITIES_OFFSETS
Record code for the table of offsets to entries in the preprocessing record.
Definition: ASTBitCodes.h:540
clang::serialization::EXPR_CXX_DEPENDENT_SCOPE_MEMBER
@ EXPR_CXX_DEPENDENT_SCOPE_MEMBER
Definition: ASTBitCodes.h:1874
clang::serialization::SUBMODULE_UMBRELLA_HEADER
@ SUBMODULE_UMBRELLA_HEADER
Specifies the umbrella header used to create this module, if any.
Definition: ASTBitCodes.h:779
clang::serialization::STMT_OMP_PARALLEL_MASTER_TASKLOOP_SIMD_DIRECTIVE
@ STMT_OMP_PARALLEL_MASTER_TASKLOOP_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1958
clang::serialization::MODULAR_CODEGEN_DECLS
@ MODULAR_CODEGEN_DECLS
Definition: ASTBitCodes.h:679
clang::serialization::DIAGNOSTIC_OPTIONS
@ DIAGNOSTIC_OPTIONS
Record code for the diagnostic options table.
Definition: ASTBitCodes.h:398
clang::serialization::StmtCode
StmtCode
Record codes for each kind of statement or expression.
Definition: ASTBitCodes.h:1530
clang::serialization::NUM_PREDEF_DECL_IDS
const unsigned int NUM_PREDEF_DECL_IDS
The number of declaration IDs that are predefined.
Definition: ASTBitCodes.h:1220
clang::serialization::EXPR_CXX_MEMBER_CALL
@ EXPR_CXX_MEMBER_CALL
A CXXMemberCallExpr record.
Definition: ASTBitCodes.h:1814
clang::serialization::STMT_OMP_TASKGROUP_DIRECTIVE
@ STMT_OMP_TASKGROUP_DIRECTIVE
Definition: ASTBitCodes.h:1950
clang::serialization::UnsafeQualTypeDenseMapInfo
A structure for putting "fast"-unqualified QualTypes into a DenseMap.
Definition: ASTBitCodes.h:114
clang::serialization::STMT_OMP_PARALLEL_SECTIONS_DIRECTIVE
@ STMT_OMP_PARALLEL_SECTIONS_DIRECTIVE
Definition: ASTBitCodes.h:1932
clang::serialization::EXPR_ARRAY_SUBSCRIPT
@ EXPR_ARRAY_SUBSCRIPT
An ArraySubscriptExpr record.
Definition: ASTBitCodes.h:1641
clang::serialization::SPECIAL_TYPE_FILE
@ SPECIAL_TYPE_FILE
C FILE typedef type.
Definition: ASTBitCodes.h:1130
clang::serialization::ORIGINAL_FILE_ID
@ ORIGINAL_FILE_ID
Record code for file ID of the file or buffer that was used to generate the AST file.
Definition: ASTBitCodes.h:348
clang::serialization::PREDEF_TYPE_UINT128_ID
@ PREDEF_TYPE_UINT128_ID
The '__uint128_t' type.
Definition: ASTBitCodes.h:919
clang::serialization::UnsafeQualTypeDenseMapInfo::isEqual
static bool isEqual(QualType A, QualType B)
Definition: ASTBitCodes.h:115
clang::serialization::DeclOffset::Loc
SourceLocation::UIntTy Loc
Raw source location.
Definition: ASTBitCodes.h:243
hlsl::uint64_t
unsigned long uint64_t
Definition: hlsl_basic_types.h:25
clang::serialization::STMT_SEH_LEAVE
@ STMT_SEH_LEAVE
Definition: ASTBitCodes.h:1909
clang::serialization::DECL_VAR_TEMPLATE_SPECIALIZATION
@ DECL_VAR_TEMPLATE_SPECIALIZATION
A VarTemplateSpecializationDecl record.
Definition: ASTBitCodes.h:1422
clang::serialization::DECL_CXX_DEDUCTION_GUIDE
@ DECL_CXX_DEDUCTION_GUIDE
A CXXDeductionGuideDecl record.
Definition: ASTBitCodes.h:1386
clang::serialization::PREDEF_TYPE_OBJC_ID
@ PREDEF_TYPE_OBJC_ID
The ObjC 'id' type.
Definition: ASTBitCodes.h:934
OperatorKinds.h
clang::serialization::DECL_CXX_DESTRUCTOR
@ DECL_CXX_DESTRUCTOR
A CXXDestructorDecl record.
Definition: ASTBitCodes.h:1395
clang::serialization::MSSTRUCT_PRAGMA_OPTIONS
@ MSSTRUCT_PRAGMA_OPTIONS
Record code for #pragma ms_struct options.
Definition: ASTBitCodes.h:664
clang::serialization::STMT_ATTRIBUTED
@ STMT_ATTRIBUTED
An AttributedStmt record.
Definition: ASTBitCodes.h:1557
clang::serialization::EXPR_DESIGNATED_INIT_UPDATE
@ EXPR_DESIGNATED_INIT_UPDATE
A DesignatedInitUpdateExpr record.
Definition: ASTBitCodes.h:1680
clang::serialization::EXPR_CXX_TYPEID_EXPR
@ EXPR_CXX_TYPEID_EXPR
Definition: ASTBitCodes.h:1859
clang::serialization::METADATA_OLD_FORMAT
@ METADATA_OLD_FORMAT
This is so that older clang versions, before the introduction of the control block,...
Definition: ASTBitCodes.h:465
clang::serialization::MODULE_MAP_FILE
@ MODULE_MAP_FILE
Record code for the module map file that was used to build this AST file.
Definition: ASTBitCodes.h:359
clang::serialization::CXXBaseSpecifiersID
uint32_t CXXBaseSpecifiersID
An ID number that refers to a set of CXXBaseSpecifiers in an AST file.
Definition: ASTBitCodes.h:160
clang::serialization::EXPR_CXX_STATIC_CAST
@ EXPR_CXX_STATIC_CAST
A CXXStaticCastExpr record.
Definition: ASTBitCodes.h:1829
clang::serialization::EXPR_OBJC_AVAILABILITY_CHECK
@ EXPR_OBJC_AVAILABILITY_CHECK
An ObjCAvailabilityCheckExpr record.
Definition: ASTBitCodes.h:1797
clang::serialization::STMT_OMP_TILE_DIRECTIVE
@ STMT_OMP_TILE_DIRECTIVE
Definition: ASTBitCodes.h:1919
clang::serialization::EXPR_CXX_BIND_TEMPORARY
@ EXPR_CXX_BIND_TEMPORARY
Definition: ASTBitCodes.h:1865
clang::serialization::PREDEF_TYPE_USHORT_ID
@ PREDEF_TYPE_USHORT_ID
The 'unsigned short' type.
Definition: ASTBitCodes.h:871
clang::serialization::PREDEF_TYPE_LONG_FRACT_ID
@ PREDEF_TYPE_LONG_FRACT_ID
The 'long _Fract' type.
Definition: ASTBitCodes.h:1018
clang::serialization::ASTRecordTypes
ASTRecordTypes
Record types that occur within the AST block itself.
Definition: ASTBitCodes.h:427
clang::serialization::DECL_OBJC_CATEGORY
@ DECL_OBJC_CATEGORY
A ObjCCategoryDecl record.
Definition: ASTBitCodes.h:1271
llvm::DenseMapInfo< clang::serialization::DeclarationNameKey >::getHashValue
static unsigned getHashValue(const clang::serialization::DeclarationNameKey &Key)
Definition: ASTBitCodes.h:2159
clang::serialization::STMT_OMP_FOR_SIMD_DIRECTIVE
@ STMT_OMP_FOR_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1922
clang::serialization::EXPR_SOURCE_LOC
@ EXPR_SOURCE_LOC
A SourceLocExpr record.
Definition: ASTBitCodes.h:1710
clang::serialization::STMT_DO
@ STMT_DO
A DoStmt record.
Definition: ASTBitCodes.h:1569
clang::serialization::DECL_OBJC_AT_DEFS_FIELD
@ DECL_OBJC_AT_DEFS_FIELD
A ObjCAtDefsFieldDecl record.
Definition: ASTBitCodes.h:1268
clang::serialization::PREDEF_DECL_VA_LIST_TAG
@ PREDEF_DECL_VA_LIST_TAG
The internal '__va_list_tag' struct, if any.
Definition: ASTBitCodes.h:1192
clang::serialization::SpecialTypeIDs
SpecialTypeIDs
The type IDs for special types constructed by semantic analysis.
Definition: ASTBitCodes.h:1125
clang::serialization::STMT_OMP_PARALLEL_MASKED_TASKLOOP_SIMD_DIRECTIVE
@ STMT_OMP_PARALLEL_MASKED_TASKLOOP_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1962
clang::serialization::EXPR_IMPLICIT_CAST
@ EXPR_IMPLICIT_CAST
An ImplicitCastExpr record.
Definition: ASTBitCodes.h:1662
clang::DeclarationName::CXXOperatorName
@ CXXOperatorName
Definition: DeclarationName.h:215
clang::serialization::STMT_OMP_PARALLEL_DIRECTIVE
@ STMT_OMP_PARALLEL_DIRECTIVE
Definition: ASTBitCodes.h:1917
clang::serialization::DECL_LINKAGE_SPEC
@ DECL_LINKAGE_SPEC
A LinkageSpecDecl record.
Definition: ASTBitCodes.h:1377
clang::serialization::DECL_VAR_TEMPLATE_PARTIAL_SPECIALIZATION
@ DECL_VAR_TEMPLATE_PARTIAL_SPECIALIZATION
A VarTemplatePartialSpecializationDecl record.
Definition: ASTBitCodes.h:1425
clang::serialization::DECL_CLASS_TEMPLATE_SPECIALIZATION
@ DECL_CLASS_TEMPLATE_SPECIALIZATION
A ClassTemplateSpecializationDecl record.
Definition: ASTBitCodes.h:1413
clang::serialization::UNHASHED_CONTROL_BLOCK_ID
@ UNHASHED_CONTROL_BLOCK_ID
A block with unhashed content.
Definition: ASTBitCodes.h:328
clang::serialization::STMT_OBJC_AT_TRY
@ STMT_OBJC_AT_TRY
An ObjCAtTryStmt record.
Definition: ASTBitCodes.h:1782
clang::serialization::NUM_PREDEF_TYPE_IDS
const unsigned NUM_PREDEF_TYPE_IDS
The number of predefined type IDs that are reserved for the PREDEF_TYPE_* constants.
Definition: ASTBitCodes.h:1103
clang::serialization::STMT_OBJC_FOR_COLLECTION
@ STMT_OBJC_FOR_COLLECTION
An ObjCForCollectionStmt record.
Definition: ASTBitCodes.h:1773
clang::serialization::CTOR_INITIALIZER_INDIRECT_MEMBER
@ CTOR_INITIALIZER_INDIRECT_MEMBER
Definition: ASTBitCodes.h:2032
clang::serialization::STMT_CXX_CATCH
@ STMT_CXX_CATCH
A CXXCatchStmt record.
Definition: ASTBitCodes.h:1802
clang::serialization::SubmoduleRecordTypes
SubmoduleRecordTypes
Record types used within a submodule description block.
Definition: ASTBitCodes.h:769
clang::serialization::TARGET_OPTIONS
@ TARGET_OPTIONS
Record code for the target options table.
Definition: ASTBitCodes.h:377
clang::serialization::DECL_VAR_TEMPLATE
@ DECL_VAR_TEMPLATE
A VarTemplateDecl record.
Definition: ASTBitCodes.h:1419
clang::serialization::EXPR_ASTYPE
@ EXPR_ASTYPE
Definition: ASTBitCodes.h:1902
clang::serialization::STATISTICS
@ STATISTICS
Record code for the extra statistics we gather while generating an AST file.
Definition: ASTBitCodes.h:502
clang::serialization::NUM_PREDEF_SUBMODULE_IDS
const unsigned int NUM_PREDEF_SUBMODULE_IDS
The number of predefined submodule IDs.
Definition: ASTBitCodes.h:174
uintptr_t
__UINTPTR_TYPE__ uintptr_t
An unsigned integer type with the property that any valid pointer to void can be converted to this ty...
Definition: opencl-c-base.h:140
clang::serialization::LocalRedeclarationsInfo::Offset
unsigned Offset
Definition: ASTBitCodes.h:2044
clang::serialization::EXPR_BUILTIN_BIT_CAST
@ EXPR_BUILTIN_BIT_CAST
A BuiltinBitCastExpr record.
Definition: ASTBitCodes.h:1847
IdentifierTable.h
clang::serialization::PREDEF_DECL_OBJC_CLASS_ID
@ PREDEF_DECL_OBJC_CLASS_ID
The Objective-C 'Class' type.
Definition: ASTBitCodes.h:1174
clang::serialization::EXT_VECTOR_DECLS
@ EXT_VECTOR_DECLS
Record code for the set of ext_vector type names.
Definition: ASTBitCodes.h:533
clang::serialization::HEADER_SEARCH_TABLE
@ HEADER_SEARCH_TABLE
Record code for header search information.
Definition: ASTBitCodes.h:587
Type.h
clang::serialization::PPEntityOffset::Begin
SourceLocation::UIntTy Begin
Raw source location of beginning of range.
Definition: ASTBitCodes.h:179
clang::serialization::LocalRedeclarationsInfo::operator<=
friend bool operator<=(const LocalRedeclarationsInfo &X, const LocalRedeclarationsInfo &Y)
Definition: ASTBitCodes.h:2056
clang::serialization::EXPR_CONCEPT_SPECIALIZATION
@ EXPR_CONCEPT_SPECIALIZATION
Definition: ASTBitCodes.h:1895
clang::serialization::PPEntityOffset::PPEntityOffset
PPEntityOffset(SourceRange R, uint32_t BitOffset)
Definition: ASTBitCodes.h:187
clang::serialization::PREDEF_TYPE_CHAR8_ID
@ PREDEF_TYPE_CHAR8_ID
The C++ 'char8_t' type.
Definition: ASTBitCodes.h:991
clang::serialization::SIGNATURE
@ SIGNATURE
Record code for the signature that identifiers this AST file.
Definition: ASTBitCodes.h:392
clang::serialization::STMT_OMP_TARGET_PARALLEL_FOR_SIMD_DIRECTIVE
@ STMT_OMP_TARGET_PARALLEL_FOR_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1968
clang::serialization::SPECIAL_TYPES
@ SPECIAL_TYPES
Record code for the set of non-builtin, special types.
Definition: ASTBitCodes.h:498
clang::serialization::SUBMODULE_EXPORTS
@ SUBMODULE_EXPORTS
Specifies the submodules that are re-exported from this submodule.
Definition: ASTBitCodes.h:796
clang::serialization::DesignatorTypes
DesignatorTypes
The kinds of designators that can occur in a DesignatedInitExpr.
Definition: ASTBitCodes.h:2011
clang::serialization::DECL_OBJC_PROPERTY
@ DECL_OBJC_PROPERTY
A ObjCPropertyDecl record.
Definition: ASTBitCodes.h:1283
clang::serialization::DECL_OMP_REQUIRES
@ DECL_OMP_REQUIRES
An OMPRequiresDecl record.
Definition: ASTBitCodes.h:1479
clang::serialization::DECL_CXX_CONVERSION
@ DECL_CXX_CONVERSION
A CXXConversionDecl record.
Definition: ASTBitCodes.h:1398
clang::serialization::AST_BLOCK_HASH
@ AST_BLOCK_HASH
Record code for the content hash of the AST block.
Definition: ASTBitCodes.h:395
clang::serialization::DECL_USING_DIRECTIVE
@ DECL_USING_DIRECTIVE
A UsingDirecitveDecl record.
Definition: ASTBitCodes.h:1368
clang::serialization::TYPE_EXT_QUAL
@ TYPE_EXT_QUAL
An ExtQualType record.
Definition: ASTBitCodes.h:1117
clang::serialization::IdentifierID
uint32_t IdentifierID
An ID number that refers to an identifier in an AST file.
Definition: ASTBitCodes.h:60
clang::serialization::TypeID
uint32_t TypeID
An ID number that refers to a type in an AST file.
Definition: ASTBitCodes.h:85
clang::serialization::INTERESTING_IDENTIFIERS
@ INTERESTING_IDENTIFIERS
A list of "interesting" identifiers.
Definition: ASTBitCodes.h:643
clang::serialization::PREDEF_TYPE_IBM128_ID
@ PREDEF_TYPE_IBM128_ID
The '__ibm128' type.
Definition: ASTBitCodes.h:1078
clang::serialization::NUM_PREDEF_IDENT_IDS
const unsigned int NUM_PREDEF_IDENT_IDS
The number of predefined identifier IDs.
Definition: ASTBitCodes.h:137
clang::serialization::STMT_CORETURN
@ STMT_CORETURN
Definition: ASTBitCodes.h:1997
clang::serialization::INPUT_FILE_HASH
@ INPUT_FILE_HASH
The input file content hash.
Definition: ASTBitCodes.h:423
clang::serialization::STMT_OMP_CANCEL_DIRECTIVE
@ STMT_OMP_CANCEL_DIRECTIVE
Definition: ASTBitCodes.h:1952
clang::serialization::STMT_OMP_TARGET_PARALLEL_DIRECTIVE
@ STMT_OMP_TARGET_PARALLEL_DIRECTIVE
Definition: ASTBitCodes.h:1947
clang::serialization::PREDEF_TYPE_FLOAT_ID
@ PREDEF_TYPE_FLOAT_ID
The 'float' type.
Definition: ASTBitCodes.h:904
clang::serialization::DECL_ENUM
@ DECL_ENUM
An EnumDecl record.
Definition: ASTBitCodes.h:1244
clang::serialization::PPSkippedRange
Source range of a skipped preprocessor region.
Definition: ASTBitCodes.h:201
clang::serialization::STMT_OMP_SCAN_DIRECTIVE
@ STMT_OMP_SCAN_DIRECTIVE
Definition: ASTBitCodes.h:1940
clang::serialization::STMT_OMP_PARALLEL_GENERIC_LOOP_DIRECTIVE
@ STMT_OMP_PARALLEL_GENERIC_LOOP_DIRECTIVE
Definition: ASTBitCodes.h:1985
clang::serialization::DECL_STATIC_ASSERT
@ DECL_STATIC_ASSERT
A StaticAssertDecl record.
Definition: ASTBitCodes.h:1449
clang::serialization::EXPR_UNARY_OPERATOR
@ EXPR_UNARY_OPERATOR
A UnaryOperator record.
Definition: ASTBitCodes.h:1632
clang::serialization::PP_MODULE_MACRO
@ PP_MODULE_MACRO
A macro directive exported by a module.
Definition: ASTBitCodes.h:752
clang::serialization::LocalRedeclarationsInfo::FirstID
DeclID FirstID
Definition: ASTBitCodes.h:2041
clang::serialization::FILE_SORTED_DECLS
@ FILE_SORTED_DECLS
Record code for a file sorted array of DeclIDs in a module.
Definition: ASTBitCodes.h:617
clang::serialization::EXTENSION_METADATA
@ EXTENSION_METADATA
Metadata describing this particular extension.
Definition: ASTBitCodes.h:410
clang::serialization::ObjCCategoriesInfo
Describes the categories of an Objective-C class.
Definition: ASTBitCodes.h:2068
clang::serialization::DECL_OBJC_TYPE_PARAM
@ DECL_OBJC_TYPE_PARAM
An ObjCTypeParamDecl record.
Definition: ASTBitCodes.h:1494
clang::serialization::STMT_OMP_DISPATCH_DIRECTIVE
@ STMT_OMP_DISPATCH_DIRECTIVE
Definition: ASTBitCodes.h:1980
clang::serialization::COMMENTS_BLOCK_ID
@ COMMENTS_BLOCK_ID
The block containing comments.
Definition: ASTBitCodes.h:301
clang::serialization::DECL_MS_GUID
@ DECL_MS_GUID
A MSGuidDecl record.
Definition: ASTBitCodes.h:1295
clang::serialization::EXPR_OMP_ARRAY_SHAPING
@ EXPR_OMP_ARRAY_SHAPING
Definition: ASTBitCodes.h:1988
clang::serialization::AST_BLOCK_ID
@ AST_BLOCK_ID
The AST block, which acts as a container around the full AST block.
Definition: ASTBitCodes.h:280
clang::serialization::DECL_OFFSET
@ DECL_OFFSET
Record code for the offsets of each decl.
Definition: ASTBitCodes.h:452
clang::serialization::UnderalignedInt64::setBitOffset
void setBitOffset(uint64_t Offset)
Definition: ASTBitCodes.h:230
clang::serialization::STMT_BREAK
@ STMT_BREAK
A BreakStmt record.
Definition: ASTBitCodes.h:1584
clang::serialization::DECL_EXPANDED_TEMPLATE_TEMPLATE_PARM_PACK
@ DECL_EXPANDED_TEMPLATE_TEMPLATE_PARM_PACK
A TemplateTemplateParmDecl record that stores an expanded template template parameter pack.
Definition: ASTBitCodes.h:1466
clang::serialization::STMT_OMP_DISTRIBUTE_SIMD_DIRECTIVE
@ STMT_OMP_DISTRIBUTE_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1967
clang::serialization::CTOR_INITIALIZER_DELEGATING
@ CTOR_INITIALIZER_DELEGATING
Definition: ASTBitCodes.h:2030
clang::serialization::NUM_PREDEF_PP_ENTITY_IDS
const unsigned int NUM_PREDEF_PP_ENTITY_IDS
The number of predefined preprocessed entity IDs.
Definition: ASTBitCodes.h:273
clang::serialization::STMT_OMP_TEAMS_DIRECTIVE
@ STMT_OMP_TEAMS_DIRECTIVE
Definition: ASTBitCodes.h:1949
clang::serialization::STMT_NULL_PTR
@ STMT_NULL_PTR
A NULL expression.
Definition: ASTBitCodes.h:1536
clang::serialization::STMT_RETURN
@ STMT_RETURN
A ReturnStmt record.
Definition: ASTBitCodes.h:1587
clang::serialization::PREDEF_TYPE_SAT_SHORT_FRACT_ID
@ PREDEF_TYPE_SAT_SHORT_FRACT_ID
The '_Sat short _Fract' type.
Definition: ASTBitCodes.h:1048
clang::serialization::PREDEF_TYPE_BOUND_MEMBER
@ PREDEF_TYPE_BOUND_MEMBER
The placeholder type for bound member functions.
Definition: ASTBitCodes.h:946
clang::serialization::ObjCCategoriesInfo::Offset
unsigned Offset
Definition: ASTBitCodes.h:2073
clang::serialization::DELETE_EXPRS_TO_ANALYZE
@ DELETE_EXPRS_TO_ANALYZE
Delete expressions that will be analyzed later.
Definition: ASTBitCodes.h:661
clang::serialization::EXPR_OBJC_ISA
@ EXPR_OBJC_ISA
An ObjCIsa Expr record.
Definition: ASTBitCodes.h:1767
clang::serialization::EXPR_SYCL_UNIQUE_STABLE_NAME
@ EXPR_SYCL_UNIQUE_STABLE_NAME
Definition: ASTBitCodes.h:2006
clang::serialization::ObjCCategoriesInfo::operator<=
friend bool operator<=(const ObjCCategoriesInfo &X, const ObjCCategoriesInfo &Y)
Definition: ASTBitCodes.h:2085
clang::serialization::SPECIAL_TYPE_OBJC_SEL_REDEFINITION
@ SPECIAL_TYPE_OBJC_SEL_REDEFINITION
Objective-C "SEL" redefinition type.
Definition: ASTBitCodes.h:1145
clang::serialization::PREDEF_TYPE_UINT_ID
@ PREDEF_TYPE_UINT_ID
The 'unsigned int' type.
Definition: ASTBitCodes.h:874
clang::serialization::EXPR_DECL_REF
@ EXPR_DECL_REF
A DeclRefExpr record.
Definition: ASTBitCodes.h:1608
clang::serialization::EXPR_MEMBER
@ EXPR_MEMBER
A MemberExpr record.
Definition: ASTBitCodes.h:1650
clang::serialization::EXPR_REQUIRES
@ EXPR_REQUIRES
Definition: ASTBitCodes.h:1896
clang::serialization::VERSION_MINOR
const unsigned VERSION_MINOR
AST file minor version number supported by this version of Clang.
Definition: ASTBitCodes.h:54
clang::serialization::ALIGN_PACK_PRAGMA_OPTIONS
@ ALIGN_PACK_PRAGMA_OPTIONS
Record code for #pragma align/pack options.
Definition: ASTBitCodes.h:682
clang::serialization::COK_Block
@ COK_Block
Definition: ASTBitCodes.h:2036
clang::serialization::SPECIAL_TYPE_OBJC_ID_REDEFINITION
@ SPECIAL_TYPE_OBJC_ID_REDEFINITION
Objective-C "id" redefinition type.
Definition: ASTBitCodes.h:1139
clang::serialization::STMT_COROUTINE_BODY
@ STMT_COROUTINE_BODY
Definition: ASTBitCodes.h:1996
clang::serialization::EXPR_CXX_REWRITTEN_BINARY_OPERATOR
@ EXPR_CXX_REWRITTEN_BINARY_OPERATOR
A CXXRewrittenBinaryOperator record.
Definition: ASTBitCodes.h:1817
clang::OverloadedOperatorKind
OverloadedOperatorKind
Enumeration specifying the different kinds of C++ overloaded operators.
Definition: OperatorKinds.h:21
clang::serialization::DeclOffset::setLocation
void setLocation(SourceLocation L)
Definition: ASTBitCodes.h:257
clang::serialization::STMT_OMP_TARGET_TEAMS_GENERIC_LOOP_DIRECTIVE
@ STMT_OMP_TARGET_TEAMS_GENERIC_LOOP_DIRECTIVE
Definition: ASTBitCodes.h:1984
clang::serialization::EXPR_CXX_REINTERPRET_CAST
@ EXPR_CXX_REINTERPRET_CAST
A CXXReinterpretCastExpr record.
Definition: ASTBitCodes.h:1835
clang::serialization::PREDEF_TYPE_DEPENDENT_ID
@ PREDEF_TYPE_DEPENDENT_ID
The placeholder type for dependent types.
Definition: ASTBitCodes.h:916
clang::serialization::PREDEF_TYPE_EVENT_ID
@ PREDEF_TYPE_EVENT_ID
OpenCL event type.
Definition: ASTBitCodes.h:967
clang::serialization::PREDEF_DECL_TRANSLATION_UNIT_ID
@ PREDEF_DECL_TRANSLATION_UNIT_ID
The translation unit.
Definition: ASTBitCodes.h:1165
clang::serialization::DECL_OBJC_IMPLEMENTATION
@ DECL_OBJC_IMPLEMENTATION
A ObjCImplementationDecl record.
Definition: ASTBitCodes.h:1277
clang::serialization::PPSkippedRange::getBegin
SourceLocation getBegin() const
Definition: ASTBitCodes.h:211
clang::serialization::IMPORTS
@ IMPORTS
Record code for the list of other AST files imported by this AST file.
Definition: ASTBitCodes.h:339
clang::serialization::EXPR_BLOCK
@ EXPR_BLOCK
BlockExpr.
Definition: ASTBitCodes.h:1719
clang::serialization::CUDA_PRAGMA_FORCE_HOST_DEVICE_DEPTH
@ CUDA_PRAGMA_FORCE_HOST_DEVICE_DEPTH
Number of unmatched #pragma clang cuda_force_host_device begin directives we've seen.
Definition: ASTBitCodes.h:671
clang::serialization::DECL_CXX_CTOR_INITIALIZERS
@ DECL_CXX_CTOR_INITIALIZERS
A record containing CXXCtorInitializers.
Definition: ASTBitCodes.h:1455
clang::serialization::PreprocessedEntityID
uint32_t PreprocessedEntityID
An ID number that refers to an entity in the detailed preprocessing record.
Definition: ASTBitCodes.h:168
clang::serialization::EXPR_CXX_THROW
@ EXPR_CXX_THROW
Definition: ASTBitCodes.h:1862
clang::serialization::STMT_OMP_TARGET_TEAMS_DISTRIBUTE_PARALLEL_FOR_DIRECTIVE
@ STMT_OMP_TARGET_TEAMS_DISTRIBUTE_PARALLEL_FOR_DIRECTIVE
Definition: ASTBitCodes.h:1976
clang::serialization::DECL_FRIEND
@ DECL_FRIEND
A FriendDecl record.
Definition: ASTBitCodes.h:1404
clang::serialization::EXPR_CXX_FOLD
@ EXPR_CXX_FOLD
Definition: ASTBitCodes.h:1894
clang::serialization::STMT_INDIRECT_GOTO
@ STMT_INDIRECT_GOTO
An IndirectGotoStmt record.
Definition: ASTBitCodes.h:1578
clang::serialization::STMT_DEFAULT
@ STMT_DEFAULT
A DefaultStmt record.
Definition: ASTBitCodes.h:1551
clang::serialization::STMT_OMP_TARGET_DIRECTIVE
@ STMT_OMP_TARGET_DIRECTIVE
Definition: ASTBitCodes.h:1943
clang::serialization::DECL_OBJC_PROTOCOL
@ DECL_OBJC_PROTOCOL
A ObjCProtocolDecl record.
Definition: ASTBitCodes.h:1262
clang::serialization::LANGUAGE_OPTIONS
@ LANGUAGE_OPTIONS
Record code for the language options table.
Definition: ASTBitCodes.h:374
clang::serialization::STMT_OMP_PARALLEL_MASKED_DIRECTIVE
@ STMT_OMP_PARALLEL_MASKED_DIRECTIVE
Definition: ASTBitCodes.h:1931
clang::serialization::SUBMODULE_CONFIG_MACRO
@ SUBMODULE_CONFIG_MACRO
Specifies a configuration macro for this module.
Definition: ASTBitCodes.h:809
clang::serialization::DECL_BLOCK
@ DECL_BLOCK
A BlockDecl record.
Definition: ASTBitCodes.h:1319
clang::serialization::DECL_OMP_DECLARE_REDUCTION
@ DECL_OMP_DECLARE_REDUCTION
An OMPDeclareReductionDecl record.
Definition: ASTBitCodes.h:1509
clang::serialization::EXPR_CXX_EXPRESSION_TRAIT
@ EXPR_CXX_EXPRESSION_TRAIT
Definition: ASTBitCodes.h:1880
clang::serialization::NumSpecialTypeIDs
const unsigned NumSpecialTypeIDs
The number of special type IDs.
Definition: ASTBitCodes.h:1152
clang::serialization::STMT_OMP_DEPOBJ_DIRECTIVE
@ STMT_OMP_DEPOBJ_DIRECTIVE
Definition: ASTBitCodes.h:1939
clang::serialization::EXPR_PAREN_LIST
@ EXPR_PAREN_LIST
A ParenListExpr record.
Definition: ASTBitCodes.h:1629
clang::serialization::PREDEF_TYPE_CHAR_S_ID
@ PREDEF_TYPE_CHAR_S_ID
The 'char' type, when it is signed.
Definition: ASTBitCodes.h:883
clang::serialization::EXPR_SIZEOF_ALIGN_OF
@ EXPR_SIZEOF_ALIGN_OF
A SizefAlignOfExpr record.
Definition: ASTBitCodes.h:1638
clang::serialization::EXPR_SIZEOF_PACK
@ EXPR_SIZEOF_PACK
Definition: ASTBitCodes.h:1889
llvm::DenseMapInfo< clang::serialization::DeclarationNameKey >::getEmptyKey
static clang::serialization::DeclarationNameKey getEmptyKey()
Definition: ASTBitCodes.h:2150
clang::serialization::DeclCode
DeclCode
Record codes for each kind of declaration.
Definition: ASTBitCodes.h:1236
clang::serialization::EXPR_FUNCTION_PARM_PACK
@ EXPR_FUNCTION_PARM_PACK
Definition: ASTBitCodes.h:1892
clang::serialization::PREDEF_DECL_MAKE_INTEGER_SEQ_ID
@ PREDEF_DECL_MAKE_INTEGER_SEQ_ID
The internal '__make_integer_seq' template.
Definition: ASTBitCodes.h:1204
clang::serialization::EXPR_MATRIX_SUBSCRIPT
@ EXPR_MATRIX_SUBSCRIPT
An MatrixSubscriptExpr record.
Definition: ASTBitCodes.h:1644
clang::serialization::PREDEF_TYPE_BOOL_ID
@ PREDEF_TYPE_BOOL_ID
The 'bool' or '_Bool' type.
Definition: ASTBitCodes.h:862
clang::serialization::PREDEF_TYPE_OMP_ITERATOR
@ PREDEF_TYPE_OMP_ITERATOR
The placeholder type for OpenMP iterator expression.
Definition: ASTBitCodes.h:1069
clang::serialization::PREDEF_TYPE_ULONG_FRACT_ID
@ PREDEF_TYPE_ULONG_FRACT_ID
The 'unsigned long _Fract' type.
Definition: ASTBitCodes.h:1027
clang::serialization::PP_INCLUDED_FILES
@ PP_INCLUDED_FILES
Record code for included files.
Definition: ASTBitCodes.h:697
clang::serialization::EXPR_CXX_OPERATOR_CALL
@ EXPR_CXX_OPERATOR_CALL
A CXXOperatorCallExpr record.
Definition: ASTBitCodes.h:1811
clang::serialization::DECL_EXPORT
@ DECL_EXPORT
An ExportDecl record.
Definition: ASTBitCodes.h:1380
clang::serialization::CTOR_INITIALIZER_BASE
@ CTOR_INITIALIZER_BASE
Definition: ASTBitCodes.h:2029
SourceLocation.h
clang::serialization::STMT_OMP_TARGET_ENTER_DATA_DIRECTIVE
@ STMT_OMP_TARGET_ENTER_DATA_DIRECTIVE
Definition: ASTBitCodes.h:1945
clang::serialization::DeclarationNameKey::getKind
NameKind getKind() const
Definition: ASTBitCodes.h:2112
llvm::DenseMapInfo< clang::serialization::DeclarationNameKey >::isEqual
static bool isEqual(const clang::serialization::DeclarationNameKey &L, const clang::serialization::DeclarationNameKey &R)
Definition: ASTBitCodes.h:2163
clang::serialization::EXPR_BINARY_OPERATOR
@ EXPR_BINARY_OPERATOR
A BinaryOperator record.
Definition: ASTBitCodes.h:1653
clang::serialization::CommentRecordTypes
CommentRecordTypes
Record types used within a comments block.
Definition: ASTBitCodes.h:838
clang::serialization::COMMENTS_RAW_COMMENT
@ COMMENTS_RAW_COMMENT
Definition: ASTBitCodes.h:838
clang::serialization::PREDEF_TYPE_SAT_USHORT_ACCUM_ID
@ PREDEF_TYPE_SAT_USHORT_ACCUM_ID
The '_Sat unsigned short _Accum' type.
Definition: ASTBitCodes.h:1039
clang::serialization::DECL_OBJC_METHOD
@ DECL_OBJC_METHOD
A ObjCMethodDecl record.
Definition: ASTBitCodes.h:1256
clang::serialization::STMT_OMP_FLUSH_DIRECTIVE
@ STMT_OMP_FLUSH_DIRECTIVE
Definition: ASTBitCodes.h:1938
clang::serialization::PREDEF_TYPE_OBJC_CLASS
@ PREDEF_TYPE_OBJC_CLASS
The ObjC 'Class' type.
Definition: ASTBitCodes.h:937
clang::serialization::STMT_SEH_TRY
@ STMT_SEH_TRY
Definition: ASTBitCodes.h:1912
clang::serialization::EXPR_CXX_NULL_PTR_LITERAL
@ EXPR_CXX_NULL_PTR_LITERAL
Definition: ASTBitCodes.h:1858
clang::serialization::PPSkippedRange::Begin
SourceLocation::UIntTy Begin
Raw source location of beginning of range.
Definition: ASTBitCodes.h:203
clang::serialization::DESIG_ARRAY
@ DESIG_ARRAY
Array designator.
Definition: ASTBitCodes.h:2020
clang::serialization::IMPORTED_MODULES
@ IMPORTED_MODULES
Record code for an array of all of the (sub)modules that were imported by the AST file.
Definition: ASTBitCodes.h:621
clang::serialization::DeclarationNameKey::getOperatorKind
OverloadedOperatorKind getOperatorKind() const
Definition: ASTBitCodes.h:2128
clang::serialization::STMT_IF
@ STMT_IF
An IfStmt record.
Definition: ASTBitCodes.h:1560
clang::serialization::PPEntityOffset
Source range/offset of a preprocessed entity.
Definition: ASTBitCodes.h:177
clang::serialization::TypeIdx::TypeIdx
TypeIdx(uint32_t index)
Definition: ASTBitCodes.h:93
clang::serialization::DESIG_FIELD_NAME
@ DESIG_FIELD_NAME
Field designator where only the field name is known.
Definition: ASTBitCodes.h:2013
clang::serialization::PPD_MACRO_EXPANSION
@ PPD_MACRO_EXPANSION
Describes a macro expansion within the preprocessing record.
Definition: ASTBitCodes.h:758
clang::serialization::DECL_OMP_ALLOCATE
@ DECL_OMP_ALLOCATE
An OMPAllocateDcl record.
Definition: ASTBitCodes.h:1482
clang::serialization::STMT_OMP_TASKYIELD_DIRECTIVE
@ STMT_OMP_TASKYIELD_DIRECTIVE
Definition: ASTBitCodes.h:1934
clang::serialization::PREDEF_TYPE_CLK_EVENT_ID
@ PREDEF_TYPE_CLK_EVENT_ID
OpenCL clk event type.
Definition: ASTBitCodes.h:970
clang::serialization::PREDEF_TYPE_BUILTIN_FN
@ PREDEF_TYPE_BUILTIN_FN
The placeholder type for builtin functions.
Definition: ASTBitCodes.h:964
clang::serialization::STMT_OMP_TARGET_PARALLEL_GENERIC_LOOP_DIRECTIVE
@ STMT_OMP_TARGET_PARALLEL_GENERIC_LOOP_DIRECTIVE
Definition: ASTBitCodes.h:1986
clang::serialization::DECL_VAR
@ DECL_VAR
A VarDecl record.
Definition: ASTBitCodes.h:1301
clang::serialization::STMT_OBJC_CATCH
@ STMT_OBJC_CATCH
An ObjCAtCatchStmt record.
Definition: ASTBitCodes.h:1776
clang::serialization::DECLS_TO_CHECK_FOR_DEFERRED_DIAGS
@ DECLS_TO_CHECK_FOR_DEFERRED_DIAGS
Record code for the Decls to be checked for deferred diags.
Definition: ASTBitCodes.h:691
clang::serialization::ORIGINAL_FILE
@ ORIGINAL_FILE
Record code for the original file that was used to generate the AST file, including both its file ID ...
Definition: ASTBitCodes.h:344
clang::serialization::DECL_ACCESS_SPEC
@ DECL_ACCESS_SPEC
An AccessSpecDecl record.
Definition: ASTBitCodes.h:1401
clang::serialization::EXPR_CXX_ADDRSPACE_CAST
@ EXPR_CXX_ADDRSPACE_CAST
A CXXAddrspaceCastExpr record.
Definition: ASTBitCodes.h:1841
clang::serialization::STMT_CXX_FOR_RANGE
@ STMT_CXX_FOR_RANGE
A CXXForRangeStmt record.
Definition: ASTBitCodes.h:1808
clang::serialization::STMT_OMP_MASKED_TASKLOOP_SIMD_DIRECTIVE
@ STMT_OMP_MASKED_TASKLOOP_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1960
clang::serialization::DECL_UNRESOLVED_USING_VALUE
@ DECL_UNRESOLVED_USING_VALUE
An UnresolvedUsingValueDecl record.
Definition: ASTBitCodes.h:1371
clang::serialization::DECL_TEMPLATE_PARAM_OBJECT
@ DECL_TEMPLATE_PARAM_OBJECT
A TemplateParamObjectDecl record.
Definition: ASTBitCodes.h:1298
clang::serialization::LOCAL_REDECLARATIONS
const unsigned int LOCAL_REDECLARATIONS
Record code for a list of local redeclarations of a declaration.
Definition: ASTBitCodes.h:1228
clang::serialization::DECL_EXPANDED_NON_TYPE_TEMPLATE_PARM_PACK
@ DECL_EXPANDED_NON_TYPE_TEMPLATE_PARM_PACK
A NonTypeTemplateParmDecl record that stores an expanded non-type template parameter pack.
Definition: ASTBitCodes.h:1462
clang::serialization::ObjCCategoriesInfo::operator>=
friend bool operator>=(const ObjCCategoriesInfo &X, const ObjCCategoriesInfo &Y)
Definition: ASTBitCodes.h:2090
clang::serialization::EXPR_EXPR_WITH_CLEANUPS
@ EXPR_EXPR_WITH_CLEANUPS
Definition: ASTBitCodes.h:1872
clang::serialization::SEMA_DECL_REFS
@ SEMA_DECL_REFS
Record code for declarations that Sema keeps references of.
Definition: ASTBitCodes.h:557
clang::serialization::SPECIAL_TYPE_OBJC_CLASS_REDEFINITION
@ SPECIAL_TYPE_OBJC_CLASS_REDEFINITION
Objective-C "Class" redefinition type.
Definition: ASTBitCodes.h:1142
clang::serialization::EXPR_OBJC_INDIRECT_COPY_RESTORE
@ EXPR_OBJC_INDIRECT_COPY_RESTORE
An ObjCIndirectCopyRestoreExpr record.
Definition: ASTBitCodes.h:1770
clang::serialization::SM_SLOC_FILE_ENTRY
@ SM_SLOC_FILE_ENTRY
Describes a source location entry (SLocEntry) for a file.
Definition: ASTBitCodes.h:708
clang::Qualifiers::FastWidth
@ FastWidth
The width of the "fast" qualifier mask.
Definition: Type.h:190
clang::serialization::PREDEF_TYPE_SAT_FRACT_ID
@ PREDEF_TYPE_SAT_FRACT_ID
The '_Sat _Fract' type.
Definition: ASTBitCodes.h:1051
clang::serialization::EXPR_INIT_LIST
@ EXPR_INIT_LIST
An InitListExpr record.
Definition: ASTBitCodes.h:1674
clang::serialization::STMT_OMP_INTEROP_DIRECTIVE
@ STMT_OMP_INTEROP_DIRECTIVE
Definition: ASTBitCodes.h:1979
clang::serialization::DeclOffset::getBitOffset
uint64_t getBitOffset(const uint64_t DeclTypesBlockStartOffset) const
Definition: ASTBitCodes.h:267
clang::serialization::EXPR_CXX_CONST_CAST
@ EXPR_CXX_CONST_CAST
A CXXConstCastExpr record.
Definition: ASTBitCodes.h:1838
clang::serialization::EXTENSION_BLOCK_ID
@ EXTENSION_BLOCK_ID
A block containing a module file extension.
Definition: ASTBitCodes.h:322
clang::serialization::SUBMODULE_BLOCK_ID
@ SUBMODULE_BLOCK_ID
The block containing the submodule structure.
Definition: ASTBitCodes.h:298
clang::serialization::ControlRecordTypes
ControlRecordTypes
Record types that occur within the control block.
Definition: ASTBitCodes.h:332
clang::serialization::PREDEF_TYPE_SAT_UFRACT_ID
@ PREDEF_TYPE_SAT_UFRACT_ID
The '_Sat unsigned _Fract' type.
Definition: ASTBitCodes.h:1060
clang::serialization::EXPR_NO_INIT
@ EXPR_NO_INIT
An NoInitExpr record.
Definition: ASTBitCodes.h:1683
clang::DeclarationName::ObjCZeroArgSelector
@ ObjCZeroArgSelector
Definition: DeclarationName.h:210
clang::serialization::MACRO_OFFSET
@ MACRO_OFFSET
Record code for the table of offsets of each macro ID.
Definition: ASTBitCodes.h:638
clang::serialization::EXPR_VA_ARG
@ EXPR_VA_ARG
A VAArgExpr record.
Definition: ASTBitCodes.h:1695
clang::DeclarationName::ObjCOneArgSelector
@ ObjCOneArgSelector
Definition: DeclarationName.h:211
clang::serialization::IDENTIFIER_OFFSET
@ IDENTIFIER_OFFSET
Record code for the table of offsets of each identifier ID.
Definition: ASTBitCodes.h:460
clang::serialization::NUM_PREDEF_MACRO_IDS
const unsigned int NUM_PREDEF_MACRO_IDS
The number of predefined macro IDs.
Definition: ASTBitCodes.h:150
clang::serialization::STMT_OMP_TASKWAIT_DIRECTIVE
@ STMT_OMP_TASKWAIT_DIRECTIVE
Definition: ASTBitCodes.h:1937
clang::serialization::STMT_OMP_DISTRIBUTE_PARALLEL_FOR_SIMD_DIRECTIVE
@ STMT_OMP_DISTRIBUTE_PARALLEL_FOR_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1966
clang::serialization::DECL_ENUM_CONSTANT
@ DECL_ENUM_CONSTANT
An EnumConstantDecl record.
Definition: ASTBitCodes.h:1250
clang::serialization::PP_MACRO_FUNCTION_LIKE
@ PP_MACRO_FUNCTION_LIKE
A function-like macro definition.
Definition: ASTBitCodes.h:741
clang::serialization::PPD_SKIPPED_RANGES
@ PPD_SKIPPED_RANGES
A table of skipped ranges within the preprocessing record.
Definition: ASTBitCodes.h:688
clang::serialization::EXPR_OBJC_ENCODE
@ EXPR_OBJC_ENCODE
An ObjCEncodeExpr record.
Definition: ASTBitCodes.h:1743
clang::serialization::DECL_MS_PROPERTY
@ DECL_MS_PROPERTY
A MSPropertyDecl record.
Definition: ASTBitCodes.h:1292
clang::serialization::EXPR_OBJC_BRIDGED_CAST
@ EXPR_OBJC_BRIDGED_CAST
Definition: ASTBitCodes.h:1992
clang::serialization::VTABLE_USES
@ VTABLE_USES
Record code for the array of VTable uses.
Definition: ASTBitCodes.h:543
clang::serialization::PREDEF_TYPE_SHORT_ID
@ PREDEF_TYPE_SHORT_ID
The (signed) 'short' type.
Definition: ASTBitCodes.h:892
clang::serialization::EXPR_OBJC_IVAR_REF_EXPR
@ EXPR_OBJC_IVAR_REF_EXPR
An ObjCIvarRefExpr record.
Definition: ASTBitCodes.h:1752
clang::serialization::STMT_STOP
@ STMT_STOP
A marker record that indicates that we are at the end of an expression.
Definition: ASTBitCodes.h:1533
clang::serialization::DECL_OBJC_CATEGORY_IMPL
@ DECL_OBJC_CATEGORY_IMPL
A ObjCCategoryImplDecl record.
Definition: ASTBitCodes.h:1274
clang::serialization::DECL_CONCEPT
@ DECL_CONCEPT
A ConceptDecl record.
Definition: ASTBitCodes.h:1443
clang::serialization::STMT_OMP_SINGLE_DIRECTIVE
@ STMT_OMP_SINGLE_DIRECTIVE
Definition: ASTBitCodes.h:1925
clang::serialization::EXPR_OBJC_KVC_REF_EXPR
@ EXPR_OBJC_KVC_REF_EXPR
UNUSED.
Definition: ASTBitCodes.h:1761
clang::serialization::HEADER_SEARCH_OPTIONS
@ HEADER_SEARCH_OPTIONS
Record code for the headers search options table.
Definition: ASTBitCodes.h:383
clang::serialization::SUBMODULE_INITIALIZERS
@ SUBMODULE_INITIALIZERS
Specifies some declarations with initializers that must be emitted to initialize the module.
Definition: ASTBitCodes.h:827
clang::serialization::EXPR_PAREN
@ EXPR_PAREN
A ParenExpr record.
Definition: ASTBitCodes.h:1626
clang::serialization::PREDEF_DECL_CF_CONSTANT_STRING_TAG_ID
@ PREDEF_DECL_CF_CONSTANT_STRING_TAG_ID
The internal '__NSConstantString' tag type.
Definition: ASTBitCodes.h:1210
clang::serialization::EXPR_CXX_DEFAULT_INIT
@ EXPR_CXX_DEFAULT_INIT
Definition: ASTBitCodes.h:1864
clang::serialization::PREDEF_DECL_NULL_ID
@ PREDEF_DECL_NULL_ID
The NULL declaration.
Definition: ASTBitCodes.h:1162
clang::serialization::STMT_SEH_EXCEPT
@ STMT_SEH_EXCEPT
Definition: ASTBitCodes.h:1910
clang::serialization::LocalRedeclarationsInfo::operator<
friend bool operator<(const LocalRedeclarationsInfo &X, const LocalRedeclarationsInfo &Y)
Definition: ASTBitCodes.h:2046
clang::IdentifierInfo
One of these records is kept for each identifier that is lexed.
Definition: IdentifierTable.h:85
clang::serialization::SM_SLOC_BUFFER_BLOB_COMPRESSED
@ SM_SLOC_BUFFER_BLOB_COMPRESSED
Describes a zlib-compressed blob that contains the data for a buffer entry.
Definition: ASTBitCodes.h:722
clang::serialization::LocalDeclID
DeclID LocalDeclID
Definition: ASTBitCodes.h:72
clang::serialization::DECL_TYPEDEF
@ DECL_TYPEDEF
A TypedefDecl record.
Definition: ASTBitCodes.h:1238
clang::serialization::PREDEF_TYPE_SAT_SHORT_ACCUM_ID
@ PREDEF_TYPE_SAT_SHORT_ACCUM_ID
The '_Sat short _Accum' type.
Definition: ASTBitCodes.h:1030
clang::serialization::PREDEF_DECL_OBJC_INSTANCETYPE_ID
@ PREDEF_DECL_OBJC_INSTANCETYPE_ID
The internal 'instancetype' typedef.
Definition: ASTBitCodes.h:1186
clang::serialization::STMT_GCCASM
@ STMT_GCCASM
A GCC-style AsmStmt record.
Definition: ASTBitCodes.h:1596
clang::SourceLocation::getFromRawEncoding
static SourceLocation getFromRawEncoding(UIntTy Encoding)
Turn a raw encoding of a SourceLocation object into a real SourceLocation.
Definition: SourceLocation.h:152
clang::serialization::PP_ASSUME_NONNULL_LOC
@ PP_ASSUME_NONNULL_LOC
Record code for an unterminated #pragma clang assume_nonnull begin recorded in a preamble.
Definition: ASTBitCodes.h:701
clang::QualType::getFromOpaquePtr
static QualType getFromOpaquePtr(const void *Ptr)
Definition: Type.h:784
clang::serialization::OPENCL_EXTENSION_TYPES
@ OPENCL_EXTENSION_TYPES
Record code for types associated with OpenCL extensions.
Definition: ASTBitCodes.h:674
clang::serialization::STMT_OMP_TARGET_UPDATE_DIRECTIVE
@ STMT_OMP_TARGET_UPDATE_DIRECTIVE
Definition: ASTBitCodes.h:1964
clang::serialization::SPECIAL_TYPE_UCONTEXT_T
@ SPECIAL_TYPE_UCONTEXT_T
C ucontext_t typedef type.
Definition: ASTBitCodes.h:1148
clang::serialization::EXPR_CUDA_KERNEL_CALL
@ EXPR_CUDA_KERNEL_CALL
Definition: ASTBitCodes.h:1899
clang::serialization::PreprocessorRecordTypes
PreprocessorRecordTypes
Record types used within a preprocessor block.
Definition: ASTBitCodes.h:730
clang::serialization::STMT_OMP_PARALLEL_MASTER_DIRECTIVE
@ STMT_OMP_PARALLEL_MASTER_DIRECTIVE
Definition: ASTBitCodes.h:1930
clang::serialization::CONTROL_BLOCK_ID
@ CONTROL_BLOCK_ID
The control block, which contains all of the information that needs to be validated prior to committi...
Definition: ASTBitCodes.h:306
clang::serialization::COK_CompoundLiteral
@ COK_CompoundLiteral
Definition: ASTBitCodes.h:2036
clang::serialization::LocalRedeclarationsInfo
Describes the redeclarations of a declaration.
Definition: ASTBitCodes.h:2039
clang::serialization::DECL_UPDATES
const unsigned int DECL_UPDATES
Record of updates for a declaration that was modified after being deserialized.
Definition: ASTBitCodes.h:1224
clang::serialization::SPECIAL_TYPE_SIGJMP_BUF
@ SPECIAL_TYPE_SIGJMP_BUF
C sigjmp_buf typedef type.
Definition: ASTBitCodes.h:1136
clang::serialization::PPSkippedRange::End
SourceLocation::UIntTy End
Raw source location of end of range.
Definition: ASTBitCodes.h:205
clang::serialization::STMT_OMP_MASTER_TASKLOOP_DIRECTIVE
@ STMT_OMP_MASTER_TASKLOOP_DIRECTIVE
Definition: ASTBitCodes.h:1955
clang::serialization::PREDEF_TYPE_AUTO_RREF_DEDUCT
@ PREDEF_TYPE_AUTO_RREF_DEDUCT
The "auto &&" deduction type.
Definition: ASTBitCodes.h:952
clang::serialization::DELEGATING_CTORS
@ DELEGATING_CTORS
The list of delegating constructor declarations.
Definition: ASTBitCodes.h:596
clang::serialization::POINTERS_TO_MEMBERS_PRAGMA_OPTIONS
@ POINTERS_TO_MEMBERS_PRAGMA_OPTIONS
Record code for #pragma ms_struct options.
Definition: ASTBitCodes.h:667
clang::serialization::TypeIdx::getIndex
uint32_t getIndex() const
Definition: ASTBitCodes.h:95
clang::serialization::EXPR_COYIELD
@ EXPR_COYIELD
Definition: ASTBitCodes.h:1999
clang::serialization::HEADER_SEARCH_ENTRY_USAGE
@ HEADER_SEARCH_ENTRY_USAGE
Record code for the indices of used header search entries.
Definition: ASTBitCodes.h:404
clang::serialization::DIAG_PRAGMA_MAPPINGS
@ DIAG_PRAGMA_MAPPINGS
Record code for #pragma diagnostic mappings.
Definition: ASTBitCodes.h:401
clang::serialization::OPTIONS_BLOCK_ID
@ OPTIONS_BLOCK_ID
The block of configuration options, used to check that a module is being used in a configuration comp...
Definition: ASTBitCodes.h:319
DeclarationName.h
clang::serialization::TypeCode
TypeCode
Record codes for each kind of type.
Definition: ASTBitCodes.h:1111
clang::serialization::DECL_FUNCTION
@ DECL_FUNCTION
A FunctionDecl record.
Definition: ASTBitCodes.h:1253
clang::serialization::EXPR_PREDEFINED
@ EXPR_PREDEFINED
A PredefinedExpr record.
Definition: ASTBitCodes.h:1605
clang::serialization::EXPR_CXX_UNRESOLVED_CONSTRUCT
@ EXPR_CXX_UNRESOLVED_CONSTRUCT
Definition: ASTBitCodes.h:1876
clang::serialization::STMT_OMP_PARALLEL_MASTER_TASKLOOP_DIRECTIVE
@ STMT_OMP_PARALLEL_MASTER_TASKLOOP_DIRECTIVE
Definition: ASTBitCodes.h:1957
clang::serialization::PREDEF_TYPE_SHORT_ACCUM_ID
@ PREDEF_TYPE_SHORT_ACCUM_ID
The 'short _Accum' type.
Definition: ASTBitCodes.h:994
clang::serialization::EXPR_ARRAY_TYPE_TRAIT
@ EXPR_ARRAY_TYPE_TRAIT
Definition: ASTBitCodes.h:1886
clang::serialization::DECL_INDIRECTFIELD
@ DECL_INDIRECTFIELD
A IndirectFieldDecl record.
Definition: ASTBitCodes.h:1458
clang::serialization::CUDA_SPECIAL_DECL_REFS
@ CUDA_SPECIAL_DECL_REFS
Record code for special CUDA declarations.
Definition: ASTBitCodes.h:584
clang::serialization::EXPR_CXX_INHERITED_CTOR_INIT
@ EXPR_CXX_INHERITED_CTOR_INIT
A CXXInheritedCtorInitExpr record.
Definition: ASTBitCodes.h:1823
clang::serialization::PREDEF_TYPE_LONG_ID
@ PREDEF_TYPE_LONG_ID
The (signed) 'long' type.
Definition: ASTBitCodes.h:898
clang::serialization::PREPROCESSOR_BLOCK_ID
@ PREPROCESSOR_BLOCK_ID
The block containing information about the preprocessor.
Definition: ASTBitCodes.h:288
clang::serialization::EXPR_MATERIALIZE_TEMPORARY
@ EXPR_MATERIALIZE_TEMPORARY
Definition: ASTBitCodes.h:1893
clang::serialization::EXPR_RECOVERY
@ EXPR_RECOVERY
A RecoveryExpr record.
Definition: ASTBitCodes.h:1731
clang::serialization::UnhashedControlBlockRecordTypes
UnhashedControlBlockRecordTypes
Record codes for the unhashed control block.
Definition: ASTBitCodes.h:390
clang::serialization::UnderalignedInt64
Offset in the AST file.
Definition: ASTBitCodes.h:223
clang::serialization::UnderalignedInt64::UnderalignedInt64
UnderalignedInt64(uint64_t BitOffset)
Definition: ASTBitCodes.h:228
llvm::DenseMapInfo< clang::serialization::DeclarationNameKey >::getTombstoneKey
static clang::serialization::DeclarationNameKey getTombstoneKey()
Definition: ASTBitCodes.h:2154
clang::Builtin::ID
ID
Definition: Builtins.h:52
clang::serialization::OptionsRecordTypes
OptionsRecordTypes
Record types that occur within the options block inside the control block.
Definition: ASTBitCodes.h:367
clang::serialization::SUBMODULE_HEADER
@ SUBMODULE_HEADER
Specifies a header that falls into this (sub)module.
Definition: ASTBitCodes.h:782
clang::serialization::PREDEF_DECL_OBJC_ID_ID
@ PREDEF_DECL_OBJC_ID_ID
The Objective-C 'id' type.
Definition: ASTBitCodes.h:1168
clang::serialization::PREDEF_TYPE_USHORT_FRACT_ID
@ PREDEF_TYPE_USHORT_FRACT_ID
The 'unsigned short _Fract' type.
Definition: ASTBitCodes.h:1021
clang
Definition: CalledOnceCheck.h:17
clang::serialization::DECL_UPDATE_OFFSETS
@ DECL_UPDATE_OFFSETS
Record for offsets of DECL_UPDATES records for declarations that were modified after being deserializ...
Definition: ASTBitCodes.h:574
clang::serialization::CtorInitializerType
CtorInitializerType
The different kinds of data that can occur in a CtorInitializer.
Definition: ASTBitCodes.h:2028
clang::serialization::STMT_OMP_SECTIONS_DIRECTIVE
@ STMT_OMP_SECTIONS_DIRECTIVE
Definition: ASTBitCodes.h:1923
clang::serialization::PPSkippedRange::getEnd
SourceLocation getEnd() const
Definition: ASTBitCodes.h:214
clang::serialization::EXPR_CXX_UUIDOF_EXPR
@ EXPR_CXX_UUIDOF_EXPR
Definition: ASTBitCodes.h:1907
clang::Selector
Smart pointer class that efficiently represents Objective-C method names.
Definition: IdentifierTable.h:759
clang::serialization::TypeIdx::asTypeID
TypeID asTypeID(unsigned FastQuals) const
Definition: ASTBitCodes.h:97
clang::serialization::WEAK_UNDECLARED_IDENTIFIERS
@ WEAK_UNDECLARED_IDENTIFIERS
Record code for weak undeclared identifiers.
Definition: ASTBitCodes.h:560
clang::serialization::EXPR_COMPOUND_ASSIGN_OPERATOR
@ EXPR_COMPOUND_ASSIGN_OPERATOR
A CompoundAssignOperator record.
Definition: ASTBitCodes.h:1656
clang::serialization::EXPR_EXT_VECTOR_ELEMENT
@ EXPR_EXT_VECTOR_ELEMENT
An ExtVectorElementExpr record.
Definition: ASTBitCodes.h:1671
clang::serialization::DECL_TEMPLATE_TYPE_PARM
@ DECL_TEMPLATE_TYPE_PARM
A TemplateTypeParmDecl record.
Definition: ASTBitCodes.h:1431
clang::serialization::TypeIdx::fromTypeID
static TypeIdx fromTypeID(TypeID ID)
Definition: ASTBitCodes.h:104
clang::serialization::PREDEF_TYPE_SAT_ULONG_ACCUM_ID
@ PREDEF_TYPE_SAT_ULONG_ACCUM_ID
The '_Sat unsigned long _Accum' type.
Definition: ASTBitCodes.h:1045
clang::serialization::PREDEF_TYPE_OVERLOAD_ID
@ PREDEF_TYPE_OVERLOAD_ID
The placeholder type for overloaded function sets.
Definition: ASTBitCodes.h:913
clang::serialization::STMT_OMP_BARRIER_DIRECTIVE
@ STMT_OMP_BARRIER_DIRECTIVE
Definition: ASTBitCodes.h:1936
clang::serialization::DECL_LIFETIME_EXTENDED_TEMPORARY
@ DECL_LIFETIME_EXTENDED_TEMPORARY
An LifetimeExtendedTemporaryDecl record.
Definition: ASTBitCodes.h:1488
clang::serialization::PREDEF_DECL_BUILTIN_VA_LIST_ID
@ PREDEF_DECL_BUILTIN_VA_LIST_ID
The internal '__builtin_va_list' typedef.
Definition: ASTBitCodes.h:1189
clang::serialization::EXPR_ATOMIC
@ EXPR_ATOMIC
An AtomicExpr record.
Definition: ASTBitCodes.h:1728
clang::serialization::STMT_OMP_ATOMIC_DIRECTIVE
@ STMT_OMP_ATOMIC_DIRECTIVE
Definition: ASTBitCodes.h:1942
clang::serialization::PREDEF_DECL_TYPE_PACK_ELEMENT_ID
@ PREDEF_DECL_TYPE_PACK_ELEMENT_ID
The internal '__type_pack_element' template.
Definition: ASTBitCodes.h:1213
clang::serialization::EXPR_OBJC_STRING_LITERAL
@ EXPR_OBJC_STRING_LITERAL
An ObjCStringLiteral record.
Definition: ASTBitCodes.h:1736
clang::serialization::PREDEF_TYPE_VOID_ID
@ PREDEF_TYPE_VOID_ID
The void type.
Definition: ASTBitCodes.h:859
clang::serialization::EXPR_SUBST_NON_TYPE_TEMPLATE_PARM
@ EXPR_SUBST_NON_TYPE_TEMPLATE_PARM
Definition: ASTBitCodes.h:1890
clang::serialization::UNDEFINED_BUT_USED
@ UNDEFINED_BUT_USED
Record code for undefined but used functions and variables that need a definition in this TU.
Definition: ASTBitCodes.h:647
clang::serialization::EXPR_FIXEDPOINT_LITERAL
@ EXPR_FIXEDPOINT_LITERAL
Definition: ASTBitCodes.h:2003
clang::serialization::ObjCCategoriesInfo::DefinitionID
DeclID DefinitionID
Definition: ASTBitCodes.h:2070
clang::serialization::DECL_CXX_CONSTRUCTOR
@ DECL_CXX_CONSTRUCTOR
A CXXConstructorDecl record.
Definition: ASTBitCodes.h:1392
clang::serialization::EXPR_GNU_NULL
@ EXPR_GNU_NULL
A GNUNullExpr record.
Definition: ASTBitCodes.h:1707
clang::serialization::PREDEF_TYPE_RESERVE_ID_ID
@ PREDEF_TYPE_RESERVE_ID_ID
OpenCL reserve_id type.
Definition: ASTBitCodes.h:979
clang::serialization::UnderalignedInt64::BitOffsetLow
uint32_t BitOffsetLow
Definition: ASTBitCodes.h:224
clang::serialization::SM_SLOC_EXPANSION_ENTRY
@ SM_SLOC_EXPANSION_ENTRY
Describes a source location entry (SLocEntry) for a macro expansion.
Definition: ASTBitCodes.h:726
clang::serialization::IDENTIFIER_TABLE
@ IDENTIFIER_TABLE
Record code for the identifier table.
Definition: ASTBitCodes.h:479
clang::serialization::STMT_OMP_TASK_DIRECTIVE
@ STMT_OMP_TASK_DIRECTIVE
Definition: ASTBitCodes.h:1933
clang::serialization::DECL_IMPLICIT_CONCEPT_SPECIALIZATION
@ DECL_IMPLICIT_CONCEPT_SPECIALIZATION
An ImplicitConceptSpecializationDecl record.
Definition: ASTBitCodes.h:1518
clang::serialization::PredefinedTypeIDs
PredefinedTypeIDs
Predefined type IDs.
Definition: ASTBitCodes.h:854
clang::serialization::PREDEF_TYPE_LONGDOUBLE_ID
@ PREDEF_TYPE_LONGDOUBLE_ID
The 'long double' type.
Definition: ASTBitCodes.h:910
clang::serialization::EXPR_CXX_DEFAULT_ARG
@ EXPR_CXX_DEFAULT_ARG
Definition: ASTBitCodes.h:1863
clang::serialization::STMT_LABEL
@ STMT_LABEL
A LabelStmt record.
Definition: ASTBitCodes.h:1554
unsigned
clang::serialization::DECL_OMP_CAPTUREDEXPR
@ DECL_OMP_CAPTUREDEXPR
An OMPCapturedExprDecl record.
Definition: ASTBitCodes.h:1497
clang::serialization::STMT_OMP_SECTION_DIRECTIVE
@ STMT_OMP_SECTION_DIRECTIVE
Definition: ASTBitCodes.h:1924
clang::serialization::PREDEF_TYPE_PSEUDO_OBJECT
@ PREDEF_TYPE_PSEUDO_OBJECT
The pseudo-object placeholder type.
Definition: ASTBitCodes.h:961
clang::serialization::SOURCE_LOCATION_PRELOADS
@ SOURCE_LOCATION_PRELOADS
Record code for the set of source location entries that need to be preloaded by the AST reader.
Definition: ASTBitCodes.h:530
clang::serialization::SUBMODULE_LINK_LIBRARY
@ SUBMODULE_LINK_LIBRARY
Specifies a library or framework to link against.
Definition: ASTBitCodes.h:806
clang::serialization::STMT_SEH_FINALLY
@ STMT_SEH_FINALLY
Definition: ASTBitCodes.h:1911
clang::serialization::STMT_OMP_PARALLEL_MASKED_TASKLOOP_DIRECTIVE
@ STMT_OMP_PARALLEL_MASKED_TASKLOOP_DIRECTIVE
Definition: ASTBitCodes.h:1961
clang::serialization::SUBMODULE_IMPORTS
@ SUBMODULE_IMPORTS
Specifies the submodules that are imported by this submodule.
Definition: ASTBitCodes.h:792
clang::serialization::MODULE_NAME
@ MODULE_NAME
Record code for the module name.
Definition: ASTBitCodes.h:355
clang::serialization::DECL_NAMESPACE_ALIAS
@ DECL_NAMESPACE_ALIAS
A NamespaceAliasDecl record.
Definition: ASTBitCodes.h:1350
clang::serialization::STMT_OMP_MASTER_DIRECTIVE
@ STMT_OMP_MASTER_DIRECTIVE
Definition: ASTBitCodes.h:1926
clang::serialization::EXPR_OPAQUE_VALUE
@ EXPR_OPAQUE_VALUE
Definition: ASTBitCodes.h:1883
clang::serialization::STMT_OMP_TARGET_TEAMS_DIRECTIVE
@ STMT_OMP_TARGET_TEAMS_DIRECTIVE
Definition: ASTBitCodes.h:1974
clang::serialization::EXPR_OFFSETOF
@ EXPR_OFFSETOF
An OffsetOfExpr record.
Definition: ASTBitCodes.h:1635
clang::serialization::EXPR_OMP_ITERATOR
@ EXPR_OMP_ITERATOR
Definition: ASTBitCodes.h:1989
clang::serialization::SUBMODULE_TEXTUAL_HEADER
@ SUBMODULE_TEXTUAL_HEADER
Specifies a header that is part of the module but must be textually included.
Definition: ASTBitCodes.h:819
clang::QualType::getAsOpaquePtr
void * getAsOpaquePtr() const
Definition: Type.h:782
clang::serialization::STMT_OMP_PARALLEL_FOR_DIRECTIVE
@ STMT_OMP_PARALLEL_FOR_DIRECTIVE
Definition: ASTBitCodes.h:1928
clang::serialization::EXPR_CHOOSE
@ EXPR_CHOOSE
A ChooseExpr record.
Definition: ASTBitCodes.h:1704
clang::serialization::EXPR_LAMBDA
@ EXPR_LAMBDA
Definition: ASTBitCodes.h:1995
clang::serialization::STMT_OMP_CANCELLATION_POINT_DIRECTIVE
@ STMT_OMP_CANCELLATION_POINT_DIRECTIVE
Definition: ASTBitCodes.h:1951
v
do v
Definition: arm_acle.h:76
clang::serialization::EXPR_CONSTANT
@ EXPR_CONSTANT
A constant expression context.
Definition: ASTBitCodes.h:1602
clang::serialization::SUBMODULE_METADATA
@ SUBMODULE_METADATA
Metadata for submodules as a whole.
Definition: ASTBitCodes.h:771
clang::serialization::DECL_IMPORT
@ DECL_IMPORT
An ImportDecl recording a module import.
Definition: ASTBitCodes.h:1473
clang::serialization::PPD_MACRO_DEFINITION
@ PPD_MACRO_DEFINITION
Describes a macro definition within the preprocessing record.
Definition: ASTBitCodes.h:761
clang::serialization::UNUSED_FILESCOPED_DECLS
@ UNUSED_FILESCOPED_DECLS
Record code for the array of unused file scoped decls.
Definition: ASTBitCodes.h:536
clang::serialization::STMT_SWITCH
@ STMT_SWITCH
A SwitchStmt record.
Definition: ASTBitCodes.h:1563
clang::serialization::EXPR_FLOATING_LITERAL
@ EXPR_FLOATING_LITERAL
A FloatingLiteral record.
Definition: ASTBitCodes.h:1614
clang::serialization::PREDEF_TYPE_SAT_LONG_ACCUM_ID
@ PREDEF_TYPE_SAT_LONG_ACCUM_ID
The '_Sat long _Accum' type.
Definition: ASTBitCodes.h:1036
clang::serialization::PPD_INCLUSION_DIRECTIVE
@ PPD_INCLUSION_DIRECTIVE
Describes an inclusion directive within the preprocessing record.
Definition: ASTBitCodes.h:765
clang::serialization::CXXCtorInitializersID
uint32_t CXXCtorInitializersID
An ID number that refers to a list of CXXCtorInitializers in an AST file.
Definition: ASTBitCodes.h:164
clang::serialization::STMT_OMP_TEAMS_DISTRIBUTE_PARALLEL_FOR_DIRECTIVE
@ STMT_OMP_TEAMS_DISTRIBUTE_PARALLEL_FOR_DIRECTIVE
Definition: ASTBitCodes.h:1973
clang::serialization::DECL_LABEL
@ DECL_LABEL
A LabelDecl record.
Definition: ASTBitCodes.h:1344
clang::serialization::EXPR_CXX_PROPERTY_SUBSCRIPT_EXPR
@ EXPR_CXX_PROPERTY_SUBSCRIPT_EXPR
Definition: ASTBitCodes.h:1906
clang::serialization::PP_CONDITIONAL_STACK
@ PP_CONDITIONAL_STACK
The stack of open #ifs/#ifdefs recorded in a preamble.
Definition: ASTBitCodes.h:685
clang::serialization::LATE_PARSED_TEMPLATE
@ LATE_PARSED_TEMPLATE
Record code for late parsed template functions.
Definition: ASTBitCodes.h:650
clang::serialization::STMT_OMP_DISTRIBUTE_PARALLEL_FOR_DIRECTIVE
@ STMT_OMP_DISTRIBUTE_PARALLEL_FOR_DIRECTIVE
Definition: ASTBitCodes.h:1965
clang::serialization::OPENCL_EXTENSION_DECLS
@ OPENCL_EXTENSION_DECLS
Record code for declarations associated with OpenCL extensions.
Definition: ASTBitCodes.h:677
clang::serialization::METHOD_POOL
@ METHOD_POOL
Record code for the Objective-C method pool,.
Definition: ASTBitCodes.h:514
clang::serialization::EXPR_DEPENDENT_COAWAIT
@ EXPR_DEPENDENT_COAWAIT
Definition: ASTBitCodes.h:2000
clang::DeclarationName::ObjCMultiArgSelector
@ ObjCMultiArgSelector
Definition: DeclarationName.h:225
clang::serialization::STMT_OMP_TEAMS_DISTRIBUTE_SIMD_DIRECTIVE
@ STMT_OMP_TEAMS_DISTRIBUTE_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1971
clang::serialization::SUBMODULE_PRIVATE_HEADER
@ SUBMODULE_PRIVATE_HEADER
Specifies a header that is private to this submodule.
Definition: ASTBitCodes.h:815
clang::serialization::EXPR_CXX_UUIDOF_TYPE
@ EXPR_CXX_UUIDOF_TYPE
Definition: ASTBitCodes.h:1908
clang::serialization::DECL_PRAGMA_DETECT_MISMATCH
@ DECL_PRAGMA_DETECT_MISMATCH
A PragmaDetectMismatchDecl record.
Definition: ASTBitCodes.h:1503
clang::serialization::UnsafeQualTypeDenseMapInfo::getEmptyKey
static QualType getEmptyKey()
Definition: ASTBitCodes.h:117
clang::serialization::STMT_GOTO
@ STMT_GOTO
A GotoStmt record.
Definition: ASTBitCodes.h:1575
clang::serialization::EXPR_OBJC_SELECTOR_EXPR
@ EXPR_OBJC_SELECTOR_EXPR
An ObjCSelectorExpr record.
Definition: ASTBitCodes.h:1746
clang::serialization::EXPR_CXX_NEW
@ EXPR_CXX_NEW
Definition: ASTBitCodes.h:1868
clang::serialization::STMT_OMP_ERROR_DIRECTIVE
@ STMT_OMP_ERROR_DIRECTIVE
Definition: ASTBitCodes.h:1935
clang::serialization::DESIG_ARRAY_RANGE
@ DESIG_ARRAY_RANGE
GNU array range designator.
Definition: ASTBitCodes.h:2023
clang::serialization::PREDEF_TYPE_CHAR16_ID
@ PREDEF_TYPE_CHAR16_ID
The C++ 'char16_t' type.
Definition: ASTBitCodes.h:928
clang::serialization::EXPR_TYPE_TRAIT
@ EXPR_TYPE_TRAIT
Definition: ASTBitCodes.h:1885
clang::serialization::DeclOffset::DeclOffset
DeclOffset()=default
clang::serialization::STMT_OBJC_FINALLY
@ STMT_OBJC_FINALLY
An ObjCAtFinallyStmt record.
Definition: ASTBitCodes.h:1779
clang::serialization::STMT_WHILE
@ STMT_WHILE
A WhileStmt record.
Definition: ASTBitCodes.h:1566
clang::serialization::ObjCCategoriesInfo::operator>
friend bool operator>(const ObjCCategoriesInfo &X, const ObjCCategoriesInfo &Y)
Definition: ASTBitCodes.h:2080
clang::serialization::STMT_OMP_FOR_DIRECTIVE
@ STMT_OMP_FOR_DIRECTIVE
Definition: ASTBitCodes.h:1921
clang::serialization::DeclID
uint32_t DeclID
An ID number that refers to a declaration in an AST file.
Definition: ASTBitCodes.h:68
clang::serialization::EXPR_BINARY_CONDITIONAL_OPERATOR
@ EXPR_BINARY_CONDITIONAL_OPERATOR
Definition: ASTBitCodes.h:1884
clang::serialization::GlobalDeclID
DeclID GlobalDeclID
Definition: ASTBitCodes.h:73
clang::serialization::LocalMacroID
uint32_t LocalMacroID
A local to a module ID number that refers to a macro in an AST file.
Definition: ASTBitCodes.h:147
clang::serialization::ObjCCategoriesInfo::operator<
friend bool operator<(const ObjCCategoriesInfo &X, const ObjCCategoriesInfo &Y)
Definition: ASTBitCodes.h:2075
clang::serialization::PREDEF_TYPE_FLOAT128_ID
@ PREDEF_TYPE_FLOAT128_ID
The '__float128' type.
Definition: ASTBitCodes.h:985
clang::serialization::DECL_CONTEXT_VISIBLE
@ DECL_CONTEXT_VISIBLE
A record that stores the set of declarations that are visible from a given DeclContext.
Definition: ASTBitCodes.h:1341
clang::serialization::SelectorID
uint32_t SelectorID
An ID number that refers to an ObjC selector in an AST file.
Definition: ASTBitCodes.h:153
clang::serialization::DESIG_FIELD_DECL
@ DESIG_FIELD_DECL
Field designator where the field has been resolved to a declaration.
Definition: ASTBitCodes.h:2017
clang::serialization::DECL_LAST
@ DECL_LAST
Definition: ASTBitCodes.h:1520
clang::serialization::DECL_OBJC_IVAR
@ DECL_OBJC_IVAR
A ObjCIvarDecl record.
Definition: ASTBitCodes.h:1265
clang::serialization::STMT_OMP_CRITICAL_DIRECTIVE
@ STMT_OMP_CRITICAL_DIRECTIVE
Definition: ASTBitCodes.h:1927
clang::serialization::SELECTOR_OFFSETS
@ SELECTOR_OFFSETS
Record code for the table of offsets into the Objective-C method pool.
Definition: ASTBitCodes.h:511
clang::serialization::PREDEF_TYPE_BFLOAT16_ID
@ PREDEF_TYPE_BFLOAT16_ID
The '__bf16' type.
Definition: ASTBitCodes.h:1075
clang::serialization::MODULE_OFFSET_MAP
@ MODULE_OFFSET_MAP
Record code for the remapping information used to relate loaded modules to the various offsets and ID...
Definition: ASTBitCodes.h:606
clang::serialization::STMT_OMP_TEAMS_DISTRIBUTE_DIRECTIVE
@ STMT_OMP_TEAMS_DISTRIBUTE_DIRECTIVE
Definition: ASTBitCodes.h:1970
clang::serialization::CTOR_INITIALIZER_MEMBER
@ CTOR_INITIALIZER_MEMBER
Definition: ASTBitCodes.h:2031
clang::serialization::PPEntityOffset::End
SourceLocation::UIntTy End
Raw source location of end of range.
Definition: ASTBitCodes.h:182
clang::serialization::EXPR_COMPOUND_LITERAL
@ EXPR_COMPOUND_LITERAL
A CompoundLiteralExpr record.
Definition: ASTBitCodes.h:1668
clang::serialization::DECL_NON_TYPE_TEMPLATE_PARM
@ DECL_NON_TYPE_TEMPLATE_PARM
A NonTypeTemplateParmDecl record.
Definition: ASTBitCodes.h:1434
clang::serialization::PREDEF_TYPE_HALF_ID
@ PREDEF_TYPE_HALF_ID
The OpenCL 'half' / ARM NEON __fp16 type.
Definition: ASTBitCodes.h:955
clang::serialization::InputFileRecordTypes
InputFileRecordTypes
Record types that occur within the input-files block inside the control block.
Definition: ASTBitCodes.h:418
clang::serialization::REFERENCED_SELECTOR_POOL
@ REFERENCED_SELECTOR_POOL
Record code for referenced selector pool.
Definition: ASTBitCodes.h:548
clang::serialization::PredefinedDeclIDs
PredefinedDeclIDs
Predefined declaration IDs.
Definition: ASTBitCodes.h:1160
clang::serialization::INPUT_FILE_OFFSETS
@ INPUT_FILE_OFFSETS
Offsets into the input-files block where input files reside.
Definition: ASTBitCodes.h:352
clang::serialization::DECL_BINDING
@ DECL_BINDING
A BindingDecl record.
Definition: ASTBitCodes.h:1313
clang::serialization::MODULE_DIRECTORY
@ MODULE_DIRECTORY
Record code for the module build directory.
Definition: ASTBitCodes.h:362
clang::serialization::PREDEF_DECL_CF_CONSTANT_STRING_ID
@ PREDEF_DECL_CF_CONSTANT_STRING_ID
The internal '__NSConstantString' typedef.
Definition: ASTBitCodes.h:1207
clang::serialization::STMT_OMP_TASKLOOP_SIMD_DIRECTIVE
@ STMT_OMP_TASKLOOP_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1954
clang::serialization::EXPR_CXX_THIS
@ EXPR_CXX_THIS
Definition: ASTBitCodes.h:1861
clang::serialization::EXPR_CXX_TEMPORARY_OBJECT
@ EXPR_CXX_TEMPORARY_OBJECT
A CXXTemporaryObjectExpr record.
Definition: ASTBitCodes.h:1826
clang::serialization::DeclOffset::getLocation
SourceLocation getLocation() const
Definition: ASTBitCodes.h:259
clang::serialization::STMT_OMP_TEAMS_DISTRIBUTE_PARALLEL_FOR_SIMD_DIRECTIVE
@ STMT_OMP_TEAMS_DISTRIBUTE_PARALLEL_FOR_SIMD_DIRECTIVE
Definition: ASTBitCodes.h:1972
clang::serialization::PREDEF_TYPE_UCHAR_ID
@ PREDEF_TYPE_UCHAR_ID
The 'unsigned char' type.
Definition: ASTBitCodes.h:868
clang::serialization::SUBMODULE_UMBRELLA_DIR
@ SUBMODULE_UMBRELLA_DIR
Specifies an umbrella directory.
Definition: ASTBitCodes.h:788
clang::serialization::PreprocessorDetailRecordTypes
PreprocessorDetailRecordTypes
Record types used within a preprocessor detail block.
Definition: ASTBitCodes.h:756
clang::serialization::EXPR_USER_DEFINED_LITERAL
@ EXPR_USER_DEFINED_LITERAL
A UserDefinedLiteral record.
Definition: ASTBitCodes.h:1850
clang::serialization::UnsafeQualTypeDenseMapInfo::getHashValue
static unsigned getHashValue(QualType T)
Definition: ASTBitCodes.h:125
clang::serialization::PREDEF_DECL_OBJC_SEL_ID
@ PREDEF_DECL_OBJC_SEL_ID
The Objective-C 'SEL' type.
Definition: ASTBitCodes.h:1171
clang::serialization::DeclarationNameKey::DeclarationNameKey
DeclarationNameKey(NameKind Kind, uint64_t Data)
Definition: ASTBitCodes.h:2110
clang::serialization::OBJC_CATEGORIES
@ OBJC_CATEGORIES
Record code for the array of Objective-C categories (including extensions).
Definition: ASTBitCodes.h:631
clang::serialization::SPECIAL_TYPE_CF_CONSTANT_STRING
@ SPECIAL_TYPE_CF_CONSTANT_STRING
CFConstantString type.
Definition: ASTBitCodes.h:1127
clang::SourceLocation::UIntTy
uint32_t UIntTy
Definition: SourceLocation.h:93
clang::serialization::PREDEF_DECL_INT_128_ID
@ PREDEF_DECL_INT_128_ID
The signed 128-bit integer type.
Definition: ASTBitCodes.h:1180
clang::serialization::GlobalMacroID
uint32_t GlobalMacroID
A global ID number that refers to a macro in an AST file.
Definition: ASTBitCodes.h:143
clang::serialization::DECL_CONTEXT_LEXICAL
@ DECL_CONTEXT_LEXICAL
A record that stores the set of declarations that are lexically stored within a given DeclContext.
Definition: ASTBitCodes.h:1332
clang::SourceLocation::getRawEncoding
UIntTy getRawEncoding() const
When a SourceLocation itself cannot be used, this returns an (opaque) 32-bit integer encoding for it.
Definition: SourceLocation.h:146
clang::serialization::OPENCL_EXTENSIONS
@ OPENCL_EXTENSIONS
Record code for enabled OpenCL extensions.
Definition: ASTBitCodes.h:593
clang::serialization::PREDEF_TYPE_QUEUE_ID
@ PREDEF_TYPE_QUEUE_ID
OpenCL queue type.
Definition: ASTBitCodes.h:976
clang::serialization::DeclarationNameKey::getHash
unsigned getHash() const
Compute a fingerprint of this key for use in on-disk hash table.
Definition: ASTReader.cpp:1099
clang::serialization::EXPR_ARRAY_INIT_LOOP
@ EXPR_ARRAY_INIT_LOOP
An ArrayInitLoopExpr record.
Definition: ASTBitCodes.h:1686
clang::serialization::PREDEF_TYPE_FRACT_ID
@ PREDEF_TYPE_FRACT_ID
The '_Fract' type.
Definition: ASTBitCodes.h:1015
clang::serialization::EXPR_IMAGINARY_LITERAL
@ EXPR_IMAGINARY_LITERAL
An ImaginaryLiteral record.
Definition: ASTBitCodes.h:1617
clang::serialization::SUBMODULE_EXCLUDED_HEADER
@ SUBMODULE_EXCLUDED_HEADER
Specifies a header that has been explicitly excluded from this submodule.
Definition: ASTBitCodes.h:803
clang::serialization::SourceManagerRecordTypes
SourceManagerRecordTypes
Record types used within a source manager block.
Definition: ASTBitCodes.h:705
clang::serialization::DeclarationNameKey::getIdentifier
IdentifierInfo * getIdentifier() const
Definition: ASTBitCodes.h:2114
clang::serialization::STMT_REF_PTR
@ STMT_REF_PTR
A reference to a previously [de]serialized Stmt record.
Definition: ASTBitCodes.h:1539
clang::serialization::SPECIAL_TYPE_JMP_BUF
@ SPECIAL_TYPE_JMP_BUF
C jmp_buf typedef type.
Definition: ASTBitCodes.h:1133
clang::serialization::EXPR_OBJC_SUBSCRIPT_REF_EXPR
@ EXPR_OBJC_SUBSCRIPT_REF_EXPR
An ObjCSubscriptRefExpr record.
Definition: ASTBitCodes.h:1758