Home | History | Annotate | Download | only in Serialization

Lines Matching defs:Macro

1224 /// \brief Create an abbreviation for the SLocEntry that refers to a macro
1530 // The source location entry is a macro expansion.
1537 // Compute the token length for this macro expansion.
1665 // Loop over all the macro definitions that are live at the end of the file,
1668 // Construct the list of macro definitions that need to be serialized.
1682 // Sort the set of macro definitions that need to be serialized by the
1683 // name of the macro, to provide a stable ordering.
1707 // the macro comes from the original PCH but the identifier comes from a
1709 // writing the macro definition a second time.
1736 // If we have a detailed preprocessing record, record the macro definition
1737 // ID that corresponds to this macro.
1748 // in a macro definition.
1810 // Record this macro definition's ID.
2467 bool isInterestingIdentifier(IdentifierInfo *II, MacroInfo *&Macro) {
2475 return hasMacroDefinition(II, Macro);
2478 bool hasMacroDefinition(IdentifierInfo *II, MacroInfo *&Macro) {
2482 if (Macro || (Macro = PP.getMacroInfo(II)))
2483 return !Macro->isBuiltinMacro() && (!IsModule || Macro->isPublic());
2507 MacroInfo *Macro = 0;
2508 if (isInterestingIdentifier(II, Macro)) {
2510 if (hasMacroDefinition(II, Macro))
2536 MacroInfo *Macro = 0;
2537 if (!isInterestingIdentifier(II, Macro)) {
2544 bool HasMacroDefinition = hasMacroDefinition(II, Macro);
2557 Writer.inferSubmoduleIDFromLocation(Macro->getDefinitionLoc()));
2595 // where the user adds new macro definitions when building the AST
3425 // macro-definition-id:i32