forked from OSchip/llvm-project
Avoid unused variable warning in release builds.
llvm-svn: 271280
This commit is contained in:
parent
f83187deb9
commit
1cb7ee1300
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue