<div dir="ltr">Hi there,<div><br></div><div>I've been experimenting with the static analyzer on Windows. I have it working now, but came across the following issue - </div><div><br></div><div>1. Compiled LLVM+Clang 3.7.0 in Visual Studio 13 (MSVC 18)</div><div>2. Got the full list of compilation options for clang by running </div><div><br></div><div>clang -### -c hello.cpp</div><div><br></div><div>The list of options includes "fdelayed-template-parsing</div><div><br></div><div>3. Used these options as input to</div><div><br></div><div>clang -cc1 <options> -analyze -analyzer-checker=core hello.cpp</div><div><br></div><div>4. clang crashes with a null pointer exception on clang::Stmt::getStmtClass()</div><div><br></div><div>'hello.cpp' is simply:</div><div><br></div><div>#include <iostream></div><div><br></div><div>int main() {</div><div>  std::cout << "Hello, Static Analysis World" << std::endl;</div><div>  return 0;</div><div>}</div><div><br></div><div>A simpler program, without including any STL headers, works.</div><div><br></div><div>Removing the '-fdelayed-template-parsing' option allows static analysis to complete as normal.</div><div><br></div><div>Cheers!</div><div>Andrew.</div></div>