Re: r314571 - [Analyzer] Synthesize function body for std::call_once

2017-10-09 Thread Alexander Kornienko via cfe-commits
Bugzilla is not accessible, so here's a reduced test case: $ cat test-clang__BodyFarm__getBody.cc namespace std { template void call_once(d, e); } void g(); void f() { std::call_once(g, false); } $ clang-tidy -checks=-*,clang-analyzer* test-clang__BodyFarm__getBody.cc -- -std=c++11 -w *** SIGSEG

Re: r314571 - [Analyzer] Synthesize function body for std::call_once

2017-10-07 Thread Alexander Kornienko via cfe-commits
This revision might be the cause of https://bugs.llvm.org/show_bug.cgi?id=34869. I'm still working on a reduced test case. On Sat, Sep 30, 2017 at 2:03 AM, George Karpenkov via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: george.karpenkov > Date: Fri Sep 29 17:03:22 2017 > New Revis

r314571 - [Analyzer] Synthesize function body for std::call_once

2017-09-29 Thread George Karpenkov via cfe-commits
Author: george.karpenkov Date: Fri Sep 29 17:03:22 2017 New Revision: 314571 URL: http://llvm.org/viewvc/llvm-project?rev=314571&view=rev Log: [Analyzer] Synthesize function body for std::call_once Differential Revision: https://reviews.llvm.org/D37840 Added: cfe/trunk/test/Analysis/call_onc