reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Lex/PPMacroExpansion.cpp
  476       Callbacks->MacroExpands(Identifier, M, Identifier.getLocation(),
  476       Callbacks->MacroExpands(Identifier, M, Identifier.getLocation(),
  478     ExpandBuiltinMacro(Identifier);
  489   SourceLocation ExpansionEnd = Identifier.getLocation();
  497     ArgMacro = &Identifier;
  499     Args = ReadMacroCallArgumentList(Identifier, MI, ExpansionEnd);
  517   SourceLocation ExpandLoc = Identifier.getLocation();
  527           MacroExpandsInfo(Identifier, M, ExpansionRange));
  529       Callbacks->MacroExpands(Identifier, M, ExpansionRange, Args);
  543     Diag(Identifier, diag::warn_pp_ambiguous_macro)
  544       << Identifier.getIdentifierInfo();
  546       << Identifier.getIdentifierInfo();
  550           << Identifier.getIdentifierInfo();
  564     Identifier.setFlag(Token::LeadingEmptyMacro);
  565     PropagateLineStartLeadingSpaceInfo(Identifier);
  569              isTrivialSingleTokenExpansion(MI, Identifier.getIdentifierInfo(),
  580     bool isAtStartOfLine = Identifier.isAtStartOfLine();
  581     bool hasLeadingSpace = Identifier.hasLeadingSpace();
  584     Identifier = MI->getReplacementToken(0);
  587     Identifier.setFlagValue(Token::StartOfLine , isAtStartOfLine);
  588     Identifier.setFlagValue(Token::LeadingSpace, hasLeadingSpace);
  593       SourceMgr.createExpansionLoc(Identifier.getLocation(), ExpandLoc,
  594                                    ExpansionEnd,Identifier.getLength());
  595     Identifier.setLocation(Loc);
  599     if (IdentifierInfo *NewII = Identifier.getIdentifierInfo()) {
  602           Identifier.setFlag(Token::DisableExpand);
  606             Diag(Identifier, diag::pp_disabled_macro_expansion);
  617   EnterMacro(Identifier, ExpansionEnd, MI, Args);