diff options
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/CodeGen/CGException.cpp | 1 | ||||
-rw-r--r-- | clang/lib/Sema/SemaInit.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp index 0f201b5601c..b15b2e9b3b0 100644 --- a/clang/lib/CodeGen/CGException.cpp +++ b/clang/lib/CodeGen/CGException.cpp @@ -326,6 +326,7 @@ void CodeGenFunction::EmitStartEHSpec(const Decl *D) { llvm::BasicBlock *Unwind = 0; assert(PrevLandingPad == 0 && "EHSpec has invoke context"); + (void)PrevLandingPad; llvm::BasicBlock *Cont = createBasicBlock("cont"); diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/lib/Sema/SemaInit.cpp index db5643898b4..e8794b14bc7 100644 --- a/clang/lib/Sema/SemaInit.cpp +++ b/clang/lib/Sema/SemaInit.cpp @@ -2115,6 +2115,7 @@ static OverloadingResult TryRefInitWithConversionFunction(Sema &S, assert(!S.CompareReferenceRelationship(Initializer->getLocStart(), T1, T2, DerivedToBase) && "Must have incompatible references when binding via conversion"); + (void)DerivedToBase; // Build the candidate set directly in the initialization sequence // structure, so that it will persist if we fail. |