CGSCCPassManagerTest.cpp: Fix warnings. [-Wunused-variable]

llvm-svn: 307511
This commit is contained in:
NAKAMURA Takumi 2017-07-09 23:06:05 +00:00
parent 52f2683695
commit 3733fc4011
1 changed files with 2 additions and 0 deletions

View File

@ -1169,6 +1169,7 @@ TEST_F(CGSCCPassManagerTest, TestAnalysisInvalidationCGSCCUpdate) {
auto &NewC = updateCGAndAnalysisManagerForFunctionPass(
CG, C, H2N, AM, UR, /*DebugLogging*/ true);
assert(&NewC != &C && "Should get a new SCC due to update!");
(void)&NewC;
return PA;
}));
@ -1214,6 +1215,7 @@ TEST_F(CGSCCPassManagerTest, TestAnalysisInvalidationCGSCCUpdate) {
auto &NewC = updateCGAndAnalysisManagerForFunctionPass(
CG, C, H2N, AM, UR, /*DebugLogging*/ true);
assert(&NewC != &C && "Should get a new SCC due to update!");
(void)&NewC;
return PA;
}));