Searched refs:Macros (Results 1 - 25 of 27) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessorOptions.h47 std::vector<std::pair<std::string, bool/*isUndef*/>> Macros; member in class:clang::PreprocessorOptions
198 void addMacroDef(StringRef Name) { Macros.emplace_back(Name, false); }
199 void addMacroUndef(StringRef Name) { Macros.emplace_back(Name, true); }
H A DPreprocessor.h733 MacroMap Macros; member in struct:clang::Preprocessor::SubmoduleState
761 /// Macros that we want to warn because they are not used at the end
1037 auto J = I->second.Macros.find(II);
1038 if (J == I->second.Macros.end())
1048 MacroState &S = CurSubmoduleState->Macros[II];
1062 MacroState &S = CurSubmoduleState->Macros[II];
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugMacro.cpp20 for (const auto &Macros : MacroLists) {
21 for (const Entry &E : Macros) {
/freebsd-12-stable/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.h109 llvm::SmallMapVector<IdentifierInfo *, TokenType, 8> Macros; member in class:clang::format::FormatTokenLexer
H A DFormatTokenLexer.cpp39 Macros.insert({&IdentTable.get(ForEachMacro), TT_ForEachMacro});
41 Macros.insert({&IdentTable.get(StatementMacro), TT_StatementMacro});
43 Macros.insert({&IdentTable.get(TypenameMacro), TT_TypenameMacro});
45 Macros.insert({&IdentTable.get(NamespaceMacro), TT_NamespaceMacro});
823 auto it = Macros.find(FormatTok->Tok.getIdentifierInfo());
827 it != Macros.end()) {
/freebsd-12-stable/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp676 auto &StartingMacros = NullSubmoduleState.Macros;
688 State.Macros.insert(std::make_pair(Macro.first, std::move(MS)));
756 auto MacroIt = CurSubmoduleState->Macros.find(II);
757 if (MacroIt == CurSubmoduleState->Macros.end())
769 auto &OldMacros = OldState->Macros;
H A DPreprocessor.cpp298 llvm::errs() << "\n Macros: "
299 << llvm::capacity_in_bytes(CurSubmoduleState->Macros);
318 CurSubmoduleState->Macros.insert(std::make_pair(Macro.II, MacroState()));
320 return CurSubmoduleState->Macros.begin();
329 + llvm::capacity_in_bytes(CurSubmoduleState->Macros)
343 return CurSubmoduleState->Macros.end();
H A DPPMacroExpansion.cpp65 auto Pos = CurSubmoduleState->Macros.find(II);
66 return Pos == CurSubmoduleState->Macros.end() ? nullptr
74 MacroState &StoredMD = CurSubmoduleState->Macros[II];
108 MacroState &StoredMD = CurSubmoduleState->Macros[II];
265 auto Pos = CurSubmoduleState->Macros.find(II);
266 if (Pos != CurSubmoduleState->Macros.end())
/freebsd-12-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DTGLexer.cpp46 TGLexer::TGLexer(SourceMgr &SM, ArrayRef<std::string> Macros) : SrcMgr(SM) { argument
57 std::for_each(Macros.begin(), Macros.end(),
H A DTGLexer.h98 TGLexer(SourceMgr &SrcMgr, ArrayRef<std::string> Macros);
H A DTGParser.h165 TGParser(SourceMgr &SM, ArrayRef<std::string> Macros, argument
167 : Lex(SM, Macros), CurMultiClass(nullptr), Records(records) {}
/freebsd-12-stable/contrib/apr/
H A Dlibapr.mak35 # Begin Custom Macros
37 # End Custom Macros
266 # Begin Custom Macros
268 # End Custom Macros
279 # Begin Custom Macros
281 # End Custom Macros
510 # Begin Custom Macros
512 # End Custom Macros
523 # Begin Custom Macros
525 # End Custom Macros
[all...]
H A Dapr.mak37 # Begin Custom Macros
39 # End Custom Macros
223 # Begin Custom Macros
225 # End Custom Macros
409 # Begin Custom Macros
411 # End Custom Macros
595 # Begin Custom Macros
597 # End Custom Macros
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/
H A DChainedIncludesSource.cpp135 CInvok->getPreprocessorOpts().Macros.clear();
H A DInitPreprocessor.cpp419 // OpenCL v1.0/1.1 s6.9, v1.2/2.0 s6.10: Preprocessor Directives and Macros.
1010 // Macros to control C99 numerics and <float.h>
1183 for (unsigned i = 0, e = InitOpts.Macros.size(); i != e; ++i) {
1184 if (InitOpts.Macros[i].second) // isUndef
1185 Builder.undefineMacro(InitOpts.Macros[i].first);
1187 DefineBuiltinMacro(Builder, InitOpts.Macros[i].first,
H A DFrontendActions.cpp617 if (!PPOpts.Macros.empty()) {
622 I = PPOpts.Macros.begin(), IEnd = PPOpts.Macros.end();
H A DCompilerInstance.cpp1062 PPOpts.Macros.erase(
1063 std::remove_if(PPOpts.Macros.begin(), PPOpts.Macros.end(),
1069 PPOpts.Macros.end());
H A DCompilerInvocation.cpp3674 for (const auto &I : getPreprocessorOpts().Macros) {
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h1173 DIImportedEntityArray ImportedEntities, DIMacroNodeArray Macros,
1182 GlobalVariables.get(), ImportedEntities.get(), Macros.get(),
1192 Metadata *Macros, uint64_t DWOId, bool SplitDebugInlining,
1217 DIImportedEntityArray ImportedEntities, DIMacroNodeArray Macros,
1222 GlobalVariables, ImportedEntities, Macros, DWOId, SplitDebugInlining,
1230 Metadata *ImportedEntities, Metadata *Macros, uint64_t DWOId,
1235 GlobalVariables, ImportedEntities, Macros, DWOId, SplitDebugInlining,
1167 getImpl(LLVMContext &Context, unsigned SourceLanguage, DIFile *File, StringRef Producer, bool IsOptimized, StringRef Flags, unsigned RuntimeVersion, StringRef SplitDebugFilename, unsigned EmissionKind, DICompositeTypeArray EnumTypes, DIScopeArray RetainedTypes, DIGlobalVariableExpressionArray GlobalVariables, DIImportedEntityArray ImportedEntities, DIMacroNodeArray Macros, uint64_t DWOId, bool SplitDebugInlining, bool DebugInfoForProfiling, unsigned NameTableKind, bool RangesBaseAddress, StorageType Storage, bool ShouldCreate = true) argument
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp521 Metadata *GlobalVariables, Metadata *ImportedEntities, Metadata *Macros,
533 Macros};
516 getImpl( LLVMContext &Context, unsigned SourceLanguage, Metadata *File, MDString *Producer, bool IsOptimized, MDString *Flags, unsigned RuntimeVersion, MDString *SplitDebugFilename, unsigned EmissionKind, Metadata *EnumTypes, Metadata *RetainedTypes, Metadata *GlobalVariables, Metadata *ImportedEntities, Metadata *Macros, uint64_t DWOId, bool SplitDebugInlining, bool DebugInfoForProfiling, unsigned NameTableKind, bool RangesBaseAddress, StorageType Storage, bool ShouldCreate) argument
/freebsd-12-stable/contrib/ntp/lib/isc/win32/
H A Dlibisc.mak302 # Begin Custom Macros
304 # End Custom Macros
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2795 DIMacroNodeArray Macros = CUNode->getMacros();
2796 if (Macros.empty())
2800 handleMacroNodes(Macros, U);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp585 MacroDefinitionsMap &Macros,
587 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) {
588 StringRef Macro = PPOpts.Macros[I].first;
589 bool IsUndef = PPOpts.Macros[I].second;
597 if (MacroNames && !Macros.count(MacroName))
600 Macros[MacroName] = std::make_pair("", true);
613 if (MacroNames && !Macros.count(MacroName))
615 Macros[MacroName] = std::make_pair(MacroBody, false);
1942 Deserializing Macros(this);
5826 PPOpts.Macros
584 collectMacroDefinitions(const PreprocessorOptions &PPOpts, MacroDefinitionsMap &Macros, SmallVectorImpl<StringRef> *MacroNames = nullptr) argument
[all...]
H A DASTWriter.cpp1294 Record.push_back(PPOpts.Macros.size());
1295 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) {
1296 AddString(PPOpts.Macros[I].first, Record);
1297 Record.push_back(PPOpts.Macros[I].second);
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2420 for (auto &M : PPOpts.Macros) {

Completed in 190 milliseconds

12