HomeSort by relevance Sort by last modified time
    Searched refs:MacroInfo (Results 1 - 25 of 31) sorted by null

1 2

  /external/clang/include/clang/Lex/
CodeCompletionHandler.h 20 class MacroInfo;
60 MacroInfo *MacroInfo,
TokenLexer.h 20 class MacroInfo;
33 MacroInfo *Macro;
101 TokenLexer(Token &Tok, SourceLocation ILEnd, MacroInfo *MI,
111 void Init(Token &Tok, SourceLocation ILEnd, MacroInfo *MI,
MacroInfo.h 1 //===--- MacroInfo.h - Information about #defined identifiers ---*- C++ -*-===//
10 // This file defines the MacroInfo interface.
27 class MacroInfo {
91 ~MacroInfo() {
96 MacroInfo(SourceLocation DefLoc);
105 /// Destroy - destroy this MacroInfo object.
108 this->~MacroInfo();
133 bool isIdenticalTo(const MacroInfo &Other, Preprocessor &PP) const;
269 /// history. Usually a macro definition (MacroInfo) is where a macro name
277 /// will point to the same MacroInfo object
    [all...]
PreprocessingRecord.h 29 class MacroInfo;
328 /// \brief Mapping from MacroInfo structures to their definitions.
329 llvm::DenseMap<const MacroInfo *, MacroDefinition *> MacroDefinitions;
360 void RegisterMacroDefinition(MacroInfo *Macro, MacroDefinition *Def);
557 /// \c MacroInfo.
558 MacroDefinition *findMacroDefinition(const MacroInfo *MI);
581 void addMacroExpansion(const Token &Id, const MacroInfo *MI,
Preprocessor.h 22 #include "clang/Lex/MacroInfo.h"
321 /// something like MacroInfo*. The benefit of this is that when we are
335 /// push_macro directive, we keep a MacroInfo stack used to restore
337 llvm::DenseMap<IdentifierInfo*, std::vector<MacroInfo*> > PragmaPushMacroInfo;
393 MacroInfo MI;
402 /// MICache - A "freelist" of MacroInfo objects that can be reused for quick
535 /// \brief Given an identifier, return the MacroInfo it is \#defined to
546 const MacroInfo *getMacroInfo(IdentifierInfo *II) const {
550 MacroInfo *getMacroInfo(IdentifierInfo *II) {
556 /// \brief Given an identifier, return the (probably #undef'd) MacroInfo
    [all...]
  /external/clang/tools/libclang/
CIndexer.h 29 class MacroInfo;
104 /// its name, this retrieves its MacroInfo.
105 MacroInfo *getMacroInfo(const IdentifierInfo &II,
109 /// \brief Retrieves the corresponding MacroInfo of a MacroDefinition.
110 const MacroInfo *getMacroInfo(const MacroDefinition *MacroDef,
116 MacroDefinition *checkForMacroInMacroDefinition(const MacroInfo *MI,
123 MacroDefinition *checkForMacroInMacroDefinition(const MacroInfo *MI,
CXCursor.cpp 1046 const IdentifierInfo *MacroInfo = definition->getName();
1048 CodeCompletionResult Result(MacroInfo);
    [all...]
CIndex.cpp 543 const MacroInfo *MI =
    [all...]
  /external/clang/lib/Lex/
MacroArgs.h 22 class MacroInfo;
62 static MacroArgs *create(const MacroInfo *MI,
87 getPreExpArgument(unsigned Arg, const MacroInfo *MI, Preprocessor &PP);
MacroInfo.cpp 1 //===--- MacroInfo.cpp - Information about #defined identifiers -----------===//
10 // This file implements the MacroInfo interface.
14 #include "clang/Lex/MacroInfo.h"
18 MacroInfo::MacroInfo(SourceLocation DefLoc)
34 unsigned MacroInfo::getDefinitionLengthSlow(SourceManager &SM) const {
67 bool MacroInfo::isIdenticalTo(const MacroInfo &Other, Preprocessor &PP) const {
Android.mk 19 MacroInfo.cpp \
PreprocessingRecord.cpp 15 #include "clang/Lex/MacroInfo.h"
322 void PreprocessingRecord::RegisterMacroDefinition(MacroInfo *Macro,
360 MacroDefinition *PreprocessingRecord::findMacroDefinition(const MacroInfo *MI) {
361 llvm::DenseMap<const MacroInfo *, MacroDefinition *>::iterator Pos
370 const MacroInfo *MI,
412 const MacroInfo *MI = MD->getInfo();
MacroArgs.cpp 16 #include "clang/Lex/MacroInfo.h"
25 MacroArgs *MacroArgs::create(const MacroInfo *MI,
148 MacroArgs::getPreExpArgument(unsigned Arg, const MacroInfo *MI,
PPMacroExpansion.cpp 23 #include "clang/Lex/MacroInfo.h"
46 Preprocessor::setMacroDirective(IdentifierInfo *II, MacroInfo *MI,
48 assert(MI && "MacroInfo should be non-zero!");
174 MacroInfo *MI = PP.AllocateMacroInfo(SourceLocation());
228 static bool isTrivialSingleTokenExpansion(const MacroInfo *MI,
254 for (MacroInfo::arg_iterator I = MI->arg_begin(), E = MI->arg_end();
310 MacroInfo *MI = MD->getInfo();
394 for (MacroInfo *PrevMI = MI->getPreviousDefinition();
464 if (MacroInfo *NewMI = getMacroInfo(NewII))
494 MacroInfo *MI
    [all...]
PPDirectives.cpp 22 #include "clang/Lex/MacroInfo.h"
34 MacroInfo *Preprocessor::AllocateMacroInfo() {
54 MacroInfo *Preprocessor::AllocateMacroInfo(SourceLocation L) {
55 MacroInfo *MI = AllocateMacroInfo();
56 new (MI) MacroInfo(L);
60 MacroDirective *Preprocessor::AllocateMacroDirective(MacroInfo *MI,
68 /// \brief Release the specified MacroInfo to be reused for allocating
69 /// new MacroInfo objects.
70 void Preprocessor::ReleaseMacroInfo(MacroInfo *MI) {
    [all...]
Preprocessor.cpp 38 #include "clang/Lex/MacroInfo.h"
218 void Preprocessor::DumpMacro(const MacroInfo &MI) const {
296 static bool MacroDefinitionEquals(const MacroInfo *MI,
646 MacroInfo *MI = MD->getInfo();
TokenLexer.cpp 18 #include "clang/Lex/MacroInfo.h"
26 void TokenLexer::Init(Token &Tok, SourceLocation ELEnd, MacroInfo *MI,
127 MacroInfo *Macro, unsigned MacroArgNo,
Pragma.cpp 21 #include "clang/Lex/MacroInfo.h"
675 // Get the MacroInfo associated with IdentInfo.
676 MacroInfo *MI = getMacroInfo(IdentInfo);
679 // Allow the original MacroInfo to be redefined later.
683 // Push the cloned MacroInfo so we can retrieve it later.
700 // Find the vector<MacroInfo*> associated with the macro.
701 llvm::DenseMap<IdentifierInfo*, std::vector<MacroInfo*> >::iterator iter =
704 // Forget the MacroInfo currently associated with IdentInfo.
711 // Get the MacroInfo we want to reinstall.
712 MacroInfo *MacroToReInstall = iter->second.back()
    [all...]
PPLexerChange.cpp 20 #include "clang/Lex/MacroInfo.h"
160 MacroInfo *Macro, MacroArgs *Args) {
  /external/clang/lib/Frontend/
PrintPreprocessedOutput.cpp 20 #include "clang/Lex/MacroInfo.h"
35 static void PrintMacroDefinition(const IdentifierInfo &II, const MacroInfo &MI,
42 MacroInfo::arg_iterator AI = MI.arg_begin(), E = MI.arg_end();
67 for (MacroInfo::tokens_iterator I = MI.tokens_begin(), E = MI.tokens_end();
321 const MacroInfo *MI = MD->getInfo();
582 typedef std::pair<const IdentifierInfo *, MacroInfo *> id_macro_pair;
610 MacroInfo &MI = *MacrosByID[i].second;
  /external/jsilver/src/com/google/clearsilver/jsilver/compiler/
TemplateTranslator.java 126 private static class MacroInfo {
141 private final Map<String, MacroInfo> macroMap = new HashMap<String, MacroInfo>();
148 private final Queue<MacroInfo> macroQueue = new LinkedList<MacroInfo>();
151 * Creates a MacroInfo object and adds it to the data structures. Also outputs statement to
162 MacroInfo info = new MacroInfo();
213 MacroInfo curr = macroQueue.remove();
731 MacroInfo macroInfo = macroMap.get(name)
    [all...]
  /external/clang/lib/Parse/
Parser.cpp     [all...]
  /external/clang/include/clang/Parse/
Parser.h     [all...]
  /external/clang/lib/Sema/
Sema.cpp 52 if (const MacroInfo *
    [all...]
  /external/clang/lib/Serialization/
ASTWriter.cpp 36 #include "clang/Lex/MacroInfo.h"
    [all...]

Completed in 401 milliseconds

1 2