forked from OSchip/llvm-project
CGSCCPassManagerTest.cpp: Fix warnings. [-Wunused-variable]
llvm-svn: 307511
This commit is contained in:
parent
52f2683695
commit
3733fc4011
|
@ -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;
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue