Home | History | Annotate | Download | only in Basic

Lines Matching refs:Expansion

14 /// location, an expansion location, and a presumed location.
27 /// The expansion location is the line in the source code where the macro
299 /// \brief Each ExpansionInfo encodes the expansion location - where
308 /// In a macro expansion, ExpansionLocStart and ExpansionLocEnd
309 /// indicate the start and end of the expansion. In object-like macros,
310 /// they will be the same. In a function-like macro expansion, the start
349 /// \brief Return a ExpansionInfo for an expansion.
351 /// Start and End specify the expansion range (where the macro is
354 /// normal File SLocs or expansion locations.
364 /// \brief Return a special ExpansionInfo for the expansion of
367 /// ExpansionLoc specifies the expansion location (where the macro is
372 /// SpellingLoc can both refer to normal File SLocs or expansion locations.
386 // expansion range to mark that this is a macro argument ion rather than
401 ExpansionInfo Expansion;
415 assert(isExpansion() && "Not a macro expansion SLocEntry!");
416 return Expansion;
428 static SLocEntry get(unsigned Offset, const ExpansionInfo &Expansion) {
433 E.Expansion = Expansion;
470 /// This is used to compare macro expansion locations.
501 // location (expansion location), in which case use the order of the FileIDs
503 // one of the locations points at the inclusion/expansion point of the other
544 /// objects, turning them into either spelling or expansion locations. Spelling
546 /// expansion locations represent where the location is in the user's view. In
547 /// the case of a macro expansion, for example, the spelling location indicates
548 /// where the expanded token came from and the expansion location specifies
606 /// expansion.
803 /// ExpansionLoc, and that it represents the expansion of a macro argument
1046 /// \brief Given a SourceLocation object \p Loc, return the expansion
1055 /// \brief Given \p Loc, if it is a macro location return the expansion
1063 /// \brief Return the start/end of the expansion information for an
1064 /// expansion location.
1066 /// \pre \p Loc is required to be an expansion location.
1071 /// tokens covered by the expansion in the ultimate file.
1076 /// tokens covered by the expansion in the ultimate file.
1117 /// If the location is an expansion record, walk through it until we find
1136 /// If the location is an expansion record, walk through it until we find
1165 /// argument's expansion into the function-like macro definition.
1168 /// start location of the macro argument expansion.
1170 /// Such source locations only appear inside of the expansion
1176 /// \brief Tests whether the given source location represents the expansion of
1180 /// expansion but not the expansion of an argument to a function-like macro.
1184 /// of the immediate macro expansion.
1187 /// begin location of the immediate macro expansion.
1192 /// end of the immediate macro expansion.
1195 /// character end location of the immediate macro expansion.
1260 /// on a file sloc, so you must choose a spelling or expansion location
1307 /// Note that a presumed location is always given as the expansion point of
1308 /// an expansion location, not at the spelling location.
1449 /// be at the first expansion of the argument.
1602 /// Implements the common elements of storing an expansion info struct into
1604 SourceLocation createExpansionLocImpl(const SrcMgr::ExpansionInfo &Expansion,