HomeSort by: relevance | last modified time | path
    Searched defs:Expansion (Results 1 - 16 of 16) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Syntax/
Tokens.h 128 /// EXPECTS: token comes from a file, not from a macro expansion.
266 /// An expansion produced by the preprocessor, includes macro expansions and
275 struct Expansion {
282 llvm::Optional<Expansion>
286 std::vector<Expansion>
365 /// Convert a private Mapping to a public Expansion.
366 Expansion makeExpansion(const MarkedFile &, const Mapping &) const;
  /src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
ASTMatchersInternal.cpp 681 // Since `Loc` may point into an expansion buffer, which has no corresponding
694 SrcMgr::ExpansionInfo Expansion =
696 if (Expansion.isMacroArgExpansion())
697 // Check macro argument for an expansion of the given macro. For example,
700 MacroName, Expansion.getSpellingLoc(), Context))
702 Loc = Expansion.getExpansionLocStart();
  /src/external/apache2/llvm/dist/clang/lib/Lex/
TokenLexer.cpp 87 // expanded. The macro must be disabled only after argument pre-expansion of
144 // In Microsoft-compatibility mode, a comma is removed in the expansion
150 // GCC removes the comma in the expansion of " ... , ## __VA_ARGS__ " if
351 // If the expansion of __VA_OPT__ ends with a placeholder, eat any
468 // test for this later when the macro expansion is processed.
519 // expansion.
546 // expansion. Note that we don't do this for the GNU
564 // Discard the argument token and skip (don't copy to the expansion
624 // Lexing off the end of the macro, pop this macro off the expansion stack.
703 // Handle recursive expansion!
    [all...]
Lexer.cpp 120 // of tokens (e.g. identifiers, thus disabling macro expansion). It is used
175 /// _Pragma expansion. This has a variety of magic semantics that this method
180 /// expansion location that indicates where all lexed tokens should be
291 // Raw string literals need special handling; trigraph expansion and line
324 /// after trigraph expansion and escaped-newline folding. In particular, this
365 /// after trigraph expansion and escaped-newline folding. In particular, this
468 // If this comes from a macro expansion, we really do want the macro name, not
724 // Figure out how many physical characters away the specified expansion
789 return {}; // Points inside the macro expansion.
802 /// token of the macro expansion
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaTemplateVariadic.cpp 163 // A function parameter pack is a pack expansion, so cannot contain
180 /// Suppress traversal of pack expansion expressions and types.
189 /// Suppress traversal of using-declaration pack expansion.
197 /// Suppress traversal of using-declaration pack expansion.
319 // unexpanded pack in this case, which will require expansion outside the
322 // We do not permit pack expansion that would duplicate a statement
608 // Create the pack expansion type and source-location information.
627 // The pattern of a pack expansion shall name one or more
629 // expansion.
654 // The pattern of a pack expansion shall name one or mor
    [all...]
SemaTemplateDeduction.cpp 411 // expanded NTTP should be a pack expansion type?
417 if (auto *Expansion = dyn_cast<PackExpansionType>(ParamType))
418 ParamType = Expansion->getPattern();
710 // by this pack expansion, then clear out the deduction.
727 // parameter packs expanded by the pack expansion.
737 // Deducing a parameter pack that is a pack expansion also constrains the
744 if (auto *Expansion = dyn_cast<PackExpansionType>(NTTP->getType()))
745 ExtraDeductions.push_back(Expansion->getPattern());
764 assert(!Packs.empty() && "Pack expansion without unexpanded packs?");
786 // This pack expansion will have been partially or fully expanded i
    [all...]
