[cfe-dev] CGBlock.cpp warning

Sebastian Redl sebastian.redl at getdesigned.at
Sat Mar 7 03:51:58 PST 2009


Hi,

CGBlocks.cpp: In member function ‘llvm::Value*
clang::CodeGen::CodeGenFunction::GetAddrOfBlockDecl(const
clang::BlockDeclRefExpr*)’:
CGBlocks.cpp:487: warning: suggest parentheses around && within ||


Looking at the code suggests that the || is actually meant to have
precedence here.

Sebastian



More information about the cfe-dev mailing list