Hello, Everyone. I'm getting the following warnings during clang compilation:
/home/asl/proj/llvm/src/tools/clang/Parse/ParseObjc.cpp: In member function `void* clang::Parser::ParseObjCTypeName()': /home/asl/proj/llvm/src/tools/clang/Parse/ParseObjc.cpp:448: warning: 'Ty' might be used uninitialized in this function /home/asl/proj/llvm/src/tools/clang/AST/CFG.cpp: In member function `RetTy clang::StmtVisitor<ImplClass, RetTy>::Visit(clang::Stmt*) [with ImplClass = <unnamed>::CFGBuilder, RetTy = clang::CFGBlock*]': /home/asl/proj/llvm/src/tools/clang/AST/CFG.cpp:399: warning: 'LastBlock' might be used uninitialized in this function /home/asl/proj/llvm/src/tools/clang/AST/CFG.cpp: In member function `clang::CFGBlock* <unnamed>::CFGBuilder::VisitCompoundStmt(clang::CompoundStmt*)': /home/asl/proj/llvm/src/tools/clang/AST/CFG.cpp:399: warning: 'LastBlock' might be used uninitialized in this function /home/asl/proj/llvm/src/tools/clang/AST/CFG.cpp: In member function `clang::CFGBlock* <unnamed>::CFGBuilder::WalkAST_VisitStmtExpr(clang::StmtExpr*)': /home/asl/proj/llvm/src/tools/clang/AST/CFG.cpp:399: warning: 'LastBlock' might be used uninitialized in this function llvm[3]: Compiling StmtViz.cpp for Release build /home/asl/proj/llvm/src/tools/clang/AST/CFG.cpp: In member function `clang::CFGBlock* <unnamed>::CFGBuilder::WalkAST(clang::Stmt*, bool)': /home/asl/proj/llvm/src/tools/clang/AST/CFG.cpp:399: warning: 'LastBlock' might be used uninitialized in this function /home/asl/proj/llvm/src/tools/clang/Sema/SemaDecl.cpp: In member function `virtual void* clang::Sema::ActOnDeclarator(clang::Scope*, clang::Declarator&, void*)': /home/asl/proj/llvm/src/tools/clang/Sema/SemaDecl.cpp:488: warning: 'SC' might be used uninitialized in this function Most probably, they are due to dumb compiler, but anyway. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University. _______________________________________________ llvm-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
