ninja-build check-clang failed using GCC 4.8.5 with:
unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp:64:12: error: could not convert ‘AnalysisConsumer’ from ‘std::unique_ptr<clang::ento::AnalysisASTConsumer>’ to ‘std::unique_ptr<clang::ASTConsumer>’ return AnalysisConsumer; ^
d0k has committed a better fix in r335854 (a workaround for GCC < 5, actually, since the original code was fine w.r.t. the standard).