llvm-project/clang-tools-extra/test
Edwin Vane 4ad00b46fb Fix -use-nullptr problems with assert()
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
2013-02-17 16:45:54 +00:00
..
clang-format Adapt test to new clang-format behavior. 2013-02-08 20:04:33 +00:00
cpp11-migrate Fix -use-nullptr problems with assert() 2013-02-17 16:45:54 +00:00
remove-cstr-calls test/remove-cstr-calls/basic.cpp: Disable again on mingw. It behaves unstable. 2013-01-26 06:39:48 +00:00
CMakeLists.txt Added a test for clang-format diagnostics. 2013-01-14 13:57:05 +00:00
Makefile Reverted to correct commit this time. 2012-08-24 23:29:33 +00:00
lit.cfg Fix typo in a comment in lit.cfg 2012-09-12 16:29:37 +00:00
lit.site.cfg.in Add a root CMakeLists.txt and fix up all the test build stuff. 2012-08-07 08:33:04 +00:00