Searched refs:InvalidUse (Results 1 – 1 of 1) sorted by relevance
1783 bool InvalidUse; in CheckStructUnionTypes() local1785 InvalidUse = !SemaRef.CanUseDecl(*Field); in CheckStructUnionTypes()1787 InvalidUse = SemaRef.DiagnoseUseOfDecl(*Field, in CheckStructUnionTypes()1789 if (InvalidUse) { in CheckStructUnionTypes()2187 bool InvalidUse; in CheckDesignatedInitializer() local2189 InvalidUse = !SemaRef.CanUseDecl(*Field); in CheckDesignatedInitializer()2191 InvalidUse = SemaRef.DiagnoseUseOfDecl(*Field, D->getFieldLoc()); in CheckDesignatedInitializer()2192 if (InvalidUse) { in CheckDesignatedInitializer()