Home
last modified time | relevance | path

Searched refs:EnumExpr (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousEnumUsageCheck.cpp155 const auto *EnumExpr = dyn_cast<DeclRefExpr>(NodeExpr); in checkSuspiciousBitmaskUsage() local
157 EnumExpr ? dyn_cast<EnumConstantDecl>(EnumExpr->getDecl()) : nullptr; in checkSuspiciousBitmaskUsage()
163 diag(EnumExpr->getExprLoc(), BitmaskNoteMessage, DiagnosticIDs::Note); in checkSuspiciousBitmaskUsage()
166 diag(EnumExpr->getExprLoc(), BitmaskNoteMessage, DiagnosticIDs::Note); in checkSuspiciousBitmaskUsage()
201 if (const auto *EnumExpr = Result.Nodes.getNodeAs<Expr>("enumExpr")) { in check() local
202 checkSuspiciousBitmaskUsage(EnumExpr, EnumDec); in check()
/external/python/cffi/cffi/
Drecompiler.py84 class EnumExpr: class
1119 EnumExpr(tp.name, type_index, size, signed, allenums))