diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-07-09 23:06:05 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-07-09 23:06:05 +0000 |
commit | 3733fc401112640a4b82e4556ba8e9fa4f106cbd (patch) | |
tree | 15bcf42c84db253acfcc73b958b979dcace5c1ec /llvm/unittests/Analysis/CGSCCPassManagerTest.cpp | |
parent | 52f2683695cf26bdf18f2b3d84292a11cbbe938a (diff) | |
download | bcm5719-llvm-3733fc401112640a4b82e4556ba8e9fa4f106cbd.tar.gz bcm5719-llvm-3733fc401112640a4b82e4556ba8e9fa4f106cbd.zip |
CGSCCPassManagerTest.cpp: Fix warnings. [-Wunused-variable]
llvm-svn: 307511
Diffstat (limited to 'llvm/unittests/Analysis/CGSCCPassManagerTest.cpp')
-rw-r--r-- | llvm/unittests/Analysis/CGSCCPassManagerTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/Analysis/CGSCCPassManagerTest.cpp b/llvm/unittests/Analysis/CGSCCPassManagerTest.cpp index 929c375e505..1e262683f2b 100644 --- a/llvm/unittests/Analysis/CGSCCPassManagerTest.cpp +++ b/llvm/unittests/Analysis/CGSCCPassManagerTest.cpp @@ -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; })); |