aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTom Care <tom.care@uqconnect.edu.au>2010-08-24 21:09:07 +0000
committerTom Care <tom.care@uqconnect.edu.au>2010-08-24 21:09:07 +0000
commita460311710e05dd50482c1c5407d5fc658b39c37 (patch)
tree4d1fa604228e3bfaf35edb6b6ac97d22bca11324 /clang/lib/Frontend/CompilerInvocation.cpp
parent9da7bd07390bc3c35caaea2b59fb74109b860889 (diff)
downloadllvm-a460311710e05dd50482c1c5407d5fc658b39c37.zip
llvm-a460311710e05dd50482c1c5407d5fc658b39c37.tar.gz
llvm-a460311710e05dd50482c1c5407d5fc658b39c37.tar.bz2
Improvements to IdempotentOperationChecker and its use of PseudoConstantAnalysis
- Added wasReferenced function to PseudoConstantAnalysis to determine if a variable was ever referenced in a function (outside of a self-assignment) - BlockDeclRefExpr referenced variables are now explicitly added to the non-constant list - Remove unnecessary ignore of implicit casts - Generalized parameter self-assign detection to detect deliberate self-assigns of variables to avoid unused variable warnings - Updated test cases with deliberate self-assignments - Fixed bug with C++ references and pseudoconstants - Added test case for C++ references and pseudoconstants llvm-svn: 111965
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions