Home
last modified time | relevance | path

Searched refs:TheEnumDecl (Results 1 – 25 of 34) sorted by relevance

12

/dports/devel/creduce/creduce-2.10.0/clang_delta/
H A DRemoveUnusedEnumMember.h30 TheEnumDecl(0) in RemoveUnusedEnumMember()
45 clang::EnumDecl *TheEnumDecl; variable
H A DRemoveUnusedEnumMember.cpp62 ConsumerInstance->TheEnumDecl = ED; in VisitEnumDecl()
89 TransAssert(TheEnumDecl && "NULL TheEnumDecl!"); in HandleTranslationUnit()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/lib/Sema/
H A DSemaAvailability.cpp92 if (const auto *TheEnumDecl = dyn_cast<EnumDecl>(DC)) { in ShouldDiagnoseAvailabilityOfDecl() local
93 Result = TheEnumDecl->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
94 D = TheEnumDecl; in ShouldDiagnoseAvailabilityOfDecl()
H A DSemaDecl.cpp17999 EnumDecl *TheEnumDecl = cast<EnumDecl>(theEnumDecl); in ActOnEnumConstant() local
18025 if (getLangOpts().CPlusPlus && !TheEnumDecl->isScoped()) in ActOnEnumConstant()
18026 DiagnoseClassNameShadow(TheEnumDecl->getDeclContext(), in ActOnEnumConstant()
18030 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()
18035 if (!TheEnumDecl->isScoped() && isa<ValueDecl>(PrevDecl)) { in ActOnEnumConstant()
18059 New->setAccess(TheEnumDecl->getAccess()); in ActOnEnumConstant()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/lib/Sema/
H A DSemaAvailability.cpp92 if (const auto *TheEnumDecl = dyn_cast<EnumDecl>(DC)) { in ShouldDiagnoseAvailabilityOfDecl() local
93 Result = TheEnumDecl->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
94 D = TheEnumDecl; in ShouldDiagnoseAvailabilityOfDecl()
H A DSemaDecl.cpp17715 EnumDecl *TheEnumDecl = cast<EnumDecl>(theEnumDecl); in ActOnEnumConstant() local
17741 if (getLangOpts().CPlusPlus && !TheEnumDecl->isScoped()) in ActOnEnumConstant()
17742 DiagnoseClassNameShadow(TheEnumDecl->getDeclContext(), in ActOnEnumConstant()
17746 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()
17751 if (!TheEnumDecl->isScoped() && isa<ValueDecl>(PrevDecl)) { in ActOnEnumConstant()
17775 New->setAccess(TheEnumDecl->getAccess()); in ActOnEnumConstant()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/lib/Sema/
H A DSemaAvailability.cpp92 if (const auto *TheEnumDecl = dyn_cast<EnumDecl>(DC)) { in ShouldDiagnoseAvailabilityOfDecl() local
93 Result = TheEnumDecl->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
94 D = TheEnumDecl; in ShouldDiagnoseAvailabilityOfDecl()
H A DSemaDecl.cpp17939 EnumDecl *TheEnumDecl = cast<EnumDecl>(theEnumDecl); in ActOnEnumConstant() local
17965 if (getLangOpts().CPlusPlus && !TheEnumDecl->isScoped()) in ActOnEnumConstant()
17966 DiagnoseClassNameShadow(TheEnumDecl->getDeclContext(), in ActOnEnumConstant()
17970 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()
17975 if (!TheEnumDecl->isScoped() && isa<ValueDecl>(PrevDecl)) { in ActOnEnumConstant()
17999 New->setAccess(TheEnumDecl->getAccess()); in ActOnEnumConstant()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/lib/Sema/
H A DSemaAvailability.cpp92 if (const auto *TheEnumDecl = dyn_cast<EnumDecl>(DC)) { in ShouldDiagnoseAvailabilityOfDecl() local
93 Result = TheEnumDecl->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
94 D = TheEnumDecl; in ShouldDiagnoseAvailabilityOfDecl()
H A DSemaDecl.cpp17765 EnumDecl *TheEnumDecl = cast<EnumDecl>(theEnumDecl); in ActOnEnumConstant() local
17791 if (getLangOpts().CPlusPlus && !TheEnumDecl->isScoped()) in ActOnEnumConstant()
17792 DiagnoseClassNameShadow(TheEnumDecl->getDeclContext(), in ActOnEnumConstant()
17796 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()
17801 if (!TheEnumDecl->isScoped() && isa<ValueDecl>(PrevDecl)) { in ActOnEnumConstant()
17825 New->setAccess(TheEnumDecl->getAccess()); in ActOnEnumConstant()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/lib/Sema/
H A DSemaAvailability.cpp92 if (const auto *TheEnumDecl = dyn_cast<EnumDecl>(DC)) { in ShouldDiagnoseAvailabilityOfDecl() local
93 Result = TheEnumDecl->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
94 D = TheEnumDecl; in ShouldDiagnoseAvailabilityOfDecl()
H A DSemaDecl.cpp17648 EnumDecl *TheEnumDecl = cast<EnumDecl>(theEnumDecl); in ActOnEnumConstant() local
17674 if (getLangOpts().CPlusPlus && !TheEnumDecl->isScoped()) in ActOnEnumConstant()
17675 DiagnoseClassNameShadow(TheEnumDecl->getDeclContext(), in ActOnEnumConstant()
17679 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()
17684 if (!TheEnumDecl->isScoped() && isa<ValueDecl>(PrevDecl)) { in ActOnEnumConstant()
17708 New->setAccess(TheEnumDecl->getAccess()); in ActOnEnumConstant()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/lib/Sema/
H A DSemaAvailability.cpp92 if (const auto *TheEnumDecl = dyn_cast<EnumDecl>(DC)) { in ShouldDiagnoseAvailabilityOfDecl() local
93 Result = TheEnumDecl->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
94 D = TheEnumDecl; in ShouldDiagnoseAvailabilityOfDecl()
H A DSemaDecl.cpp17835 EnumDecl *TheEnumDecl = cast<EnumDecl>(theEnumDecl); in ActOnEnumConstant() local
17861 if (getLangOpts().CPlusPlus && !TheEnumDecl->isScoped()) in ActOnEnumConstant()
17862 DiagnoseClassNameShadow(TheEnumDecl->getDeclContext(), in ActOnEnumConstant()
17866 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()
17871 if (!TheEnumDecl->isScoped() && isa<ValueDecl>(PrevDecl)) { in ActOnEnumConstant()
17895 New->setAccess(TheEnumDecl->getAccess()); in ActOnEnumConstant()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/lib/Sema/
H A DSemaAvailability.cpp92 if (const auto *TheEnumDecl = dyn_cast<EnumDecl>(DC)) { in ShouldDiagnoseAvailabilityOfDecl() local
93 Result = TheEnumDecl->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
94 D = TheEnumDecl; in ShouldDiagnoseAvailabilityOfDecl()
H A DSemaDecl.cpp17939 EnumDecl *TheEnumDecl = cast<EnumDecl>(theEnumDecl); in ActOnEnumConstant() local
17965 if (getLangOpts().CPlusPlus && !TheEnumDecl->isScoped()) in ActOnEnumConstant()
17966 DiagnoseClassNameShadow(TheEnumDecl->getDeclContext(), in ActOnEnumConstant()
17970 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()
17975 if (!TheEnumDecl->isScoped() && isa<ValueDecl>(PrevDecl)) { in ActOnEnumConstant()
17999 New->setAccess(TheEnumDecl->getAccess()); in ActOnEnumConstant()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp92 if (const auto *TheEnumDecl = dyn_cast<EnumDecl>(DC)) { in ShouldDiagnoseAvailabilityOfDecl() local
93 Result = TheEnumDecl->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
94 D = TheEnumDecl; in ShouldDiagnoseAvailabilityOfDecl()
H A DSemaDecl.cpp17939 EnumDecl *TheEnumDecl = cast<EnumDecl>(theEnumDecl); in ActOnEnumConstant() local
17965 if (getLangOpts().CPlusPlus && !TheEnumDecl->isScoped()) in ActOnEnumConstant()
17966 DiagnoseClassNameShadow(TheEnumDecl->getDeclContext(), in ActOnEnumConstant()
17970 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()
17975 if (!TheEnumDecl->isScoped() && isa<ValueDecl>(PrevDecl)) { in ActOnEnumConstant()
17999 New->setAccess(TheEnumDecl->getAccess()); in ActOnEnumConstant()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/lib/Sema/
H A DSemaAvailability.cpp92 if (const auto *TheEnumDecl = dyn_cast<EnumDecl>(DC)) { in ShouldDiagnoseAvailabilityOfDecl() local
93 Result = TheEnumDecl->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
94 D = TheEnumDecl; in ShouldDiagnoseAvailabilityOfDecl()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/lib/Sema/
H A DSemaAvailability.cpp92 if (const auto *TheEnumDecl = dyn_cast<EnumDecl>(DC)) { in ShouldDiagnoseAvailabilityOfDecl() local
93 Result = TheEnumDecl->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
94 D = TheEnumDecl; in ShouldDiagnoseAvailabilityOfDecl()
/dports/lang/clang-mesa/clang-13.0.1.src/lib/Sema/
H A DSemaAvailability.cpp92 if (const auto *TheEnumDecl = dyn_cast<EnumDecl>(DC)) { in ShouldDiagnoseAvailabilityOfDecl() local
93 Result = TheEnumDecl->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
94 D = TheEnumDecl; in ShouldDiagnoseAvailabilityOfDecl()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp17251 EnumDecl *TheEnumDecl = cast<EnumDecl>(theEnumDecl); in ActOnEnumConstant() local
17277 if (getLangOpts().CPlusPlus && !TheEnumDecl->isScoped()) in ActOnEnumConstant()
17278 DiagnoseClassNameShadow(TheEnumDecl->getDeclContext(), in ActOnEnumConstant()
17282 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()
17287 if (!TheEnumDecl->isScoped() && isa<ValueDecl>(PrevDecl)) { in ActOnEnumConstant()
17311 New->setAccess(TheEnumDecl->getAccess()); in ActOnEnumConstant()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/lib/Sema/
H A DSemaDecl.cpp17251 EnumDecl *TheEnumDecl = cast<EnumDecl>(theEnumDecl); in ActOnEnumConstant() local
17277 if (getLangOpts().CPlusPlus && !TheEnumDecl->isScoped()) in ActOnEnumConstant()
17278 DiagnoseClassNameShadow(TheEnumDecl->getDeclContext(), in ActOnEnumConstant()
17282 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()
17287 if (!TheEnumDecl->isScoped() && isa<ValueDecl>(PrevDecl)) { in ActOnEnumConstant()
17311 New->setAccess(TheEnumDecl->getAccess()); in ActOnEnumConstant()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/lib/Sema/
H A DSemaDecl.cpp16897 EnumDecl *TheEnumDecl = cast<EnumDecl>(theEnumDecl); in ActOnEnumConstant() local
16923 if (getLangOpts().CPlusPlus && !TheEnumDecl->isScoped()) in ActOnEnumConstant()
16924 DiagnoseClassNameShadow(TheEnumDecl->getDeclContext(), in ActOnEnumConstant()
16928 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()
16933 if (!TheEnumDecl->isScoped() && isa<ValueDecl>(PrevDecl)) { in ActOnEnumConstant()
16957 New->setAccess(TheEnumDecl->getAccess()); in ActOnEnumConstant()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/lib/Sema/
H A DSemaDecl.cpp16415 EnumDecl *TheEnumDecl = cast<EnumDecl>(theEnumDecl); in ActOnEnumConstant() local
16441 if (getLangOpts().CPlusPlus && !TheEnumDecl->isScoped()) in ActOnEnumConstant()
16442 DiagnoseClassNameShadow(TheEnumDecl->getDeclContext(), in ActOnEnumConstant()
16446 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()
16451 if (!TheEnumDecl->isScoped() && isa<ValueDecl>(PrevDecl)) { in ActOnEnumConstant()
16475 New->setAccess(TheEnumDecl->getAccess()); in ActOnEnumConstant()

12