Home
last modified time | relevance | path

Searched refs:Decl1 (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardDeclarationNamespaceCheck.cpp82 static bool haveSameNamespaceOrTranslationUnit(const CXXRecordDecl *Decl1, in haveSameNamespaceOrTranslationUnit() argument
84 const DeclContext *ParentDecl1 = Decl1->getLexicalParent(); in haveSameNamespaceOrTranslationUnit()
/external/clang/lib/Analysis/
DCFG.cpp103 auto *Decl1 = cast<DeclRefExpr>(E1)->getDecl(); in areExprTypesCompatible() local
106 assert(isa<EnumConstantDecl>(Decl1) && isa<EnumConstantDecl>(Decl2)); in areExprTypesCompatible()
107 const DeclContext *DC1 = Decl1->getDeclContext(); in areExprTypesCompatible()
770 const DeclRefExpr *Decl1; in checkIncorrectLogicOperator() local
773 std::tie(Decl1, BO1, Expr1) = tryNormalizeBinaryOperator(LHS); in checkIncorrectLogicOperator()
775 if (!Decl1 || !Expr1) in checkIncorrectLogicOperator()
787 if (Decl1->getDecl() != Decl2->getDecl()) in checkIncorrectLogicOperator()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp1139 static bool AttributesMatch(const Decl *Decl1, const Decl *Decl2, in AttributesMatch() argument
1141 if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) { in AttributesMatch()
1142 AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs()); in AttributesMatch()
1146 const AttrVec &Attrs1 = Decl1->getAttrs(); in AttributesMatch()
/external/llvm-project/clang/lib/ARCMigrate/
DObjCMT.cpp1132 static bool AttributesMatch(const Decl *Decl1, const Decl *Decl2, in AttributesMatch() argument
1134 if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) { in AttributesMatch()
1135 AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs()); in AttributesMatch()
1139 const AttrVec &Attrs1 = Decl1->getAttrs(); in AttributesMatch()
/external/llvm-project/clang/lib/Analysis/
DCFG.cpp157 auto *Decl1 = cast<DeclRefExpr>(E1)->getDecl(); in areExprTypesCompatible() local
160 assert(isa<EnumConstantDecl>(Decl1) && isa<EnumConstantDecl>(Decl2)); in areExprTypesCompatible()
161 const DeclContext *DC1 = Decl1->getDeclContext(); in areExprTypesCompatible()