[LLVMdev] Warning in Clang

Renato Golin rengolin at systemcall.org
Wed Mar 16 14:01:12 PDT 2011


/home/rengolin/workspace/llvm/rw/src/tools/clang/lib/CodeGen/CGExprConstant.cpp:
In member function
‘llvm::Constant*<unnamed>::ConstExprEmitter::VisitCastExpr(clang::CastExpr*)’:
/home/rengolin/workspace/llvm/rw/src/tools/clang/lib/CodeGen/CGExprConstant.cpp:621:
warning: control reaches end of non-void function

A switch without a default label or a return at the end.

-- 
cheers,
--renato

http://systemcall.org/

Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm




More information about the llvm-dev mailing list