forked from OSchip/llvm-project
4ad00b46fb
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 |
||
---|---|---|
.. | ||
LoopConvert | ||
UseNullptr | ||
CMakeLists.txt | ||
Cpp11Migrate.cpp | ||
Makefile | ||
Transform.cpp | ||
Transform.h | ||
Transforms.cpp | ||
Transforms.h |