Home
last modified time | relevance | path

Searched refs:Macro (Results 1 – 25 of 139) sorted by relevance

123456

/src/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp58 static llvm::StringRef getMacroTypeName(MacroType Macro) { in getMacroTypeName() argument
59 switch (Macro) { in getMacroTypeName()
88 static std::string getMacroName(MacroType Macro, GtestCmp Cmp) { in getMacroName() argument
89 return (getMacroTypeName(Macro) + "_" + getComparisonTypeName(Cmp)).str(); in getMacroName()
92 static std::string getMacroName(MacroType Macro, llvm::StringRef Operation) { in getMacroName() argument
93 return (getMacroTypeName(Macro) + "_" + Operation).str(); in getMacroName()
100 static llvm::StringRef getSpecSetterName(MacroType Macro) { in getSpecSetterName() argument
101 switch (Macro) { in getSpecSetterName()
122 gtestComparisonInternal(MacroType Macro, GtestCmp Cmp, StatementMatcher Left, in gtestComparisonInternal() argument
124 return callExpr(isExpandedFromMacro(getMacroName(Macro, Cmp)), in gtestComparisonInternal()
[all …]
/src/contrib/llvm-project/clang/lib/Lex/
H A DTokenLexer.cpp46 Macro = MI; in Init()
55 Tokens = &*Macro->tokens_begin(); in Init()
59 NumTokens = Macro->tokens_end()-Macro->tokens_begin(); in Init()
76 MacroDefLength = Macro->getDefinitionLength(SM); in Init()
85 if (Macro->isFunctionLike() && Macro->getNumParams()) in Init()
91 Macro->DisableMacro(); in Init()
104 Macro = nullptr; in Init()
140 SmallVectorImpl<Token> &ResultToks, bool HasPasteOperator, MacroInfo *Macro, in MaybeRemoveCommaBeforeVaArgs() argument
143 if (!Macro->isVariadic() || MacroArgNo != Macro->getNumParams()-1) in MaybeRemoveCommaBeforeVaArgs()
158 && Macro->getNumParams() < 2) in MaybeRemoveCommaBeforeVaArgs()
[all …]
H A DPPLexerChange.cpp152 MacroInfo *Macro, MacroArgs *Args) { in EnterMacro() argument
155 TokLexer = std::make_unique<TokenLexer>(Tok, ILEnd, Macro, Args, *this); in EnterMacro()
158 TokLexer->Init(Tok, ILEnd, Macro, Args); in EnterMacro()
735 for (auto &Macro : StartingMacros) { in EnterSubmodule() local
737 if (!Macro.second.getLatest() && in EnterSubmodule()
738 Macro.second.getOverriddenMacros().empty()) in EnterSubmodule()
741 MacroState MS(Macro.second.getLatest()); in EnterSubmodule()
742 MS.setOverriddenMacros(*this, Macro.second.getOverriddenMacros()); in EnterSubmodule()
743 State.Macros.insert(std::make_pair(Macro.first, std::move(MS))); in EnterSubmodule()
814 auto &Macro = MacroIt->second; in LeaveSubmodule() local
[all …]
/src/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp49 llvm::raw_string_ostream Macro(Buffer); in VisitCXXMethodDecl() local
51 Macro << "LLDB_INSTRUMENT()"; in VisitCXXMethodDecl()
53 Macro << "LLDB_INSTRUMENT_VA(" << llvm::join(ParamNames, ", ") << ")"; in VisitCXXMethodDecl()
61 MyRewriter.ReplaceText(Range, Macro.str()); in VisitCXXMethodDecl()
63 Macro << ";"; in VisitCXXMethodDecl()
67 MyRewriter.InsertTextAfter(InsertLoc, Macro.str()); in VisitCXXMethodDecl()
/src/contrib/llvm-project/llvm/utils/TableGen/
H A DX86InstrMappingEmitter.cpp67 StringRef Macro, raw_ostream &OS);
85 static void printMacroBegin(StringRef Macro, raw_ostream &OS) { in printMacroBegin() argument
86 OS << "\n#ifdef " << Macro << "\n"; in printMacroBegin()
89 static void printMacroEnd(StringRef Macro, raw_ostream &OS) { in printMacroEnd() argument
90 OS << "#endif // " << Macro << "\n\n"; in printMacroEnd()
94 StringRef Name, StringRef Macro, in printTable() argument
96 printMacroBegin(Macro, OS); in printTable()
107 printMacroEnd(Macro, OS); in printTable()
251 StringRef Macro = "GET_X86_COMPRESS_EVEX_TABLE"; in emitCompressEVEXTable() local
252 printTable(Table, "X86CompressEVEXTable", Macro, OS); in emitCompressEVEXTable()
[all …]
/src/crypto/krb5/src/config/ac-archive/
H A Dax_recursive_eval.m432 # As a special exception, the respective Autoconf Macro's copyright owner
34 # scripts that are the output of Autoconf when processing the Macro. You
37 # Macro appear in them. The GNU General Public License (GPL) does govern
38 # all other use of the material that constitutes the Autoconf Macro.
41 # Macro released by the Autoconf Archive. When you make and distribute a
42 # modified version of the Autoconf Macro, you may extend this special
/src/sys/contrib/libsodium/m4/
H A Dax_tls.m434 # As a special exception, the respective Autoconf Macro's copyright owner
36 # scripts that are the output of Autoconf when processing the Macro. You
39 # Macro appear in them. The GNU General Public License (GPL) does govern
40 # all other use of the material that constitutes the Autoconf Macro.
43 # Macro released by the Autoconf Archive. When you make and distribute a
44 # modified version of the Autoconf Macro, you may extend this special
H A Dax_check_define.m434 # As a special exception, the respective Autoconf Macro's copyright owner
36 # scripts that are the output of Autoconf when processing the Macro. You
39 # Macro appear in them. The GNU General Public License (GPL) does govern
40 # all other use of the material that constitutes the Autoconf Macro.
43 # Macro released by the Autoconf Archive. When you make and distribute a
44 # modified version of the Autoconf Macro, you may extend this special
H A Dax_check_link_flag.m445 # As a special exception, the respective Autoconf Macro's copyright owner
47 # scripts that are the output of Autoconf when processing the Macro. You
50 # Macro appear in them. The GNU General Public License (GPL) does govern
51 # all other use of the material that constitutes the Autoconf Macro.
54 # Macro released by the Autoconf Archive. When you make and distribute a
55 # modified version of the Autoconf Macro, you may extend this special
H A Dax_check_compile_flag.m445 # As a special exception, the respective Autoconf Macro's copyright owner
47 # scripts that are the output of Autoconf when processing the Macro. You
50 # Macro appear in them. The GNU General Public License (GPL) does govern
51 # all other use of the material that constitutes the Autoconf Macro.
54 # Macro released by the Autoconf Archive. When you make and distribute a
55 # modified version of the Autoconf Macro, you may extend this special
/src/contrib/unbound/
H A Dax_build_date_epoch.m441 # As a special exception, the respective Autoconf Macro's copyright owner
43 # scripts that are the output of Autoconf when processing the Macro. You
46 # Macro appear in them. The GNU General Public License (GPL) does govern
47 # all other use of the material that constitutes the Autoconf Macro.
50 # Macro released by the Autoconf Archive. When you make and distribute a
51 # modified version of the Autoconf Macro, you may extend this special
H A Dax_pkg_swig.m455 # As a special exception, the respective Autoconf Macro's copyright owner
57 # scripts that are the output of Autoconf when processing the Macro. You
60 # Macro appear in them. The GNU General Public License (GPL) does govern
61 # all other use of the material that constitutes the Autoconf Macro.
64 # Macro released by the Autoconf Archive. When you make and distribute a
65 # modified version of the Autoconf Macro, you may extend this special
/src/contrib/openpam/m4/
H A Dax_compiler_vendor.m448 # As a special exception, the respective Autoconf Macro's copyright owner
50 # scripts that are the output of Autoconf when processing the Macro. You
53 # Macro appear in them. The GNU General Public License (GPL) does govern
54 # all other use of the material that constitutes the Autoconf Macro.
57 # Macro released by the Autoconf Archive. When you make and distribute a
58 # modified version of the Autoconf Macro, you may extend this special
/src/contrib/ldns/m4/
H A Dax_config_feature.m478 # As a special exception, the respective Autoconf Macro's copyright owner
80 # scripts that are the output of Autoconf when processing the Macro. You
83 # Macro appear in them. The GNU General Public License (GPL) does govern
84 # all other use of the material that constitutes the Autoconf Macro.
87 # Macro released by the Autoconf Archive. When you make and distribute a
88 # modified version of the Autoconf Macro, you may extend this special
/src/contrib/ldns/
H A Dax_pkg_swig.m453 # As a special exception, the respective Autoconf Macro's copyright owner
55 # scripts that are the output of Autoconf when processing the Macro. You
58 # Macro appear in them. The GNU General Public License (GPL) does govern
59 # all other use of the material that constitutes the Autoconf Macro.
62 # Macro released by the Autoconf Archive. When you make and distribute a
63 # modified version of the Autoconf Macro, you may extend this special
H A Dax_python_devel.m457 # As a special exception, the respective Autoconf Macro's copyright owner
59 # scripts that are the output of Autoconf when processing the Macro. You
62 # Macro appear in them. The GNU General Public License (GPL) does govern
63 # all other use of the material that constitutes the Autoconf Macro.
66 # Macro released by the Autoconf Archive. When you make and distribute a
67 # modified version of the Autoconf Macro, you may extend this special
/src/contrib/llvm-project/clang/lib/Format/
H A DMacroExpander.cpp128 for (const std::string &Macro : Macros) in MacroExpander() local
129 parseDefinition(Macro); in MacroExpander()
134 void MacroExpander::parseDefinition(const std::string &Macro) { in parseDefinition() argument
136 llvm::MemoryBuffer::getMemBufferCopy(Macro, "<scratch space>")); in parseDefinition()
/src/contrib/file/magic/Magdir/
H A Dasterix12 >7 string MACR Macro
17 >29 byte 0x38 Macro
H A Ddwarfs8 #### DwarFS Version Macro
13 #### DwarFS Compression Macro
/src/contrib/llvm-project/clang/include/clang/Lex/
H A DMacroInfo.h521 MacroInfo *Macro; variable
532 ModuleMacro(Module *OwningModule, const IdentifierInfo *II, MacroInfo *Macro, in ModuleMacro() argument
534 : II(II), Macro(Macro), OwningModule(OwningModule), in ModuleMacro()
542 const IdentifierInfo *II, MacroInfo *Macro,
563 MacroInfo *getMacroInfo() const { return Macro; } in getMacroInfo()
H A DTokenLexer.h34 MacroInfo *Macro = nullptr; variable
237 MacroInfo *Macro, unsigned MacroArgNo,
/src/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDIEAttributeCloner.cpp314 const DWARFDebugMacro *Macro = in cloneScalarAttr() local
316 if (Macro == nullptr || !Macro->hasEntryForOffset(*Offset)) in cloneScalarAttr()
328 const DWARFDebugMacro *Macro = in cloneScalarAttr() local
330 if (Macro == nullptr || !Macro->hasEntryForOffset(*Offset)) in cloneScalarAttr()
/src/contrib/libevent/m4/
H A Dacx_pthread.m471 # As a special exception, the respective Autoconf Macro's copyright
74 # the Macro. You need not follow the terms of the GNU General Public
76 # portions of the text of the Macro appear in them. The GNU General
78 # constitutes the Autoconf Macro.
81 # Autoconf Macro released by the Autoconf Macro Archive. When you
82 # make and distribute a modified version of the Autoconf Macro, you
/src/contrib/ntp/sntp/libevent/m4/
H A Dacx_pthread.m471 # As a special exception, the respective Autoconf Macro's copyright
74 # the Macro. You need not follow the terms of the GNU General Public
76 # portions of the text of the Macro appear in them. The GNU General
78 # constitutes the Autoconf Macro.
81 # Autoconf Macro released by the Autoconf Macro Archive. When you
82 # make and distribute a modified version of the Autoconf Macro, you
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp115 std::optional<int> tryExpandAsInteger(StringRef Macro, const Preprocessor &PP) { in tryExpandAsInteger() argument
116 const auto *MacroII = PP.getIdentifierInfo(Macro); in tryExpandAsInteger()

123456