Lines Matching refs:SecondStr
10363 StringLiteral *SecondStr = SecondSA->getMessage(); in diagnoseOdrViolations() local
10364 assert((FirstStr || SecondStr) && "Both messages cannot be empty"); in diagnoseOdrViolations()
10365 if ((FirstStr && !SecondStr) || (!FirstStr && SecondStr)) { in diagnoseOdrViolations()
10375 if (SecondStr) { in diagnoseOdrViolations()
10376 SecondLoc = SecondStr->getBeginLoc(); in diagnoseOdrViolations()
10377 SecondRange = SecondStr->getSourceRange(); in diagnoseOdrViolations()
10387 << (SecondStr == nullptr); in diagnoseOdrViolations()
10392 if (FirstStr && SecondStr && in diagnoseOdrViolations()
10393 FirstStr->getString() != SecondStr->getString()) { in diagnoseOdrViolations()
10396 ODRDiagDeclNote(SecondModule, SecondStr->getBeginLoc(), in diagnoseOdrViolations()
10397 SecondStr->getSourceRange(), StaticAssertMessage); in diagnoseOdrViolations()