mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:58:11 +08:00
Avoid unused variable warning in release builds.
llvm-svn: 271280
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user