Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DODRDiagsEmitter.cpp999 const Expr *FirstMessage = FirstSA->getMessage(); in diagnoseMismatch() local
1001 assert((FirstMessage || SecondMessage) && "Both messages cannot be empty"); in diagnoseMismatch()
1002 if ((FirstMessage && !SecondMessage) || (!FirstMessage && SecondMessage)) { in diagnoseMismatch()
1005 if (FirstMessage) { in diagnoseMismatch()
1006 FirstLoc = FirstMessage->getBeginLoc(); in diagnoseMismatch()
1007 FirstRange = FirstMessage->getSourceRange(); in diagnoseMismatch()
1020 << (FirstMessage == nullptr); in diagnoseMismatch()
1026 if (FirstMessage && SecondMessage) { in diagnoseMismatch()
1027 unsigned FirstMessageODRHash = computeODRHash(FirstMessage); in diagnoseMismatch()
1030 DiagError(FirstMessage->getBeginLoc(), FirstMessage->getSourceRange(), in diagnoseMismatch()