Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaChecking.cpp6361 const DeclRefExpr *CompareWithSrcDRE = dyn_cast<DeclRefExpr>(CompareWithSrc); in CheckStrlcpycatArguments() local
6362 if (!CompareWithSrcDRE || in CheckStrlcpycatArguments()
6363 SrcArgDRE->getDecl() != CompareWithSrcDRE->getDecl()) in CheckStrlcpycatArguments()
6367 Diag(CompareWithSrcDRE->getLocStart(), diag::warn_strlcpycat_wrong_size) in CheckStrlcpycatArguments()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp10115 const DeclRefExpr *CompareWithSrcDRE = dyn_cast<DeclRefExpr>(CompareWithSrc); in CheckStrlcpycatArguments() local
10116 if (!CompareWithSrcDRE || in CheckStrlcpycatArguments()
10117 SrcArgDRE->getDecl() != CompareWithSrcDRE->getDecl()) in CheckStrlcpycatArguments()
10121 Diag(CompareWithSrcDRE->getBeginLoc(), diag::warn_strlcpycat_wrong_size) in CheckStrlcpycatArguments()