This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] a few helper methods for getting and comparing symbolic values
ClosedPublic

Authored by george.karpenkov on Jan 17 2018, 5:07 PM.

Diff Detail

Event Timeline

NoQ accepted this revision.Jan 17 2018, 5:38 PM
NoQ added inline comments.
include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h
43

llvm::Optional::getValue() already checks for this.
Also you can use *Val.

This revision is now accepted and ready to land.Jan 17 2018, 5:38 PM
This revision was automatically updated to reflect the committed changes.