|
Most of these were found by the new -Wunused-but-set-variable warning. Several of these unused variables look like they ought to have been used, so someone who knows this code better than I do should check whether the new warnings found some bugs.
I also fixed some spurious -Wint-to-pointer-cast warnings.
I checked that everything was fixed with `make CFLAGS="-Werror" CXXFLAGS="-Werror"`
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+39 lines, -68 lines) |
Patch |
|
M |
include/clang/Basic/SourceLocation.h
|
View
|
|
2 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
|
M |
lib/CodeGen/CGExpr.cpp
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
lib/CodeGen/CGExprComplex.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
lib/CodeGen/CGObjC.cpp
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
lib/CodeGen/ItaniumCXXABI.cpp
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
lib/GR/CXXExprEngine.cpp
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
lib/GR/Checkers/ExprEngine.cpp
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
lib/Lex/PPMacroExpansion.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
1 comment
|
Download
|
|
M |
lib/Parse/ParseDecl.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
lib/Parse/ParseDeclCXX.cpp
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
lib/Parse/ParseExpr.cpp
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
lib/Parse/ParseExprCXX.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
lib/Parse/ParseObjc.cpp
|
View
|
|
4 chunks |
+4 lines, -4 lines |
1 comment
|
Download
|
|
M |
lib/Parse/ParseStmt.cpp
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
lib/Parse/ParseTemplate.cpp
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
lib/Parse/ParseTentative.cpp
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
lib/Rewrite/RewriteObjC.cpp
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
lib/Sema/SemaCXXCast.cpp
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
lib/Sema/SemaDeclCXX.cpp
|
View
|
|
2 chunks |
+1 line, -6 lines |
1 comment
|
Download
|
|
M |
lib/Sema/SemaExpr.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
lib/Sema/SemaExprCXX.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
lib/Sema/SemaTemplate.cpp
|
View
|
|
4 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
lib/Sema/SemaTemplateDeduction.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
lib/Sema/TreeTransform.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
lib/Serialization/ASTWriterDecl.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
tools/libclang/CIndex.cpp
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
tools/libclang/CXCursor.cpp
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
Total messages: 3
|