Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaInit.cpp1864 bool InvalidUse; in CheckStructUnionTypes() local
1866 InvalidUse = !SemaRef.CanUseDecl(*Field, TreatUnavailableAsInvalid); in CheckStructUnionTypes()
1868 InvalidUse = SemaRef.DiagnoseUseOfDecl(*Field, in CheckStructUnionTypes()
1870 if (InvalidUse) { in CheckStructUnionTypes()
2270 bool InvalidUse; in CheckDesignatedInitializer() local
2272 InvalidUse = !SemaRef.CanUseDecl(*Field, TreatUnavailableAsInvalid); in CheckDesignatedInitializer()
2274 InvalidUse = SemaRef.DiagnoseUseOfDecl(*Field, D->getFieldLoc()); in CheckDesignatedInitializer()
2275 if (InvalidUse) { in CheckDesignatedInitializer()