HomeSort by relevance Sort by last modified time
    Searched defs:Macro (Results 1 - 9 of 9) sorted by null

  /external/jsilver/src/com/google/clearsilver/jsilver/template/
Macro.java 22 * An executable macro. This exhibits all the same characteristics of a Template.
24 public interface Macro extends Template {
27 * Name of macro (e.g. showTable). Used to generate error messages.
32 * Get the name of the nth argument defined in the macro. Throws exception if the argument is not
38 * Return the number of arguments this macro expects. Must be equal to the number of arguments
  /external/clang/include/clang/Lex/
TokenLexer.h 25 /// TokenLexer - This implements a lexer that returns token from a macro body
27 /// macro expansion and _Pragma handling, for example.
30 /// Macro - The macro we are expanding from. This is null if expanding a
33 MacroInfo *Macro;
35 /// ActualArgs - The actual arguments specified for a function-like macro, or
43 /// Tokens - This is the pointer to an array of tokens that the macro is
46 /// the macro definition we are lexing from, a cache buffer that is owned by
62 /// ExpandLocStart/End - The source location range where this macro was
67 /// was reserved for the current macro expansion
    [all...]
  /external/clang/tools/libclang/
CIndexHigh.cpp 129 /// \brief For a macro \arg Loc, returns the file spelling location and sets
130 /// to \arg isMacroArg whether the spelling resides inside a macro definition or
131 /// a macro argument.
200 // FIXME: For a macro definition make sure that all expansions
248 const IdentifierInfo *Macro;
252 const IdentifierInfo *Macro,
254 : Unit(Unit), File(File), Macro(Macro), visitor(visitor) { }
266 const IdentifierInfo *Macro = 0;
268 Macro = getCursorMacroDefinition(cursor)->getName()
    [all...]
  /external/clang/lib/Lex/
PPExpressions.cpp 76 /// indicates the macro that was checked.
114 // If there is a macro, mark it used.
116 MacroInfo *Macro = PP.getMacroInfo(II);
117 PP.markMacroAsUsed(Macro);
170 // 'defined' or if it is a macro. Note that we check here because many
178 // preprocessor keywords and it wasn't macro expanded, it turns
722 // 'DisableMacroExpansion' is true, then we must be in a macro argument list
740 // Parse error, skip the rest of the macro line.
753 // If the expression we parsed was of the form !defined(macro), return the
754 // macro in IfNDefMacro
    [all...]
  /external/clang/lib/Parse/
Parser.cpp     [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
PathDiagnostic.h 273 enum Kind { ControlFlow, Event, Macro, Call };
585 : PathDiagnosticSpotPiece(pos, "", Macro) {}
600 return P->getKind() == Macro;
  /external/llvm/lib/MC/MCParser/
AsmParser.cpp 47 /// \brief Helper class for tracking macro definitions.
48 struct Macro {
54 Macro(StringRef N, StringRef B, const std::vector<StringRef> &P) :
58 /// \brief Helper class for storing information about an active macro
61 /// The macro being instantiated.
62 const Macro *TheMacro;
64 /// The macro instantiation with substitutions.
74 MacroInstantiation(const Macro *M, SMLoc IL, SMLoc EL,
109 StringMap<Macro*> MacroMap;
111 /// ActiveMacros - Stack of active macro instantiations
    [all...]
  /external/clang/lib/Serialization/
ASTReader.cpp 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 macr
    [all...]
ASTWriter.cpp     [all...]

Completed in 545 milliseconds