Searched refs:MacroDef (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/libc/config/ |
| H A D | public_api.td | 3 class MacroDef<string name> { 8 class SimpleMacroDef<string name, string value> : MacroDef<name> { 12 class MacroDefineIfNot<string name, string value> : MacroDef<name> { 20 list<MacroDef> Macros = [];
|
| /llvm-project-15.0.7/libc/config/linux/ |
| H A D | api.td | 10 def AssertMacro : MacroDef<"assert"> { 30 def StaticAssertMacro : MacroDef<"static_assert"> { 39 def NullMacro : MacroDef<"NULL"> { 46 def ErrnoMacro : MacroDef<"errno"> { 71 def MathErrHandlingMacro : MacroDef<"math_errhandling"> { 85 def IsFiniteMacro : MacroDef<"isfinite"> { 91 def IsInfMacro : MacroDef<"isinf"> { 97 def IsNanMacro : MacroDef<"isnan"> {
|
| /llvm-project-15.0.7/libc/utils/LibcTableGenUtil/ |
| H A D | APIIndexer.cpp | 127 for (llvm::Record *MacroDef : MacroDefList) in indexPublicAPIDef() 128 MacroDefsMap[std::string(MacroDef->getValueAsString("Name"))] = MacroDef; in indexPublicAPIDef()
|
| /llvm-project-15.0.7/libc/utils/HdrGen/ |
| H A D | PublicAPICommand.cpp | 58 llvm::Record *MacroDef = Pair.second; in writeAPIFromIndex() local 59 dedentAndWrite(MacroDef->getValueAsString("Defn"), OS); in writeAPIFromIndex()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndexer.h | 134 const MacroInfo *getMacroInfo(const MacroDefinitionRecord *MacroDef,
|
| H A D | CIndex.cpp | 583 if (MacroDefinitionRecord *MacroDef = in VisitChildren() local 585 return Visit(cxcursor::MakeMacroExpansionCursor(MacroDef, BeginLoc, TU)); in VisitChildren() 7896 MacroDefinitionRecord *MacroDef = in annotatePreprocessorTokens() local 7899 if (MacroDef) in annotatePreprocessorTokens() 7901 MakeMacroExpansionCursor(MacroDef, Tok.getLocation(), TU); in annotatePreprocessorTokens() 9281 const MacroInfo *cxindex::getMacroInfo(const MacroDefinitionRecord *MacroDef, in getMacroInfo() argument 9283 if (!MacroDef || !TU) in getMacroInfo() 9285 const IdentifierInfo *II = MacroDef->getName(); in getMacroInfo() 9289 return getMacroInfo(*II, MacroDef->getLocation(), TU); in getMacroInfo()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | CompilerInstance.cpp | 1161 StringRef MacroDef = def.first; in __anon95e63fe90602() local 1163 llvm::CachedHashString(MacroDef.split('=').first)); in __anon95e63fe90602()
|
| H A D | CompilerInvocation.cpp | 3124 StringRef MacroDef = A->getValue(); in ParseHeaderSearchArgs() local 3126 llvm::CachedHashString(MacroDef.split('=').first)); in ParseHeaderSearchArgs() 4593 StringRef MacroDef = Macro.first; in getModuleHash() local 4595 llvm::CachedHashString(MacroDef.split('=').first))) in getModuleHash()
|