From c5c7090ba1a58db103d4a09bf1a8b27861eab59d Mon Sep 17 00:00:00 2001
From: Benjamin Kramer <benny.kra@googlemail.com>
Date: Tue, 31 May 2016 14:14:42 +0000
Subject: [PATCH] Avoid unused variable warning in release builds.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271280 91177308-0d34-0410-b5e6-96231b3b80d8
---
 lib/Format/Format.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp
index 33c3a7f6c08..b5e9369593f 100644
--- a/lib/Format/Format.cpp
+++ b/lib/Format/Format.cpp
@@ -1528,6 +1528,7 @@ fixCppIncludeInsertions(StringRef Code, const tooling::Replacements &Replaces,
     bool Matched = IncludeRegex.match(IncludeDirective, &Matches);
     assert(Matched && "Header insertion replacement must have replacement text "
                       "'#include ...'");
+    (void)Matched;
     auto IncludeName = Matches[2];
     int Category =
         Categories.getIncludePriority(IncludeName, /*CheckMainHeader=*/true);
-- 
GitLab