forked from OSchip/llvm-project
40c74c6d22
When a macro expending to a literal is used in a comparison, use the macro name in the diagnostic rather than the literal. This improves readability of path notes. Added tests for various macro literals that could occur. Only BOOl, Int, and NULL tests have changed behavior with this patch. Differential Revision: https://reviews.llvm.org/D27726 llvm-svn: 289884 |
||
---|---|---|
.. | ||
Inputs/include | ||
deref-track-symbolic-region.c | ||
deref-track-symbolic-region.cpp | ||
diag-cross-file-boundaries.c | ||
diag-cross-file-boundaries.h | ||
explicit-suppression.cpp | ||
false-positive-suppression.c | ||
implicit-cxx-std-suppression.cpp | ||
macros.cpp | ||
macros.m | ||
no-prune-paths.c | ||
plist-diagnostics-include-check.cpp | ||
report-issues-within-main-file.cpp | ||
shortest-path-suppression.c | ||
text-diagnostics.c | ||
undef-value-callee.h | ||
undef-value-caller.c | ||
undef-value-param.c | ||
undef-value-param.m |