Change functions/pointers to const for better maintainability.
Diff Detail
Diff Detail
Paths
| Differential D13231
Change lookup functions to const functions. ClosedPublic Authored by danielcdh on Sep 28 2015, 5:09 PM.
Details
Diff Detail Event Timelinedanielcdh updated this object. This revision is now accepted and ready to land.Sep 29 2015, 10:49 AM
Revision Contents
Diff 35932 include/llvm/ProfileData/SampleProf.h
lib/Transforms/IPO/SampleProfile.cpp
|
Cleaner to use ErrorOr<unsigned> as the return value.