Lines Matching refs:SecondStr
10392 StringLiteral *SecondStr = SecondSA->getMessage(); in diagnoseOdrViolations() local
10393 assert((FirstStr || SecondStr) && "Both messages cannot be empty"); in diagnoseOdrViolations()
10394 if ((FirstStr && !SecondStr) || (!FirstStr && SecondStr)) { in diagnoseOdrViolations()
10404 if (SecondStr) { in diagnoseOdrViolations()
10405 SecondLoc = SecondStr->getBeginLoc(); in diagnoseOdrViolations()
10406 SecondRange = SecondStr->getSourceRange(); in diagnoseOdrViolations()
10416 << (SecondStr == nullptr); in diagnoseOdrViolations()
10421 if (FirstStr && SecondStr && in diagnoseOdrViolations()
10422 FirstStr->getString() != SecondStr->getString()) { in diagnoseOdrViolations()
10425 ODRDiagDeclNote(SecondModule, SecondStr->getBeginLoc(), in diagnoseOdrViolations()
10426 SecondStr->getSourceRange(), StaticAssertMessage); in diagnoseOdrViolations()