[cfe-commits] r91234 - in /cfe/trunk: include/clang/AST/DeclContextInternals.h lib/CodeGen/CGException.cpp lib/Sema/SemaInit.cpp
Chandler Carruth
chandlerc at gmail.com
Sat Dec 12 17:37:05 PST 2009
Author: chandlerc
Date: Sat Dec 12 19:37:04 2009
New Revision: 91234
URL: http://llvm.org/viewvc/llvm-project?rev=91234&view=rev
Log:
Silence some release build warnings.
Modified:
cfe/trunk/include/clang/AST/DeclContextInternals.h
cfe/trunk/lib/CodeGen/CGException.cpp
cfe/trunk/lib/Sema/SemaInit.cpp
Modified: cfe/trunk/include/clang/AST/DeclContextInternals.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclContextInternals.h?rev=91234&r1=91233&r2=91234&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclContextInternals.h (original)
+++ cfe/trunk/include/clang/AST/DeclContextInternals.h Sat Dec 12 19:37:04 2009
@@ -135,6 +135,7 @@
assert(!isNull() && "removing from empty list");
if (NamedDecl *Singleton = getAsDecl()) {
assert(Singleton == D && "list is different singleton");
+ (void)Singleton;
Data = 0;
return;
}
Modified: cfe/trunk/lib/CodeGen/CGException.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGException.cpp?rev=91234&r1=91233&r2=91234&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGException.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGException.cpp Sat Dec 12 19:37:04 2009
@@ -326,6 +326,7 @@
llvm::BasicBlock *Unwind = 0;
assert(PrevLandingPad == 0 && "EHSpec has invoke context");
+ (void)PrevLandingPad;
llvm::BasicBlock *Cont = createBasicBlock("cont");
Modified: cfe/trunk/lib/Sema/SemaInit.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaInit.cpp?rev=91234&r1=91233&r2=91234&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaInit.cpp (original)
+++ cfe/trunk/lib/Sema/SemaInit.cpp Sat Dec 12 19:37:04 2009
@@ -2115,6 +2115,7 @@
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.
More information about the cfe-commits
mailing list