Home
last modified time | relevance | path

Searched refs:MacroDef (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/libc/config/
Dpublic_api.td8 class MacroDef<string name> {
13 class SimpleMacroDef<string name, string value> : MacroDef<name> {
17 class MacroDefineIfNot<string name, string value> : MacroDef<name> {
25 list<MacroDef> Macros = [];
/external/llvm-project/libc/config/linux/
Dapi.td58 def AssertMacro : MacroDef<"assert"> {
78 def StaticAssertMacro : MacroDef<"static_assert"> {
87 def NullMacro : MacroDef<"NULL"> {
94 def ErrnoMacro : MacroDef<"errno"> {
114 def MathErrHandlingMacro : MacroDef<"math_errhandling"> {
128 def IsFiniteMacro : MacroDef<"isfinite"> {
134 def IsInfMacro : MacroDef<"isinf"> {
140 def IsNanMacro : MacroDef<"isnan"> {
/external/llvm-project/libc/utils/LibcTableGenUtil/
DAPIIndexer.cpp120 for (llvm::Record *MacroDef : MacroDefList) in indexPublicAPIDef()
121 MacroDefsMap[std::string(MacroDef->getValueAsString("Name"))] = MacroDef; in indexPublicAPIDef()
/external/llvm-project/libc/utils/HdrGen/
DPublicAPICommand.cpp51 llvm::Record *MacroDef = Pair.second; in writeAPIFromIndex() local
52 dedentAndWrite(MacroDef->getValueAsString("Defn"), OS); in writeAPIFromIndex()
/external/clang/tools/libclang/
DCIndexer.h109 const MacroInfo *getMacroInfo(const MacroDefinitionRecord *MacroDef,
DCIndex.cpp571 if (MacroDefinitionRecord *MacroDef = in VisitChildren() local
573 return Visit(cxcursor::MakeMacroExpansionCursor(MacroDef, BeginLoc, TU)); in VisitChildren()
6682 MacroDefinitionRecord *MacroDef = in annotatePreprocessorTokens() local
6685 if (MacroDef) in annotatePreprocessorTokens()
6687 MakeMacroExpansionCursor(MacroDef, Tok.getLocation(), TU); in annotatePreprocessorTokens()
7855 const MacroInfo *cxindex::getMacroInfo(const MacroDefinitionRecord *MacroDef, in getMacroInfo() argument
7857 if (!MacroDef || !TU) in getMacroInfo()
7859 const IdentifierInfo *II = MacroDef->getName(); in getMacroInfo()
7863 return getMacroInfo(*II, MacroDef->getLocation(), TU); in getMacroInfo()
/external/deqp-deps/SPIRV-Tools/test/
Dext_inst.debuginfo_test.cpp758 CASE_ILI(MacroDef, 1),
759 CASE_ILI(MacroDef, 42),
760 CASE_ILII(MacroDef, 1),
761 CASE_ILII(MacroDef, 42),
Dext_inst.cldebug100_test.cpp987 CASE_ILI(MacroDef, 1),
988 CASE_ILI(MacroDef, 42),
989 CASE_ILII(MacroDef, 1),
990 CASE_ILII(MacroDef, 42),
/external/swiftshader/third_party/SPIRV-Tools/test/
Dext_inst.debuginfo_test.cpp758 CASE_ILI(MacroDef, 1),
759 CASE_ILI(MacroDef, 42),
760 CASE_ILII(MacroDef, 1),
761 CASE_ILII(MacroDef, 42),
Dext_inst.cldebug100_test.cpp987 CASE_ILI(MacroDef, 1),
988 CASE_ILI(MacroDef, 42),
989 CASE_ILII(MacroDef, 1),
990 CASE_ILII(MacroDef, 42),
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/
Dext_inst.debuginfo_test.cpp758 CASE_ILI(MacroDef, 1),
759 CASE_ILI(MacroDef, 42),
760 CASE_ILII(MacroDef, 1),
761 CASE_ILII(MacroDef, 42),
Dext_inst.cldebug100_test.cpp987 CASE_ILI(MacroDef, 1),
988 CASE_ILI(MacroDef, 42),
989 CASE_ILII(MacroDef, 1),
990 CASE_ILII(MacroDef, 42),
/external/llvm-project/clang/tools/libclang/
DCIndexer.h134 const MacroInfo *getMacroInfo(const MacroDefinitionRecord *MacroDef,
DCIndex.cpp582 if (MacroDefinitionRecord *MacroDef = in VisitChildren() local
584 return Visit(cxcursor::MakeMacroExpansionCursor(MacroDef, BeginLoc, TU)); in VisitChildren()
7615 MacroDefinitionRecord *MacroDef = in annotatePreprocessorTokens() local
7618 if (MacroDef) in annotatePreprocessorTokens()
7620 MakeMacroExpansionCursor(MacroDef, Tok.getLocation(), TU); in annotatePreprocessorTokens()
8970 const MacroInfo *cxindex::getMacroInfo(const MacroDefinitionRecord *MacroDef, in getMacroInfo() argument
8972 if (!MacroDef || !TU) in getMacroInfo()
8974 const IdentifierInfo *II = MacroDef->getName(); in getMacroInfo()
8978 return getMacroInfo(*II, MacroDef->getLocation(), TU); in getMacroInfo()
/external/rust/crates/syn/tests/common/
Deq.rs15 MacDelimiter, MacStmtStyle, MacroDef, ModKind, Movability, MutTy, Mutability, NodeId, Param,
316 spanless_eq_struct!(MacroDef; body macro_rules);
406 Union(0 1) Trait(0) TraitAlias(0 1) Impl(0) MacCall(0) MacroDef(0));
/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.cpp983 MacroDefinition MacroDef = PP.getMacroDefinitionAtLoc(IdentifierInfo, Loc); in locateMacroAt() local
984 if (auto *MI = MacroDef.getMacroInfo()) in locateMacroAt()
/external/clang/lib/Frontend/
DCompilerInstance.cpp947 StringRef MacroDef = def.first; in compileModuleImpl() local
948 return HSOpts.ModulesIgnoreMacros.count(MacroDef.split('=').first) > 0; in compileModuleImpl()
DCompilerInvocation.cpp1380 StringRef MacroDef = A->getValue(); in ParseHeaderSearchArgs() local
1381 Opts.ModulesIgnoreMacros.insert(MacroDef.split('=').first); in ParseHeaderSearchArgs()
2443 StringRef MacroDef = I->first; in getModuleHash() local
2444 if (hsOpts.ModulesIgnoreMacros.count(MacroDef.split('=').first)) in getModuleHash()
/external/llvm-project/clang/lib/Frontend/
DCompilerInstance.cpp1091 StringRef MacroDef = def.first; in __anonfadc01f00302() local
1093 llvm::CachedHashString(MacroDef.split('=').first)) > 0; in __anonfadc01f00302()
DCompilerInvocation.cpp2243 StringRef MacroDef = A->getValue(); in ParseHeaderSearchArgs() local
2245 llvm::CachedHashString(MacroDef.split('=').first)); in ParseHeaderSearchArgs()
3983 StringRef MacroDef = I.first; in getModuleHash() local
3985 llvm::CachedHashString(MacroDef.split('=').first))) in getModuleHash()