SemaTemplateInstantiateDecl.cpp 117 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?");
2591 "type parameter can only be an expansion when explicit arguments "
2593 // The template type parameter pack's type is a pack expansion of types.
2682 // expansion of types. Substitute into each of the expanded types.
2705 // The non-type template parameter pack's type is a pack expansion of types.
2708 PackExpansionTypeLoc Expansion = TL.castAs<PackExpansionTypeLoc>();
2709 TypeLoc Pattern = Expansion.getPatternLoc();
2718 = Expansion.getTypePtr()->getNumExpansions();
2720 if (SemaRef.CheckParameterPacksForExpansion(Expansion.getEllipsisLoc(),
2747 // expanded parameter pack is the original expansion type, but caller
    [all...]
TreeTransform.h 153 /// pack expansion, in order to avoid violating the AST invariant that each
242 /// Determine whether we should expand a pack expansion with the
250 /// pack expansion.
253 /// the pack expansion.
263 /// pack expansion after all of the expanded arguments. This is used
268 /// the expanded form of the corresponding pack expansion. This is both an
420 /// derived class permits such expansion) along the way. When pack expansions
481 "must override transformedLocalDecl if performing pack expansion");
1176 /// Build a new pack expansion type.
3618 /// Build a new template argument pack expansion
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ExprObjC.h 270 /// The location of the ellipsis, if this is a pack expansion.
273 /// The number of elements this pack expansion will expand to, if
274 /// this is a pack expansion and is known.
277 /// Determines whether this dictionary element is a pack expansion.
292 /// expansion, used if any of the elements in the dictionary literal
296 /// expansion.
300 /// expansion will expand to (+1).
317 /// be an array of pack expansion data following the array of
319 /// any) and number of elements in the expansion (if known). If
367 const ExpansionData &Expansion
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
SourceManager.h 13 /// location, an expansion location, and a presumed location.
26 /// The expansion location is the line in the source code where the macro
344 /// Each ExpansionInfo encodes the expansion location - where
353 /// In a macro expansion, ExpansionLocStart and ExpansionLocEnd
354 /// indicate the start and end of the expansion. In object-like macros,
355 /// they will be the same. In a function-like macro expansion, the start
361 /// Whether the expansion range is a token range.
400 /// Return a ExpansionInfo for an expansion.
402 /// Start and End specify the expansion range (where the macro is
405 /// normal File SLocs or expansion locations
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
JSONNodeDumper.cpp 251 SourceLocation Expansion = SM.getExpansionLoc(Loc);
253 if (Expansion != Spelling) {
254 // If the expansion and the spelling are different, output subobjects
259 JOS.attributeObject("expansionLoc", [Expansion, Loc, this] {
260 writeBareSourceLocation(Expansion, /*IsSpelling*/ false);
261 // If there is a macro expansion, add extra information if the interesting
262 // bit is the macro arg expansion.
  /src/external/apache2/llvm/dist/clang/lib/Basic/
SourceManager.cpp 348 // Use up FileID #0 as an invalid expansion.
785 // location or are "near" the cached expansion location. 2) others are just
937 // expansion (e.g. the 5th character of the token) we do not want to add
938 // this offset when going to the expansion location. The expansion
971 // If this is an expansion record, walk through all the expansion points.
989 // If this is an expansion record, walk through all the expansion points.
1022 /// getImmediateExpansionRange - Loc is required to be an expansion location
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
LoopUtils.cpp 1144 // Return true if the SCEV expansion generated by the rewriter can replace the
1149 // If an SCEV expression subsumed multiple pointers, its expansion could
1175 // base of a recurrence. This handles the case in which SCEV expansion
1226 bool HighCost; // Is this expansion a high-cost?
1228 Value *Expansion = nullptr;
1391 // we query *all* the costs, because if we perform temporary expansion
1392 // inbetween, one that we might not intend to keep, said expansion
1403 // we can perform the last sanity check - the expansion must be valid.
1405 Phi.Expansion = Rewriter.expandCodeFor(Phi.ExpansionSCEV, Phi.PN->getType(),
1409 << *(Phi.Expansion) << '\n
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTWriter.cpp 1604 /// expansion.
2033 // The source location entry is a macro expansion.
2034 const SrcMgr::ExpansionInfo &Expansion = SLoc->getExpansion();
2035 AddSourceLocation(Expansion.getSpellingLoc(), Record);
2036 AddSourceLocation(Expansion.getExpansionLocStart(), Record);
2037 AddSourceLocation(Expansion.isMacroArgExpansion()
2039 : Expansion.getExpansionLocEnd(),
2041 Record.push_back(Expansion.isExpansionTokenRange());
2043 // Compute the token length for this macro expansion.
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
LegalizeFloatTypes.cpp 9 // This file implements float type expansion and softening for LegalizeTypes.
15 // Expansion is the act of changing a computation in an illegal type to be a
1026 "Unexpected setcc expansion!");
1150 // Float Result Expansion
1154 /// specified node is found to need expansion. At this point, the node may also
1156 /// know that (at least) one result needs expansion.
1740 // Float Operand Expansion
1744 /// specified node is found to need expansion. At this point, all of the result
1746 /// need promotion or expansion as well as the specified one.
1796 "Invalid operand expansion");
    [all...]
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndex.cpp 152 CharSourceRange Expansion = SM.getExpansionRange(EndLoc);
153 EndLoc = Expansion.getEnd();
154 IsTokenRange = Expansion.isTokenRange();
575 // expansion cursor for that token.
5527 return cxstring::createRef("macro expansion");
5731 // token is so use the actual cursor, don't replace it with a macro expansion
7333 // expansion occurs.
7712 // If begin location points inside a macro argument, set it to the expansion

Completed in 56 milliseconds