llvm-capstone/clang/test/Analysis/html-diags-multifile.h
Ted Kremenek f9e9d33019 [analyzer diagnostics] Change CompactPathDiagnostic to recursively compact diagnostics in calls into macro pieces.
Also fix handling of macros within calls in the HTMLDiagnostics.

This also adds a test case for r151774.

llvm-svn: 151872
2012-03-02 01:27:31 +00:00

5 lines
70 B
C

#define DEREF(p) *p = 0xDEADBEEF
void has_bug(int *p) {
DEREF(p);
}