Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAttr.cpp233 template <typename OtherAttr, int DiagIdx>
264 (Callee->hasAttr<OtherAttr>() || Callee->hasAttr<FlattenAttr>())) { in CheckStmtInlineAttr()
267 << A << (Callee->hasAttr<OtherAttr>() ? DiagIdx : 1); in CheckStmtInlineAttr()
H A DSemaType.cpp7596 auto OtherAttr = std::find_if( in checkMutualExclusion() local
7599 if (OtherAttr == state.getCurrentAttributes().end() || OtherAttr->isInvalid()) in checkMutualExclusion()
7604 << *OtherAttr << Attr in checkMutualExclusion()
7605 << (OtherAttr->isRegularKeywordAttribute() || in checkMutualExclusion()
7607 S.Diag(OtherAttr->getLoc(), diag::note_conflicting_attribute); in checkMutualExclusion()