[cfe-commits] New clang warnings

Anton Korobeynikov asl at math.spbu.ru
Tue Jun 17 14:39:08 PDT 2008


Hi, 

here is list of new clang warnings:

/home/asl/proj/llvm/src/tools/clang/lib/CodeGen/CodeGenModule.cpp: In
member function ‘void
clang::CodeGen::CodeGenModule::EmitObjCClassImplementation(const
clang::ObjCImplementationDecl*)’:
/home/asl/proj/llvm/src/tools/clang/lib/CodeGen/CodeGenModule.cpp:447:
warning: ‘ObjTy’ may be used uninitialized in this function
/home/asl/proj/llvm/src/tools/clang/lib/Analysis/RValues.cpp: In member
function ‘const clang::SymbolID* clang::RVal::symbol_begin() const’:
/home/asl/proj/llvm/src/tools/clang/lib/Analysis/RValues.cpp:32:
warning: dereferencing type-punned pointer will break strict-aliasing
rules
/home/asl/proj/llvm/src/tools/clang/lib/Analysis/RValues.cpp:34:
warning: dereferencing type-punned pointer will break strict-aliasing
rules
/home/asl/proj/llvm/src/tools/clang/lib/Analysis/GRExprEngine.cpp: In
member function ‘void
clang::GRExprEngine::VisitBinaryOperator(clang::BinaryOperator*,
clang::ExplodedNode<clang::ValueState>*,
clang::ExplodedNodeSet<clang::ValueState>&)’:
/home/asl/proj/llvm/src/tools/clang/lib/Analysis/GRExprEngine.cpp:2038:
warning: dereferencing type-punned pointer will break strict-aliasing
rules
/home/asl/proj/llvm/src/tools/clang/lib/Analysis/GRExprEngine.cpp:2040:
warning: dereferencing type-punned pointer will break strict-aliasing
rules

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.





More information about the cfe-commits mailing list