Searched refs:InvalidUse (Results 1 – 1 of 1) sorted by relevance
1864 bool InvalidUse; in CheckStructUnionTypes() local1866 InvalidUse = !SemaRef.CanUseDecl(*Field, TreatUnavailableAsInvalid); in CheckStructUnionTypes()1868 InvalidUse = SemaRef.DiagnoseUseOfDecl(*Field, in CheckStructUnionTypes()1870 if (InvalidUse) { in CheckStructUnionTypes()2270 bool InvalidUse; in CheckDesignatedInitializer() local2272 InvalidUse = !SemaRef.CanUseDecl(*Field, TreatUnavailableAsInvalid); in CheckDesignatedInitializer()2274 InvalidUse = SemaRef.DiagnoseUseOfDecl(*Field, D->getFieldLoc()); in CheckDesignatedInitializer()2275 if (InvalidUse) { in CheckDesignatedInitializer()