Home
last modified time | relevance | path

Searched refs:Enums (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DMacroToEnumCheck.cpp189 if (Enums.empty() || !Enums.back().empty()) in newEnum()
190 Enums.emplace_back(); in newEnum()
223 SmallVector<MacroList> Enums; member in clang::tidy::modernize::MacroToEnumCallbacks
249 if (!Enums.empty() && !Enums.back().empty() && in clearCurrentEnum()
251 Enums.pop_back(); in clearCurrentEnum()
283 llvm::erase_if(Enums, [&Id](const MacroList &MacroList) { in checkName()
365 Enums.back().emplace_back(MacroNameTok, MD); in MacroDefined()
383 if (It != Enums.end()) in MacroUndefined()
384 Enums.erase(It); in MacroUndefined()
441 llvm::erase_if(Enums, [Id](const MacroList &MacroList) { in invalidateExpressionNames()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/
H A DFindAllSymbols.cpp186 auto Enums = enumDecl(CommonFilter, isDefinition(), in registerMatchers() local
197 auto Types = namedDecl(anyOf(CRecords, CXXRecords, Enums)); in registerMatchers()
198 auto Decls = namedDecl(anyOf(CRecords, CXXRecords, Enums, Typedefs, Vars, in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-doc/
H A DHTMLGeneratorTest.cpp91 <h2 id="Enums">Enums</h2> in TEST()
122 <a href="#Enums">Enums</a> in TEST()
214 <h2 id="Enums">Enums</h2> in TEST()
245 <a href="#Enums">Enums</a> in TEST()
/llvm-project-15.0.7/llvm/bindings/python/llvm/tests/
H A Dtest_core.py8 from ..core import Enums
14 for enum_cls, enum_spec in Enums:
/llvm-project-15.0.7/llvm/test/tools/llvm-pdbutil/
H A Denum-layout.test8 ; GLOBAL_ENUM: Enums:
H A Dregex-filter.test28 ; NO_FILTER: Enums:
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/MSP430/
H A Dbuild-attributes.test167 ## MSP430X Small Code Model, Small Data Model, Small Enums
184 ## MSP430X Small Code Model, Small Data Model, Integer Enums
202 ## MSP430X Small Code Model, Small Data Model, "Don't Care" Enums
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DPrettyTypeDumper.cpp196 if (opts::pretty::Enums) in start()
278 assert(opts::pretty::Enums); in dump()
H A Dllvm-pdbutil.cpp180 static cl::opt<bool> Enums("enums", cl::desc("Dump enum types"), variable
244 cl::opt<bool> Enums("enums", cl::desc("Display enum types"), variable
1048 if (opts::diadump::Enums) in dumpDia()
1228 if (opts::pretty::Classes || opts::pretty::Enums || opts::pretty::Typedefs || in dumpPretty()
1600 opts::pretty::Enums = true; in main()
H A Dllvm-pdbutil.h86 extern llvm::cl::opt<bool> Enums;
/llvm-project-15.0.7/llvm/unittests/Support/
H A DBinaryStreamTest.cpp591 std::vector<MyEnum> Enums = {MyEnum::Bar, MyEnum::Baz, MyEnum::Foo}; in TEST_F() local
593 initializeOutput(Enums.size() * sizeof(MyEnum), alignof(MyEnum)); in TEST_F()
597 for (auto Value : Enums) in TEST_F()
604 for (size_t I = 0; I < Enums.size(); ++I) { in TEST_F()
607 EXPECT_EQ(Enums[I], Value); in TEST_F()
/llvm-project-15.0.7/llvm/bindings/python/llvm/
H A Dcore.py38 Enums = [] variable
604 if Enums:
639 Enums = register_enumerations() variable
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp93 std::vector<std::unique_ptr<GenericEnum>> Enums; member in __anon30beeb170111::SearchableTableEmitter
688 Enums.emplace_back(std::move(Enum)); in run()
777 Enums.emplace_back(std::move(Enum)); in run()
813 for (const auto &Enum : Enums) in run()
H A DIntrinsicEmitter.cpp39 void run(raw_ostream &OS, bool Enums);
58 void IntrinsicEmitter::run(raw_ostream &OS, bool Enums) { in run() argument
63 if (Enums) { in run()
/llvm-project-15.0.7/llvm/test/DebugInfo/PDB/DIA/
H A Dpdbdump-symbol-format.test27 ; TYPES_FORMAT: Enums
/llvm-project-15.0.7/clang/include/clang/ExtractAPI/
H A DAPI.h668 const RecordMap<EnumRecord> &getEnums() const { return Enums; }
716 RecordMap<EnumRecord> Enums;
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DSequenceTest.cpp256 TEST(StrongIntTest, Enums) { in TEST() argument
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DAPI.cpp76 return addTopLevelRecord(Enums, USR, Name, Loc, Availability, Comment, in addEnum()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DFindSymbolsTests.cpp222 TEST(WorkspaceSymbols, Enums) { in TEST() argument
632 TEST(DocumentSymbols, Enums) { in TEST() argument
/llvm-project-15.0.7/clang-tools-extra/clang-doc/
H A DHTMLGenerator.cpp346 genEnumsBlock(const std::vector<EnumInfo> &Enums, in genEnumsBlock() argument
348 if (Enums.empty()) in genEnumsBlock()
356 for (const auto &E : Enums) { in genEnumsBlock()
/llvm-project-15.0.7/llvm/test/DebugInfo/COFF/
H A Dparent-type-scopes.ll30 ; and complete type. For every inner record type, there should be two. Enums
/llvm-project-15.0.7/llvm/include/llvm/TableGen/
H A DSearchableTable.td13 // 1. (Generic) Enums. By instantiating the GenericEnum class once, an enum with
/llvm-project-15.0.7/llvm/docs/TableGen/
H A DBackEnds.rst218 **Output**: Enums, globals, local tables for sub-target information.
238 **Output**: Enums, global tables, and lookup helper functions.
/llvm-project-15.0.7/clang/docs/
H A DObjectiveCLiterals.rst145 Boxed Enums
/llvm-project-15.0.7/clang/test/Modules/
H A Dodr_hash.cpp3236 namespace Enums { namespace

12