forked from OSchip/llvm-project
![]() If a cast expression (NullToPointer) is detected in a function-like macro parameter, we should use the spelling location instead of the expansion location. Using SourceManager::getFileLoc() fixes this problem. Also added testcases for this bug. Fixes: PR15279 Author: Tareq A Siraj <tareq.a.siraj@intel.com> Reviewer: klimek llvm-svn: 175399 |
||
---|---|---|
.. | ||
NullptrActions.cpp | ||
NullptrActions.h | ||
NullptrMatchers.cpp | ||
NullptrMatchers.h | ||
UseNullptr.cpp | ||
UseNullptr.h |