Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaInit.cpp1783 bool InvalidUse; in CheckStructUnionTypes() local
1785 InvalidUse = !SemaRef.CanUseDecl(*Field); in CheckStructUnionTypes()
1787 InvalidUse = SemaRef.DiagnoseUseOfDecl(*Field, in CheckStructUnionTypes()
1789 if (InvalidUse) { in CheckStructUnionTypes()
2187 bool InvalidUse; in CheckDesignatedInitializer() local
2189 InvalidUse = !SemaRef.CanUseDecl(*Field); in CheckDesignatedInitializer()
2191 InvalidUse = SemaRef.DiagnoseUseOfDecl(*Field, D->getFieldLoc()); in CheckDesignatedInitializer()
2192 if (InvalidUse) { in CheckDesignatedInitializer()