Clang Project

clang_source_code/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp
1// RUN: %clang_analyze_cc1 -analyzer-checker=debug.ExprInspection -analyzer-output=plist-multi-file %s -o %t.plist
2// RUN: tail -n +11 %t.plist | diff -u -w -I "<string>/" -I "<string>.:" -I "version" - %S/Inputs/expected-plists/plist-diagnostics-include-check.cpp.plist
3
4#include "Inputs/include/plist-diagnostics-include-check-macro.h"
5
6void foo() {
7  PlistCheckMacro()
8#define PLIST_DEF_MACRO .run();
9#include "Inputs/include/plist-diagnostics-include-check-macro.def"
10}
11