Searched refs:FirstStr (Results 1 – 1 of 1) sorted by relevance
997 const StringLiteral *FirstStr = FirstSA->getMessage(); in diagnoseMismatch() local999 assert((FirstStr || SecondStr) && "Both messages cannot be empty"); in diagnoseMismatch()1000 if ((FirstStr && !SecondStr) || (!FirstStr && SecondStr)) { in diagnoseMismatch()1003 if (FirstStr) { in diagnoseMismatch()1004 FirstLoc = FirstStr->getBeginLoc(); in diagnoseMismatch()1005 FirstRange = FirstStr->getSourceRange(); in diagnoseMismatch()1018 << (FirstStr == nullptr); in diagnoseMismatch()1024 if (FirstStr && SecondStr && in diagnoseMismatch()1025 FirstStr->getString() != SecondStr->getString()) { in diagnoseMismatch()1026 DiagError(FirstStr->getBeginLoc(), FirstStr->getSourceRange(), in diagnoseMismatch()