Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp53 static llvm::StringRef getMacroTypeName(MacroType Macro) { in getMacroTypeName() argument
54 switch (Macro) { in getMacroTypeName()
83 static std::string getMacroName(MacroType Macro, GtestCmp Cmp) { in getMacroName() argument
84 return (getMacroTypeName(Macro) + "_" + getComparisonTypeName(Cmp)).str(); in getMacroName()
87 static std::string getMacroName(MacroType Macro, llvm::StringRef Operation) { in getMacroName() argument
88 return (getMacroTypeName(Macro) + "_" + Operation).str(); in getMacroName()
95 static llvm::StringRef getSpecSetterName(MacroType Macro) { in getSpecSetterName() argument
96 switch (Macro) { in getSpecSetterName()
117 gtestComparisonInternal(MacroType Macro, GtestCmp Cmp, StatementMatcher Left, in gtestComparisonInternal() argument
119 return callExpr(isExpandedFromMacro(getMacroName(Macro, Cmp)), in gtestComparisonInternal()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DTokenLexer.cpp45 Macro = MI; in Init()
54 Tokens = &*Macro->tokens_begin(); in Init()
58 NumTokens = Macro->tokens_end()-Macro->tokens_begin(); in Init()
75 MacroDefLength = Macro->getDefinitionLength(SM); in Init()
84 if (Macro->isFunctionLike() && Macro->getNumParams()) in Init()
90 Macro->DisableMacro(); in Init()
103 Macro = nullptr; in Init()
139 SmallVectorImpl<Token> &ResultToks, bool HasPasteOperator, MacroInfo *Macro, in MaybeRemoveCommaBeforeVaArgs() argument
142 if (!Macro->isVariadic() || MacroArgNo != Macro->getNumParams()-1) in MaybeRemoveCommaBeforeVaArgs()
157 && Macro->getNumParams() < 2) in MaybeRemoveCommaBeforeVaArgs()
[all …]
H A DPPLexerChange.cpp145 MacroInfo *Macro, MacroArgs *Args) { in EnterMacro() argument
148 TokLexer = std::make_unique<TokenLexer>(Tok, ILEnd, Macro, Args, *this); in EnterMacro()
151 TokLexer->Init(Tok, ILEnd, Macro, Args); in EnterMacro()
728 for (auto &Macro : StartingMacros) { in EnterSubmodule() local
730 if (!Macro.second.getLatest() && in EnterSubmodule()
731 Macro.second.getOverriddenMacros().empty()) in EnterSubmodule()
734 MacroState MS(Macro.second.getLatest()); in EnterSubmodule()
735 MS.setOverriddenMacros(*this, Macro.second.getOverriddenMacros()); in EnterSubmodule()
736 State.Macros.insert(std::make_pair(Macro.first, std::move(MS))); in EnterSubmodule()
808 auto &Macro = MacroIt->second; in LeaveSubmodule() local
[all …]
H A DPPExpressions.cpp131 MacroDefinition Macro = PP.getMacroDefinition(II); in EvaluateDefined() local
132 Result.Val = !!Macro; in EvaluateDefined()
134 DT.IncludedUndefinedIds = !Macro; in EvaluateDefined()
142 PP.markMacroAsUsed(Macro.getMacroInfo()); in EvaluateDefined()
215 Callbacks->Defined(macroToken, Macro, in EvaluateDefined()
986 MacroInfo *Macro = PP.getMacroInfo(PP.getIdentifierInfo(MacroName)); in getCXXStandardLibraryVersion() local
987 if (!Macro || Macro->getNumTokens() != 1 || !Macro->isObjectLike()) in getCXXStandardLibraryVersion()
990 const Token &RevisionDateTok = Macro->getReplacementToken(0); in getCXXStandardLibraryVersion()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DX86InstrMappingEmitter.cpp66 void printTable(ArrayRef<Entry> Table, StringRef Name, StringRef Macro,
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 Macro, raw_ostream &OS) { in printTable() argument
95 printMacroBegin(Macro, OS); in printTable()
106 printMacroEnd(Macro, OS); in printTable()
252 StringRef Macro = "GET_X86_COMPRESS_EVEX_TABLE"; in emitCompressEVEXTable() local
253 printTable(Table, "X86CompressEVEXTable", Macro, OS); in emitCompressEVEXTable()
[all …]
/freebsd/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
/freebsd/sys/contrib/libsodium/m4/
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_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_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
/freebsd/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp50 llvm::raw_string_ostream Macro(Buffer); in VisitCXXMethodDecl() local
52 Macro << "LLDB_INSTRUMENT()"; in VisitCXXMethodDecl()
54 Macro << "LLDB_INSTRUMENT_VA(" << llvm::join(ParamNames, ", ") << ")"; in VisitCXXMethodDecl()
64 Macro << ";"; in VisitCXXMethodDecl()
/freebsd/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
/freebsd/contrib/libarchive/build/autoconf/
H A Dm4_ax_compile_check_sizeof.m4
/freebsd/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
/freebsd/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
/freebsd/contrib/unbound/
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
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DMacroExpander.cpp125 for (const std::string &Macro : Macros) in MacroExpander() local
126 parseDefinition(Macro); in MacroExpander()
131 void MacroExpander::parseDefinition(const std::string &Macro) { in parseDefinition() argument
133 llvm::MemoryBuffer::getMemBufferCopy(Macro, "<scratch space>")); in parseDefinition()
/freebsd/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
/freebsd/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,
H A DCodeCompletionHandler.h60 virtual void CodeCompleteMacroArgument(IdentifierInfo *Macro, in CodeCompleteMacroArgument() argument
/freebsd/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
/freebsd/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
/freebsd/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