Home | History | Annotate | Download | only in Serialization

Lines Matching defs:Macro

284     // This is a macro definition. Determine the name of the macro we're
290 "Couldn't find the end of the macro name");
293 // Determine whether this macro was given a different definition on the
302 // Different macro; we're done.
311 continue; // Longer macro name; keep trying.
313 // We found a conflicting macro definition.
321 // Show the definition of this macro within the PCH file.
324 assert(MacroLoc.second!=StringRef::npos && "Unable to find macro!");
334 // If the macro doesn't conflict, then we'll just pick up the macro
344 // Show the definition of this macro within the PCH file.
347 assert(MacroLoc.second!=StringRef::npos && "Unable to find macro!");
372 // This is an extra macro definition. Determine the name of the
373 // macro we're defining.
378 "Couldn't find the end of the macro name");
382 // so, defining it as a macro could change behavior, so we reject
565 // If this identifier is a macro, deserialize the macro
572 // Determine whether this macro definition should be visible now, or
579 // The owning module is not visible, and this macro definition should
583 // Note that this macro definition was hidden because its owning
1257 // after reading this macro.
1263 MacroInfo *Macro = 0;
1296 // If we already have a macro, that means that we've hit the end
1297 // of the definition of the macro we were looking for. We're
1299 if (Macro)
1304 Error("macro must have a name in AST file");
1320 // Decode function-like macro info.
1328 // Install function-like macro info.
1336 // Finally, install the macro.
1339 // Remember that we saw this macro last so that we add the tokens that
1341 Macro = MI;
1345 // We have a macro definition. Register the association
1349 PPRec.RegisterMacroDefinition(Macro,
1360 if (Macro == 0) break;
1370 Macro->AddTokenToBody(Tok);
1449 // Note that this identifier has a macro definition.
1510 // Drain the unread macro-record offsets map.
1517 assert(Pos != UnreadMacroRecordOffsets.end() && "Unknown macro definition");
3396 // Decode the identifier info and then check again; if the macro is
3506 // The end locations of entities may be unordered (when a macro expansion
3507 // is inside another macro argument), but for this case it is not important
3508 // whether we get the first macro expansion or its containing macro.