Buildbot fix for r367190
authorGabor Borsik <gabor.borsik@gmail.com>
Sun, 28 Jul 2019 14:57:41 +0000 (14:57 +0000)
committerGabor Borsik <gabor.borsik@gmail.com>
Sun, 28 Jul 2019 14:57:41 +0000 (14:57 +0000)
llvm-svn: 367193

clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp

index 20e70b6..b2172f6 100644 (file)
@@ -811,7 +811,7 @@ void ento::registerGenericTaintChecker(CheckerManager &Mgr) {
   llvm::Optional<TaintConfig> Config =
       getConfiguration<TaintConfig>(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) {