This is an archive of the discontinued LLVM Phabricator instance.

[scan-build] fix dead store warnings emitted on clang code base
Needs ReviewPublic

Authored by apelete on May 2 2016, 1:32 PM.

Details

Reviewers
doug.gregor
Summary

This fixes dead store warnings of the type "dead assignment" reported
by CLang Static Analyzer on the following files:

  • lib/Lex/Lexer.cpp,
  • lib/Lex/ModuleMap.cpp.

Signed-off-by: Apelete Seketeli <apelete@seketeli.net>

Diff Detail

Event Timeline

apelete updated this revision to Diff 55884.May 2 2016, 1:32 PM
apelete retitled this revision from to [scan-build] fix dead store warnings emitted on clang code base.
apelete added a reviewer: doug.gregor.
apelete updated this object.
apelete added a subscriber: cfe-commits.