Avoid unused variable warning in release builds.

llvm-svn: 271280
This commit is contained in:
Benjamin Kramer 2016-05-31 14:14:42 +00:00
parent f83187deb9
commit 1cb7ee1300
1 changed files with 1 additions and 0 deletions

View File

@ -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);