diff --git a/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp index 20e70b65eac2..b2172f6e9f54 100644 --- a/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp @@ -811,7 +811,7 @@ void ento::registerGenericTaintChecker(CheckerManager &Mgr) { llvm::Optional Config = getConfiguration(Mgr, Checker, Option, ConfigFile); if (Config) - Checker->parseConfiguration(Mgr, Option, std::move(Config).getValue()); + Checker->parseConfiguration(Mgr, Option, std::move(Config.getValue())); } bool ento::shouldRegisterGenericTaintChecker(const LangOptions &LO) {