llvm-project
ddf06be9 - [Clang] Fix clang build with GCC 7.5 (#206768)

Commit
130 days ago
[Clang] Fix clang build with GCC 7.5 (#206768) GCC 7.5 rejects two newer C++ idioms: - LifetimeSafety/FactsGenerator: replace ArrayRef CTAD with an explicit ArrayRef<const Expr *> to avoid GCC 7's broken brace-init deduction. - ScalableStaticAnalysisFramework: add explicit std::move() on unique_ptr<Derived> returns (pre-P1825, GCC 7 won't implicitly move). No behavior change; restores compatibility with GCC 7.5. Co-authored-by: Garbowski, Mateusz <mateusz.garbowski@intel.com>
Author
Parents
Loading