Searched refs:FirstConstant (Results 1 – 2 of 2) sorted by relevance
1895 const EnumConstantDecl *FirstConstant = FirstHashes[I].first; in diagnoseMismatch() local1898 if (FirstConstant->getDeclName() != SecondConstant->getDeclName()) { in diagnoseMismatch()1899 DiagError(FirstConstant, EnumConstantName) << I + 1 << FirstConstant; in diagnoseMismatch()1904 const Expr *FirstInit = FirstConstant->getInitExpr(); in diagnoseMismatch()1910 DiagError(FirstConstant, EnumConstantSingleInitializer) in diagnoseMismatch()1911 << I + 1 << FirstConstant << (FirstInit != nullptr); in diagnoseMismatch()1918 DiagError(FirstConstant, EnumConstantDifferentInitializer) in diagnoseMismatch()1919 << I + 1 << FirstConstant; in diagnoseMismatch()
368 unsigned FirstConstant = Values.size(); in ValueEnumerator() local497 OptimizeConstants(FirstConstant, Values.size()); in ValueEnumerator()