Home | History | Annotate | Download | only in Serialization

Lines Matching defs:Macro

1409   // Macro definitions.
1421 // Macro includes
1627 /// \brief Create an abbreviation for the SLocEntry that refers to a macro
1940 // The source location entry is a macro expansion.
1947 // Compute the token length for this macro expansion.
2072 // Loop over all the macro directives that are live at the end of the file,
2075 // Construct the list of identifiers with macro directives that need to be
2083 // Sort the set of macro definitions that need to be serialized by the
2084 // name of the macro, to provide a stable ordering.
2088 // Emit the macro directives as a list and associate the offset with the
2094 // Emit the macro directives in reverse source order.
2096 // Once we hit an ignored macro, we're done: the rest of the chain
2117 auto *Macro = Worklist.pop_back_val();
2119 // Emit a record indicating this submodule exports this macro.
2121 getSubmoduleID(Macro->getOwningModule()));
2122 ModuleMacroRecord.push_back(getMacroRef(Macro->getMacroInfo(), Name));
2123 for (auto *M : Macro->overrides())
2130 for (auto *M : Macro->overrides())
2147 /// the local macro ID
2149 /// For each identifier that is associated with a macro, this map
2150 /// provides the offset into the bitstream where that macro is
2164 // Record the local offset of this macro.
2195 // If we have a detailed preprocessing record, record the macro definition
2196 // ID that corresponds to this macro.
2207 // be in a macro definition.
2218 // Write the offsets table for macro IDs.
2276 // Record this macro definition's ID.
2446 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Macro name
3275 // where the user adds new macro definitions when building the AST
4355 // macro-definition-id:i32
4779 assert(MacroIDs.find(MI) != MacroIDs.end() && "Macro not emitted!");